BaseInfoCache.json 1.71 KB
{
  "baseInfo": [
    {
      "key": "base_factory",
      "sql": "select id,factoryCode,factoryName from base_factory  with(nolock)   "
    },
    {
      "key": "base_line",
      "sql": "select WorkshopCode,LineCode,LineName,Id  from base_line  with(nolock)"
    },
    {
      "key": "base_workshop",
      "sql": "select id,workShopCode,workShopName  from  base_workshop with(nolock)"
    },
    {
      "key": "base_material_type",
      "sql": " select  * from base_material_type with(nolock)"
    },
    {
      "key": "base_material_unit",
      "sql": " select Id,Code,Name from base_material_unit with(nolock)"
    },
    {
      "key": "base_product_header",
      "sql": "select id,productCode,productName,Type,DrawingNumber,MachineType,Workshop ,WcsProductType from  base_product_header with(nolock)"
    },
    {
      "key": "base_material",
      "sql": " SELECT  * FROM base_material with(nolock)"
    },
    {
      "key": "base_station",
      "sql": " SELECT id ,lineCode,workStationCode ,workStationName FROM base_work_station with(nolock)"
    },
    {
      "key": "base_equipment",
      "sql": " SELECT id,code ,name,lineId ,lineCode,Ip FROM base_equipment with(nolock)"
    },
    {
      "key": "base_equipment_type",
      "sql": " SELECT id,code ,name FROM base_equipment_type with(nolock)"
    },
    {
      "key": "base_warehouse",
      "sql": " SELECT id,code ,name FROM base_warehouse with(nolock)"
    },
    {
      "key": "base_location",
      "sql": " SELECT  * FROM [dbo].[base_location] with(nolock)"
    },
    {
      "key": "base_process_route_head",
      "sql": "SELECT keys ,processCode ,processName ,lineCode ,otherCode,remarks FROM dbo.base_process_route_head  with(nolock) where isDelete=1"
    }
  ]
}