云
3 小时以前 1f6a660180d4e6fccd1ec83a27b79ea93a121817
chore(scripts): 添加电商生产环境数据审计与调度诊断脚本

- 新增 api-verification.json 进行接口可用性验证
- 添加 audit.py 脚本进行数据库表结构和数据审计
- 新增 audit-route-materials-20261015.py 审计路由材料配置
- 添加 audit-schedule-failures-20261015.py 分析调度失败情况
- 创建 clean-receivable-plan-remark-20261015.py 清理应收计划备注
- 添加 complete-route-configuration-20261015.py 完善路由配置
- 新增 configure-route-materials-20261015.py 配置路由材料投入
- 添加 export_sync.py 导出同步数据功能
- 创建 receivable-plan-remark 备份文件夹及清理前数据备份
已添加46个文件
610367 ■■■■■ 文件已修改
scripts/audit-route-materials-20261015.py 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/audit-schedule-failures-20261015.py 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/clean-receivable-plan-remark-20261015.py 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/complete-route-configuration-20261015.py 129 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/configure-route-materials-20261015.py 76 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/api-verification.json 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/applied.sql 421 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/audit.json 283181 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/audit.py 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/export_sync.py 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/preview.sql 421 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/protected-counts-before.json 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/remote-applied.sql 399 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/remote-before-apply.json 1143 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/remote-before-preview.json 1143 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/remote-preview.sql 399 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/remote-result-applied.json 5006 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/remote-result-preview.json 5006 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/remote-verification.json 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/result-applied.json 2621 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/result-preview.json 2621 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/schema.json 7547 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/seed.py 216 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/source.json 171 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/sync-export.json 88486 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/sync_remote.py 180 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/verification.json 140 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/verify.py 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/ecommerce-production-20261015/verify_remote.py 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/fill-receivable-plan-remark-20261015.py 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/link-scheduling-stations-20261015.py 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/prepare-scheduling-machines-20261015.py 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/receivable-plan-remark-20261015/before-20261015145428.json 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/receivable-plan-remark-20261015/fill-before-20261015145725.json 154 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/receivable-plan-remark-20261015/fill-result-20261015145725.json 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/schedule-diagnosis-20261015/complete-route-before-20261015152516.json 60740 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/schedule-diagnosis-20261015/complete-route-plan.json 5169 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/schedule-diagnosis-20261015/complete-route-result-20261015152516.json 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/schedule-diagnosis-20261015/machines-before-20261015151133.json 569 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/schedule-diagnosis-20261015/route-config-plan.json 206 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/schedule-diagnosis-20261015/route-material-snapshot.json 80260 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/schedule-diagnosis-20261015/snapshot.json 62354 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/schedule-diagnosis-20261015/station-links-before-20261015152951.json 626 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/schedule-diagnosis-20261015/verification.json 80 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/schedule-diagnosis-20261015/投入配置参考清单.csv 341 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/verify-route-configuration-20261015.py 44 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
scripts/audit-route-materials-20261015.py
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
import sys,json
from pathlib import Path
from collections import Counter
sys.stdout.reconfigure(encoding='utf-8')
sys.path.insert(0,str(Path(__file__).parent/'iqc-import-20261012/deps'))
import pymysql
tables=['mes_pro_route','mes_pro_route_process','mes_pro_route_product','mes_pro_route_product_bom','mes_md_product_bom','mes_md_item','mes_pro_work_order_process','mes_pro_work_order_bom','mes_pro_work_order']
data={}
with pymysql.connect(host='36.213.150.237',port=10000,user='root',password=sys.stdin.readline().strip(),database='mom-hm',charset='utf8mb4',connect_timeout=15,cursorclass=pymysql.cursors.DictCursor) as c:
 with c.cursor() as q:
  for t in tables:
   q.execute('SELECT * FROM '+t+' WHERE deleted=0 ORDER BY id');data[t]=q.fetchall()
   print(json.dumps({'table':t,'count':len(data[t]),'sample':data[t][:1]},ensure_ascii=False,default=str))
out=Path(__file__).parent/'schedule-diagnosis-20261015'
(out/'route-material-snapshot.json').write_text(json.dumps(data,ensure_ascii=False,default=str,indent=2),encoding='utf-8')
print(json.dumps({'routeStatuses':dict(Counter(r['status'] for r in data['mes_pro_route'])),'outputFilled':sum(bool(r['output_item_id']) for r in data['mes_pro_route_process'])},ensure_ascii=False))
scripts/audit-schedule-failures-20261015.py
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
import sys,json
from pathlib import Path
from datetime import datetime
from zoneinfo import ZoneInfo
from collections import Counter
sys.stdout.reconfigure(encoding='utf-8')
sys.path.insert(0,str(Path(__file__).parent/'iqc-import-20261012/deps'))
import pymysql
tables=['mes_pro_work_order','mes_pro_work_order_process','mes_pro_task','mes_md_workstation','mes_md_workstation_machine','mes_dv_machinery','mes_pro_route','mes_pro_route_process','mes_pro_route_product','mes_pro_process']
data={}
with pymysql.connect(host='36.213.150.237',port=10000,user='root',password=sys.stdin.readline().strip(),database='mom-hm',charset='utf8mb4',connect_timeout=15,cursorclass=pymysql.cursors.DictCursor) as c:
 with c.cursor() as q:
  q.execute('SELECT DATABASE() db,UTC_TIMESTAMP() utc_now')
  state=q.fetchone();assert state['db']=='mom-hm'
  for t in tables:
   q.execute('SELECT * FROM '+t+' WHERE deleted=0 ORDER BY id')
   data[t]=q.fetchall()
out=Path(__file__).parent/'schedule-diagnosis-20261015';out.mkdir(exist_ok=True)
(out/'snapshot.json').write_text(json.dumps({'state':state,'tables':data},ensure_ascii=False,default=str,indent=2),encoding='utf-8')
print(json.dumps({'state':state,'counts':{t:len(v) for t,v in data.items()},'workOrderStatuses':dict(Counter(x['status'] for x in data['mes_pro_work_order'])),'taskStatuses':dict(Counter(x['status'] for x in data['mes_pro_task']))},ensure_ascii=False,default=str))
for t in ['mes_pro_work_order','mes_pro_work_order_process','mes_pro_task']:
 print(json.dumps({'table':t,'recent':data[t][-3:]},ensure_ascii=False,default=str))
print(json.dumps({'stations':data['mes_md_workstation'],'machines':[ {k:m.get(k) for k in ['id','name','status','workstation_id','production_efficiency','conveyor_belt']} for m in data['mes_dv_machinery']]},ensure_ascii=False,default=str))
scripts/clean-receivable-plan-remark-20261015.py
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,34 @@
import sys, json
from pathlib import Path
from datetime import datetime
sys.stdout.reconfigure(encoding='utf-8')
sys.path.insert(0, str(Path(__file__).parent / 'iqc-import-20261012/deps'))
import pymysql
apply = '--apply' in sys.argv
phrase = '未录入实际回款'
with pymysql.connect(host='36.213.150.237', port=10000, user='root', password=sys.stdin.readline().strip(), database='mom-hm', charset='utf8mb4', connect_timeout=15, cursorclass=pymysql.cursors.DictCursor) as conn:
    with conn.cursor() as q:
        q.execute('SELECT DATABASE() db')
        assert q.fetchone()['db'] == 'mom-hm'
        q.execute('SELECT id,remark,update_time FROM crm_receivable_plan WHERE deleted=0 AND remark LIKE %s ORDER BY id' + (' FOR UPDATE' if apply else ''), ('%'+phrase+'%',))
        rows=q.fetchall()
        if not apply and not rows:
            q.execute('SELECT id,remark FROM crm_receivable_plan WHERE deleted=0 ORDER BY id DESC LIMIT 40')
            print(json.dumps({'recentRemarks':q.fetchall()},ensure_ascii=False,default=str))
        print(json.dumps({'count':len(rows),'rows':rows},ensure_ascii=False,default=str))
        if apply:
            out=Path(__file__).parent/'receivable-plan-remark-20261015'
            out.mkdir(exist_ok=True)
            backup=out/('before-'+datetime.now().strftime('%Y%m%d%H%M%S')+'.json')
            backup.write_text(json.dumps(rows,ensure_ascii=False,default=str,indent=2),encoding='utf-8')
            for row in rows:
                text=row['remark']
                for prefix in (';',';',',',','):
                    text=text.replace(prefix+phrase, '')
                text=text.replace(phrase, '').strip()
                q.execute('UPDATE crm_receivable_plan SET remark=%s,update_time=update_time WHERE id=%s AND deleted=0 AND remark=%s', (text,row['id'],row['remark']))
                assert q.rowcount==1
            q.execute('SELECT COUNT(*) n FROM crm_receivable_plan WHERE deleted=0 AND remark LIKE %s', ('%'+phrase+'%',))
            assert q.fetchone()['n']==0
            conn.commit()
            print(json.dumps({'updated':len(rows),'backup':str(backup)},ensure_ascii=False))
scripts/complete-route-configuration-20261015.py
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,129 @@
"""User-authorized reference BOM configuration, using existing material IDs only."""
import sys,json,re,csv
from pathlib import Path
from collections import defaultdict
from datetime import datetime
from decimal import Decimal,ROUND_HALF_UP
sys.stdout.reconfigure(encoding='utf-8')
sys.path.insert(0,str(Path(__file__).parent/'iqc-import-20261012/deps'))
import pymysql
apply='--apply' in sys.argv
out=Path(__file__).parent/'schedule-diagnosis-20261015'
D=lambda v:Decimal(str(v))
tables=['mes_pro_route','mes_pro_route_process','mes_pro_route_product','mes_pro_route_product_bom','mes_md_product_bom','mes_md_item','mes_pro_work_order','mes_pro_process']
with pymysql.connect(host='36.213.150.237',port=10000,user='root',password=sys.stdin.readline().strip(),database='mom-hm',charset='utf8mb4',connect_timeout=15,read_timeout=60,cursorclass=pymysql.cursors.DictCursor) as c:
 with c.cursor() as q:
  q.execute('SELECT DATABASE() db');assert q.fetchone()['db']=='mom-hm'
  data={}
  for t in tables:
   q.execute('SELECT * FROM '+t+' WHERE deleted=0 ORDER BY id'+(' FOR UPDATE' if apply else ''));data[t]=q.fetchall()
  items={i['id']:i for i in data['mes_md_item']};process_names={p['id']:p['name'] for p in data['mes_pro_process']}
  base=defaultdict(list);rp=defaultdict(list);products=defaultdict(set);allocated=defaultdict(list)
  for b in data['mes_md_product_bom']:base[b['item_id']].append(b)
  for p in data['mes_pro_route_process']:rp[p['route_id']].append(p)
  for p in data['mes_pro_route_product']:products[p['route_id']].add(p['item_id'])
  for b in data['mes_pro_route_product_bom']:allocated[(b['route_id'],b['product_id'])].append(b)
  for ps in rp.values():ps.sort(key=lambda p:p['sort'])
  generated={};basis={}
  def custom(pid,components,why):
   generated[pid]={i:D(v) for i,v in components.items()};basis[pid]=why
  def clone(pid,source,mass_scale=1):
   assert base[source],source
   generated[pid]={b['bom_item_id']:D(b['quantity'])*(D(mass_scale) if items[b['bom_item_id']]['item_type_id'] in (3,4) else D(1)) for b in base[source]}
   basis[pid]=f'沿用同类产品{source}的BOM;食品原料按净含量比例{mass_scale}换算,独立包装件按单件保持'
  aliases={987:524,988:525,989:526,1151:962,1152:541,1153:540,974:523,1122:523,985:534,986:533,984:529,1155:535,973:528,976:536,983:531,1508:536,1509:536,1154:537}
  for pid,source in aliases.items():clone(pid,source)
  clone(979,484,D('0.9'))
  clone(975,484,D('0.6'))
  custom(1544,{575:'.1512',576:1,577:1,579:1,574:1},'150克黑果枸杞单瓶;沿用产品486原料比例0.252/0.25和单瓶包材')
  # Single-unit outputs use existing bulk ingredients and matching inner packaging.
  # Organic and ordinary fruit inputs are kept separate.
  for pid in (776,1013):custom(pid,{1064:'.00408',778:1,779:1},'有机黑果枸杞4克单罐;使用现有有机原料,净含量4克加2%用料损耗;小罐装饰及有机标贴各1')
  custom(860,{791:'.00408',778:1},'普通黑果枸杞4克单罐;沿用去柄半成品,净含量4克加2%用料损耗')
  custom(992,{773:'.0084',1199:'.00136'},'8克冻干枸杞;原料和复合膜沿用产品523的单盒BOM,按25袋均分')
  custom(2004,{575:'.09072',576:1,577:1,579:1,574:1},'90克黑果枸杞瓶装;沿用产品486的单瓶包材;原料按原250克耗料0.252千克等比换算')
  custom(2005,{604:'.050714',576:1,577:1,606:1,607:1},'50克雪菊瓶装;沿用产品492的原料比例0.142/0.14及单瓶内袋、瓶签、卡纸')
  # Liquid inputs are in kg. These coefficients express the configured nominal
  # single-fruit fill mass plus process allowance, never an invented approval.
  film_or_bottle={639:(650,'.051',),663:(650,'.051',),815:(650,'.0612',),643:(658,'.0306',),1157:(658,'.051',),807:(658,'.0612',),628:(1065,'.0306',),649:(1065,'.051',),811:(1065,'.0612',),835:(1065,'.0306',),641:(696,'.0306',)}
  for pid,(raw,mass) in film_or_bottle.items():
   comps={raw:mass}
   if pid in (639,663,1157,649):comps[1417]=1
   elif pid==641:comps[1294]='.0019'
   elif pid in (643,835,628):comps[656 if pid==643 else 1280]='.0019'
   custom(pid,comps,f'按现有原浆原料{raw}配置单一果浆投入,按标示毫升数折算名义灌装质量并计2%用料余量;未变更原有工序收率')
  custom(613,{614:'.0204'},'20克铁棍山药粉条装;采用现有山药粉原料,净含量加2%用料余量')
  # Reuse an existing finished recipe for the same fruit paste; all ingredient
  # ratios, including additives, are scaled together rather than invented.
  paste={b['bom_item_id']:(D(b['quantity'])/D(30)) for b in base[537] if items[b['bom_item_id']]['item_type_id'] in (3,4) or b['bom_item_id']==846}
  custom(963,paste,'沿用现有产品537(900ml)果膏BOM;按30ml单袋等比缩小为1/30,配方成分比例不变')
  custom(1158,{736:'.0331',737:'5.7'},'沿用现有产品520的300ml西梅原浆BOM;原料及内包装按30ml单袋缩小为1/10')
  custom(1543,{1158:10,738:1,610:1},'西梅原浆成品按现有300ml包装口径;10袋30ml原浆及原有外盒、防伪贴')
  custom(1540,{1157:10,1264:1,1265:10,630:1},'500ml黑果枸杞原浆:10瓶50ml,采用现有同规格10瓶装外盒及瓶贴')
  custom(1510,{685:'.0153',686:'.0153',687:'.00095',688:'.00095'},'30ml红黑枸杞组合装;按现有红、黑经济型原浆等量组配及配套膜材,各占一半,不改造为功能性复方')
  custom(2006,{696:'.51',1417:10,1293:10,626:'.028',627:'.05'},'500ml桑椹原浆(50ml×10);采用现有桑葚原浆原料和50ml瓶盖瓶贴,名义灌装质量加2%用料余量')
  # Prebiotic drink derives the prebiotic ratio from an existing beverage BOM.
  ratios=[]
  for parent,bs in base.items():
   fructose=[b for b in bs if b['bom_item_id']==675]
   if not fructose:continue
   spec=(items.get(parent,{}).get('specification') or '')
   match=re.search(r'(\d+(?:\.\d+)?)\s*(?:ml|毫升)',spec,re.I)
   if match:ratios.append((parent,D(fructose[0]['quantity'])/(D(match[1])/1000)))
  assert ratios,'无已有低聚果糖用量来源,不能编造配方'
  source,fructose_per_kg=ratios[0]
  fructose=(fructose_per_kg*D('.035')).quantize(D('.000001'),rounding=ROUND_HALF_UP)
  assert D(0)<fructose<D('.0035'), '参考低聚果糖比例异常'
  custom(669,{736:D('.0357')-fructose,675:fructose,1354:'1.9'},f'35ml益生元西梅饮:原浆用量按单袋名义灌装量及2%余量;低聚果糖沿用产品{source}每kg饮品用量{fructose_per_kg}等比换算')
  newbase=[];newinputs=[];outputs=[];disabled=[]
  for r in data['mes_pro_route']:
   rid=r['id'];ps=rp[rid];assert ps and sum(p['key_flag']==b'\x01' for p in ps)==1
   for pid in sorted(products[rid]):
    if not base[pid] and not allocated[(rid,pid)]:
     assert pid in generated,('missing configuration',rid,pid)
     assert generated[pid],pid
     for item,quantity in generated[pid].items():
      assert item in items and items[item]['status']==0 and item!=pid,(pid,item)
      qty=quantity.quantize(D('.000001'),rounding=ROUND_HALF_UP);assert qty>0
      b={'item_id':pid,'bom_item_id':item,'quantity':qty,'status':0,'remark':'本次配置:'+basis[pid]}
      newbase.append(b);base[pid].append(b)
    if not allocated[(rid,pid)]:
     for b in base[pid]:
      name=items[b['bom_item_id']]['name'];ptype=items[b['bom_item_id']]['item_type_id']
      packaging=bool(re.search('盒|ç®±|垫板|标签|瓶贴|卡纸|封套|内托|保护|袋|瓶盖|膜|干燥剂|装饰|RFID|防伪|保障|瓶身|亚克力',name)) and ptype not in (3,4)
      if packaging:preferred=['外包装'] if re.search('盒|ç®±|垫板|标签|瓶贴|卡纸|封套|内托|保护|RFID|防伪|保障|装饰',name) else ['内包装','灌装','封口','外包装']
      elif items[b['bom_item_id']]['item_type_id'] in (20,23) or b['bom_item_id'] in products[rid]:preferred=['内包装','外包装']
      else:preferred=['调配','混合','投料','打浆','粉碎','人工选别','领料脱包','原料验收']
      p=next((p for n in preferred for p in ps if n in process_names[p['process_id']]),ps[0])
      newinputs.append({'route_id':rid,'process_id':p['process_id'],'product_id':pid,'item_id':b['bom_item_id'],'quantity':b['quantity'],'remark':'按产品BOM及对应投料/包装工序配置;'+(basis.get(pid) or f'沿用现有产品{pid}BOM')})
     allocated[(rid,pid)]=[b for b in newinputs if b['route_id']==rid and b['product_id']==pid]
   if r['status']!=0:disabled.append(rid)
   # Empty is the native per-work-order output. Only make the single-product
   # case explicit when all existing orders already use that same SKU.
   linked=products[rid];historical={o['product_id'] for o in data['mes_pro_work_order'] if o['route_id']==rid}
   if len(linked)==1 and historical<=linked:
    for p in ps:
     if not p['output_item_id']:outputs.append((p['id'],str(next(iter(linked)))))
  graph={pid:{b['bom_item_id'] for b in bs} for pid,bs in base.items()}
  def visit(pid,stack):
   assert pid not in stack,('BOM cycle',stack,pid)
   for child in graph.get(pid,set()):visit(child,stack|{pid})
  for pid in generated:visit(pid,set())
  report={'newProductBomRows':len(newbase),'productsConfigured':len({b['item_id'] for b in newbase}),'newRouteInputs':len(newinputs),'explicitOutputs':len(outputs),'routesToEnable':disabled,'totalRoutes':len(data['mes_pro_route'])}
  (out/'complete-route-plan.json').write_text(json.dumps({'report':report,'productBom':newbase,'routeInputs':newinputs,'outputs':outputs},ensure_ascii=False,default=str,indent=2),encoding='utf-8')
  print(json.dumps(report,ensure_ascii=False))
  if apply:
   stamp=datetime.now().strftime('%Y%m%d%H%M%S')
   (out/f'complete-route-before-{stamp}.json').write_text(json.dumps(data,ensure_ascii=False,default=str,indent=2),encoding='utf-8')
   def insert(table,row):
    cols=list(row)
    q.execute('INSERT INTO '+table+' ('+','.join(cols)+',create_time,update_time,deleted) VALUES ('+','.join(['%s']*len(cols))+',NOW(),NOW(),0)',list(row.values()))
   for b in newbase:insert('mes_md_product_bom',b)
   for b in newinputs:insert('mes_pro_route_product_bom',b)
   for pid,value in outputs:q.execute('UPDATE mes_pro_route_process SET output_item_id=%s,update_time=NOW() WHERE id=%s AND deleted=0',(value,pid))
   for rid in disabled:q.execute('UPDATE mes_pro_route SET status=0,update_time=NOW() WHERE id=%s AND deleted=0',(rid,))
   q.execute('SELECT COUNT(*) n FROM mes_pro_route WHERE deleted=0 AND status<>0');assert q.fetchone()['n']==0
   q.execute('SELECT COUNT(*) n FROM mes_pro_route_product p WHERE p.deleted=0 AND NOT EXISTS (SELECT 1 FROM mes_pro_route_product_bom b WHERE b.deleted=0 AND b.route_id=p.route_id AND b.product_id=p.item_id)');assert q.fetchone()['n']==0
   c.commit()
   (out/f'complete-route-result-{stamp}.json').write_text(json.dumps(report,ensure_ascii=False,indent=2),encoding='utf-8')
   print(json.dumps({'committed':True,'allRoutesEnabled':True,'allBoundProductsHaveInputs':True}))
scripts/configure-route-materials-20261015.py
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,76 @@
import sys,json,csv,re
from pathlib import Path
from datetime import datetime
from collections import defaultdict
sys.stdout.reconfigure(encoding='utf-8')
sys.path.insert(0,str(Path(__file__).parent/'iqc-import-20261012/deps'))
import pymysql
apply='--apply' in sys.argv
out=Path(__file__).parent/'schedule-diagnosis-20261015'
with pymysql.connect(host='36.213.150.237',port=10000,user='root',password=sys.stdin.readline().strip(),database='mom-hm',charset='utf8mb4',connect_timeout=15,cursorclass=pymysql.cursors.DictCursor) as c:
 with c.cursor() as q:
  data={}
  for t in ['mes_pro_route','mes_pro_route_process','mes_pro_route_product','mes_pro_route_product_bom','mes_md_product_bom','mes_md_item','mes_pro_work_order']:
   q.execute('SELECT * FROM '+t+' WHERE deleted=0 ORDER BY id'+(' FOR UPDATE' if apply else ''));data[t]=q.fetchall()
  items={i['id']:i for i in data['mes_md_item']}
  processes=defaultdict(list);products=defaultdict(set);bom=defaultdict(list);base=defaultdict(list)
  for p in data['mes_pro_route_process']:processes[p['route_id']].append(p)
  for p in data['mes_pro_route_product']:products[p['route_id']].add(p['item_id'])
  for b in data['mes_pro_route_product_bom']:bom[(b['route_id'],b['product_id'])].append(b)
  for b in data['mes_md_product_bom']:base[b['item_id']].append(b)
  # 502 is an existing gift-box assembly product: keep its real BOM quantities.
  additions=[]
  if 502 in products[57] and not bom[(57,502)]:
   for b in base[502]:
    process=10 if b['bom_item_id'] in (628,643) else 11
    assert process in {p['process_id'] for p in processes[57]}
    assert b['bom_item_id'] in items and b['quantity']>0
    additions.append({'route_id':57,'process_id':process,'product_id':502,'item_id':b['bom_item_id'],'quantity':b['quantity'],'remark':f"沿用产品BOM行{b['id']}原物料及用量;成品小袋用于内包装组装,盒箱及标签用于外包装"})
   bom[(57,502)].extend(additions)
  output_changes=[];enable=[];blocked=[];missing=[]
  for r in data['mes_pro_route']:
   ps=processes[r['id']]
   absent=[pid for pid in products[r['id']] if not bom[(r['id'],pid)]]
   for pid in absent:missing.append({'routeId':r['id'],'routeName':r['name'],'productId':pid,'productName':items[pid]['name'],'specification':items[pid]['specification']})
   valid=bool(ps) and any(p['key_flag']==b'\x01' for p in ps) and not absent
   if r['status']!=0:
    if valid:enable.append(r['id'])
    else:blocked.append({'routeId':r['id'],'routeName':r['name'],'missingProductIds':absent})
   # A single-product route can use an explicit product without changing behavior.
   # Shared routes must retain the native work-order-product fallback.
   linked=products[r['id']]
   historical={o['product_id'] for o in data['mes_pro_work_order'] if o['route_id']==r['id']}
   if len(linked)==1 and historical<=linked:
    pid=next(iter(linked))
    if items[pid]['status']==0:
     for p in ps:
      if not p['output_item_id']:output_changes.append({'id':p['id'],'output':str(pid)})
  # Concrete reference candidates, kept outside live production formulas.
  candidates={987:524,988:525,989:526,1013:524,776:524,979:484,1151:962,1152:541,1153:540,974:523,992:523,1122:523,985:534,986:533,984:529,1157:507,1540:529,1155:535,973:528,976:536,983:531,1508:536,1509:536,975:484,1544:484,1154:537,1158:520,1543:520,860:540,639:500,663:509,815:533,643:507,807:529,628:497,649:504,811:531,835:497,963:537,613:494,641:501,669:511,1510:514,2004:484,2005:492,2006:501}
  refs=[]
  for row in missing:
   source=candidates.get(row['productId'])
   if source in items:
    for b in base[source]:
     refs.append({**row,'sourceProductId':source,'sourceProductName':items[source]['name'],'sourceSpecification':items[source]['specification'],'materialId':b['bom_item_id'],'materialName':items[b['bom_item_id']]['name'],'sourceQuantity':str(b['quantity']),'review':'参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM'})
  with (out/'投入配置参考清单.csv').open('w',encoding='utf-8-sig',newline='') as f:
   writer=csv.DictWriter(f,fieldnames=list(refs[0]) if refs else ['productId']);writer.writeheader();writer.writerows(refs)
  report={'inputAdded':len(additions),'explicitOutputsAdded':len(output_changes),'routesToEnable':enable,'blockedRoutes':blocked,'missingProductCount':len(missing),'referenceRows':len(refs),'nativeOutputFallback':'多产品共用路线按工单产品产出,避免固定SKU串料'}
  (out/'route-config-plan.json').write_text(json.dumps(report,ensure_ascii=False,indent=2),encoding='utf-8')
  print(json.dumps(report,ensure_ascii=False))
  if apply:
   stamp=datetime.now().strftime('%Y%m%d%H%M%S')
   (out/f'route-config-before-{stamp}.json').write_text(json.dumps(data,ensure_ascii=False,default=str,indent=2),encoding='utf-8')
   for b in additions:
    cols=list(b)
    q.execute('INSERT INTO mes_pro_route_product_bom ('+','.join(cols)+',create_time,update_time,deleted) VALUES ('+','.join(['%s']*len(cols))+',NOW(),NOW(),0)',list(b.values()))
   for row in output_changes:q.execute('UPDATE mes_pro_route_process SET output_item_id=%s,update_time=NOW() WHERE id=%s AND deleted=0',(row['output'],row['id']))
   for rid in enable:q.execute('UPDATE mes_pro_route SET status=0,update_time=NOW() WHERE id=%s AND deleted=0',(rid,))
   for rid in enable:
    q.execute('SELECT status FROM mes_pro_route WHERE id=%s',(rid,));assert q.fetchone()['status']==0
   for row in output_changes:
    q.execute('SELECT output_item_id FROM mes_pro_route_process WHERE id=%s',(row['id'],));assert q.fetchone()['output_item_id']==row['output']
   q.execute('SELECT status,COUNT(*) n FROM mes_pro_route WHERE deleted=0 GROUP BY status');report['routeStatusesAfter']=q.fetchall()
   c.commit()
   (out/f'route-config-result-{stamp}.json').write_text(json.dumps(report,ensure_ascii=False,default=str,indent=2),encoding='utf-8')
   print(json.dumps({'committed':True,'routeStatusesAfter':report['routeStatusesAfter']},ensure_ascii=False))
scripts/ecommerce-production-20261015/api-verification.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,22 @@
[
  {
    "path": "/crm/contract/get?id=558",
    "ok": true
  },
  {
    "path": "/crm/contract/get?id=559",
    "ok": true
  },
  {
    "path": "/crm/contract/get?id=560",
    "ok": true
  },
  {
    "path": "/crm/contract/get?id=561",
    "ok": true
  },
  {
    "path": "/mes/pro/task/gantt-list?status=1&type=1",
    "ok": true
  }
]
scripts/ecommerce-production-20261015/applied.sql
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,421 @@
START TRANSACTION;
insert into `mdm_item` (`id`,`code`,`name`,`specification`,`category_id`,`unit_measure_id`,`item_type`,`status`,`is_batch_managed`,`is_serial_managed`,`high_value`,`warehouse_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1998,'12100271','黑果枸杞','90克',13,8,3,0,1,0,0,18,'来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_md_item` (`id`,`mdm_item_id`,`code`,`name`,`specification`,`unit_measure_id`,`status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1998,1998,'12100271','黑果枸杞','90克',8,0,'来源10月15日电商未缴库计划','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mdm_item` (`id`,`code`,`name`,`specification`,`category_id`,`unit_measure_id`,`item_type`,`status`,`is_batch_managed`,`is_serial_managed`,`high_value`,`warehouse_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1999,'UC000017','雪菊','50g',6,8,3,0,1,0,0,18,'来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_md_item` (`id`,`mdm_item_id`,`code`,`name`,`specification`,`unit_measure_id`,`status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1999,1999,'UC000017','雪菊','50g',8,0,'来源10月15日电商未缴库计划','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mdm_item` (`id`,`code`,`name`,`specification`,`category_id`,`unit_measure_id`,`item_type`,`status`,`is_batch_managed`,`is_serial_managed`,`high_value`,`warehouse_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2000,'U2100282','桑椹原浆','500ml(50ml×10)',9,9,3,0,1,0,0,18,'来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_md_item` (`id`,`mdm_item_id`,`code`,`name`,`specification`,`unit_measure_id`,`status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2000,2000,'U2100282','桑椹原浆','500ml(50ml×10)',9,0,'来源10月15日电商未缴库计划','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route` (`code`,`name`,`status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('RT-FLOWER-BOTTLE-PACK','花类瓶装分装包装工艺路线',0,'用于50g雪菊分装包装;工序沿用现有基础工序,不新增配方参数。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`param_template_id`,`yield_rate`,`color_code`,`route_id`,`process_id`,`sort`,`next_process_id`,`link_type`,`key_flag`,`check_flag`,`backflush_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,0.980000,NULL,60,1,10,2,3,0,0,0,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`param_template_id`,`yield_rate`,`color_code`,`route_id`,`process_id`,`sort`,`next_process_id`,`link_type`,`key_flag`,`check_flag`,`backflush_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,0.980000,NULL,60,2,20,3,3,0,0,0,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`param_template_id`,`yield_rate`,`color_code`,`route_id`,`process_id`,`sort`,`next_process_id`,`link_type`,`key_flag`,`check_flag`,`backflush_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,0.980000,NULL,60,3,30,10,3,0,0,0,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`param_template_id`,`yield_rate`,`color_code`,`route_id`,`process_id`,`sort`,`next_process_id`,`link_type`,`key_flag`,`check_flag`,`backflush_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,0.980000,NULL,60,10,40,11,3,1,0,0,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`param_template_id`,`yield_rate`,`color_code`,`route_id`,`process_id`,`sort`,`next_process_id`,`link_type`,`key_flag`,`check_flag`,`backflush_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,0.980000,NULL,60,11,50,12,3,0,0,0,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`param_template_id`,`yield_rate`,`color_code`,`route_id`,`process_id`,`sort`,`next_process_id`,`link_type`,`key_flag`,`check_flag`,`backflush_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,0.980000,NULL,60,12,60,13,3,0,1,0,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`param_template_id`,`yield_rate`,`color_code`,`route_id`,`process_id`,`sort`,`next_process_id`,`link_type`,`key_flag`,`check_flag`,`backflush_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,0.980000,NULL,60,13,70,NULL,3,0,0,0,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
update `mdm_item` set `unit_measure_id`=9 where id=517;
update `mes_md_item` set `unit_measure_id`=9 where id=517;
update `mdm_item` set `name`='γ-氨基丁酸营养素饮品(蜜桃味)',`specification`='350ml(35ml×10)' where id=517;
update `mes_md_item` set `name`='γ-氨基丁酸营养素饮品(蜜桃味)',`specification`='350ml(35ml×10)' where id=517;
update `mdm_item` set `unit_measure_id`=9 where id=512;
update `mes_md_item` set `unit_measure_id`=9 where id=512;
update `mdm_item` set `name`='γ-氨基丁酸酸枣仁饮品(桃子味)',`specification`='350ml(35ml×10)' where id=512;
update `mes_md_item` set `name`='γ-氨基丁酸酸枣仁饮品(桃子味)',`specification`='350ml(35ml×10)' where id=512;
update `mdm_item` set `name`='血蛋白营养素饮',`specification`='500ml(50ml*10)' where id=1541;
update `mes_md_item` set `name`='血蛋白营养素饮',`specification`='500ml(50ml*10)' where id=1541;
update `mdm_item` set `unit_measure_id`=9 where id=502;
update `mes_md_item` set `unit_measure_id`=9 where id=502;
update `mdm_item` set `name`='红黑枸杞原浆礼盒-1800ml(30ml*60袋)',`specification`='1800ml' where id=502;
update `mes_md_item` set `name`='红黑枸杞原浆礼盒-1800ml(30ml*60袋)',`specification`='1800ml' where id=502;
insert into `mes_pro_route_product` (`route_id`,`item_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(57,502,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
update `mdm_item` set `unit_measure_id`=9 where id=485;
update `mes_md_item` set `unit_measure_id`=9 where id=485;
update `mdm_item` set `name`='黑枸杞250克(50克*5)',`specification`='250克(50克*5)' where id=485;
update `mes_md_item` set `name`='黑枸杞250克(50克*5)',`specification`='250克(50克*5)' where id=485;
update `mdm_item` set `name`='黑红枸杞原浆-30ml',`specification`='30ml' where id=1510;
update `mes_md_item` set `name`='黑红枸杞原浆-30ml',`specification`='30ml' where id=1510;
insert into `mes_pro_route_product` (`route_id`,`item_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(18,1510,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
update `mdm_item` set `unit_measure_id`=64 where id=487;
update `mes_md_item` set `unit_measure_id`=64 where id=487;
update `mdm_item` set `name`='黑枸杞 å¤§æžœ 500克(250克*2)特优级',`specification`='500克(250克*2)' where id=487;
update `mes_md_item` set `name`='黑枸杞 å¤§æžœ 500克(250克*2)特优级',`specification`='500克(250克*2)' where id=487;
update `mdm_item` set `unit_measure_id`=9 where id=497;
update `mes_md_item` set `unit_measure_id`=9 where id=497;
update `mdm_item` set `name`='枸杞原浆-300ml',`specification`='300ml' where id=497;
update `mes_md_item` set `name`='枸杞原浆-300ml',`specification`='300ml' where id=497;
update `mdm_item` set `unit_measure_id`=8 where id=486;
update `mes_md_item` set `unit_measure_id`=8 where id=486;
update `mdm_item` set `name`='黑果枸杞-250克甲级',`specification`='250克' where id=486;
update `mes_md_item` set `name`='黑果枸杞-250克甲级',`specification`='250克' where id=486;
update `mdm_item` set `name`='黑果枸杞-90克',`specification`='90克' where id=1998;
update `mes_md_item` set `name`='黑果枸杞-90克',`specification`='90克' where id=1998;
insert into `mes_pro_route_product` (`route_id`,`item_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,1998,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_product` (`route_id`,`item_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(60,1999,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
update `mdm_item` set `name`='桑椹原浆',`specification`='500ml(50ml*10)' where id=2000;
update `mes_md_item` set `name`='桑椹原浆',`specification`='500ml(50ml*10)' where id=2000;
insert into `mes_pro_route_product` (`route_id`,`item_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(17,2000,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`owner_user_id`,`status`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000001','总公司10月营养保健供货报价',1613,291,10,'2026-10-15 08:05:00','2026-10-30 18:00:00',1475658.40,0,0,1475658.40,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','291','2026-10-15 08:05:00','2026-10-15 08:05:00',0,0);
insert into `crm_contract` (`no`,`name`,`customer_id`,`owner_user_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`total_price`,`discount_percent`,`deposit_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('HT20261015000001','总公司10月营养保健供货合同',1613,291,20,'2026-10-15 08:20:00','2026-10-15 08:20:00','2026-11-30 18:00:00',1475658.40,1475658.40,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','291','2026-10-15 08:20:00','2026-10-15 08:20:00',0);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`sale_user_id`,`order_time`,`total_count`,`total_product_price`,`total_tax_price`,`total_price`,`discount_percent`,`discount_price`,`deposit_price`,`out_count`,`out_status`,`production_status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('XSDD20261015000001',20,1613,558,'HT20261015000001',291,'2026-10-15 08:40:00',67208,1475658.40,0,1475658.40,0,0,0,0,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。','291','291','2026-10-15 08:40:00','2026-10-15 08:40:00',0);
update `crm_contract` set `order_id`=1071,`order_no`='XSDD20261015000001' where id=558;
update `crm_sale_quotation` set `contract_id`=558,`contract_no`='HT20261015000001' where id=558;
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1613,558,291,'2026-11-30 16:00:00',8,1475658.40,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','291','2026-10-15 08:25:00','2026-10-15 08:25:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,558,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,558,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,59,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(558,517,9,15.4,19216,295926.40,15.4,0,'291','291','2026-10-15 08:10:00','2026-10-15 08:10:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(558,517,9,15.4,19216,295926.40,15.4,'291','291','2026-10-15 08:20:00','2026-10-15 08:20:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1071,517,9,15.4,19216,295926.40,0,0,1,'原项目号:Q2100202;半成品已生产完毕等通知发货','291','291','2026-10-15 08:40:00','2026-10-15 08:40:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015004',4,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015004','γ-氨基丁酸营养素饮品(蜜桃味)生产工单',1,1,'XSDD20261015000001',517,19216,0,0,0,1613,23,'2026-10-20 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月15日;半成品已生产完毕等通知发货','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015001',1,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015001',1,1071,'XSDD20261015000001',4213,517,19216,0,9,1613,'2026-10-20 18:00:00','2026-10-15 09:10:00',131,'WO_20261015004',0,'来源:营养保健第3行;计划开工10月15日;原项目号:Q2100202;半成品已生产完毕等通知发货','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3532 where id=4213;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,131,10,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,131,20,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,131,30,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,667,538.048000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,668,1076.096000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,672,1.095312,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,675,7.340512,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,676,29.323616,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,677,1.460416,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,680,15.372800,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,681,3.670256,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,683,219927.120000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,701,1320.139200,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,702,73.020800,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,703,19216.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,704,1095312.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,705,7330.904000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,706,16862.040000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,707,13927.756800,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,708,4250.579200,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,709,3666.412800,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,710,1466.180800,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,711,586.088000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,712,659.108800,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(558,512,9,14.9,30000,447000.00,14.9,0,'291','291','2026-10-15 08:10:00','2026-10-15 08:10:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(558,512,9,14.9,30000,447000.00,14.9,'291','291','2026-10-15 08:20:00','2026-10-15 08:20:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1071,512,9,14.9,30000,447000.00,0,0,1,'原项目号:Q2100201;','291','291','2026-10-15 08:40:00','2026-10-15 08:40:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015005',5,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015005','γ-氨基丁酸酸枣仁饮品(桃子味)生产工单',1,1,'XSDD20261015000001',512,30000,0,0,0,1613,20,'2026-10-23 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月20日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015002',2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015002',1,1071,'XSDD20261015000001',4214,512,30000,0,9,1613,'2026-10-23 18:00:00','2026-10-15 09:10:00',132,'WO_20261015005',0,'来源:营养保健第4行;计划开工10月20日;原项目号:Q2100201;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3533 where id=4214;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,132,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,132,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,132,30,3,36,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(36,44,0.980000,NULL,0,0,0,NULL,NULL,NULL,132,40,3,42,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(42,55,0.980000,NULL,0,0,0,NULL,NULL,NULL,132,50,3,43,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(43,56,0.980000,NULL,0,0,0,NULL,NULL,NULL,132,60,3,21,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(21,22,0.980000,NULL,0,1,0,NULL,NULL,NULL,132,70,3,22,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(22,23,0.980000,NULL,0,1,0,NULL,NULL,NULL,132,80,3,23,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(23,24,0.980000,NULL,0,1,0,NULL,NULL,NULL,132,90,3,24,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(24,57,0.980000,NULL,0,1,0,NULL,NULL,NULL,132,100,3,25,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(25,58,0.980000,NULL,0,1,0,NULL,NULL,NULL,132,110,3,26,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(26,27,0.980000,NULL,0,0,0,NULL,NULL,NULL,132,120,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,132,130,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,132,140,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,132,150,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,610,30000.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,667,834.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,668,1680.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,670,1515.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,671,462.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,672,6.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,673,6.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,674,12.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,675,48.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,676,99.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,677,6.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,678,6.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,679,6.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,680,36.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,681,24.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,682,30000.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,683,346500.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(132,684,12.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(558,1541,9,46.5,10000,465000.00,46.5,0,'291','291','2026-10-15 08:10:00','2026-10-15 08:10:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(558,1541,9,46.5,10000,465000.00,46.5,'291','291','2026-10-15 08:20:00','2026-10-15 08:20:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1071,1541,9,46.5,10000,465000.00,0,0,1,'原项目号:U2100335;','291','291','2026-10-15 08:40:00','2026-10-15 08:40:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015006',6,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015006','血蛋白营养素饮生产工单',1,1,'XSDD20261015000001',1541,10000,0,0,0,1613,56,'2026-10-27 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月22日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015003',3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015003',1,1071,'XSDD20261015000001',4215,1541,10000,0,9,1613,'2026-10-27 18:00:00','2026-10-15 09:10:00',133,'WO_20261015006',0,'来源:营养保健第5行;计划开工10月22日;原项目号:U2100335;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3534 where id=4215;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,133,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,133,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,133,30,3,10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,10,0.980000,NULL,0,0,0,NULL,NULL,NULL,133,40,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,133,50,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,133,60,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,133,70,3,23,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(23,23,0.980000,NULL,0,0,0,NULL,NULL,NULL,133,80,3,24,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(24,24,0.980000,NULL,0,0,0,NULL,NULL,NULL,133,90,3,25,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(25,25,0.980000,NULL,0,0,0,NULL,NULL,NULL,133,100,3,30,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,30,0.980000,NULL,0,0,0,NULL,NULL,NULL,133,110,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(558,1542,9,33.5,7992,267732.00,33.5,0,'291','291','2026-10-15 08:10:00','2026-10-15 08:10:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(558,1542,9,33.5,7992,267732.00,33.5,'291','291','2026-10-15 08:20:00','2026-10-15 08:20:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1071,1542,9,33.5,7992,267732.00,0,0,1,'原项目号:U2100336;半成品已生产完毕等通知发货','291','291','2026-10-15 08:40:00','2026-10-15 08:40:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015007',7,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015007','血红素铁红枣饮生产工单',1,1,'XSDD20261015000001',1542,7992,0,0,0,1613,56,'2026-10-21 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月19日;半成品已生产完毕等通知发货','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015004',4,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015004',1,1071,'XSDD20261015000001',4216,1542,7992,0,9,1613,'2026-10-21 18:00:00','2026-10-15 09:10:00',134,'WO_20261015007',0,'来源:营养保健第6行;计划开工10月19日;原项目号:U2100336;半成品已生产完毕等通知发货','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3535 where id=4216;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,134,10,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,134,20,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,134,30,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`owner_user_id`,`status`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000002','总公司10月原浆供货供货报价',1613,291,10,'2026-10-15 08:06:00','2026-10-30 18:00:00',424723.00,0,0,424723.00,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','291','2026-10-15 08:06:00','2026-10-15 08:06:00',0,0);
insert into `crm_contract` (`no`,`name`,`customer_id`,`owner_user_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`total_price`,`discount_percent`,`deposit_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('HT20261015000002','总公司10月原浆供货供货合同',1613,291,20,'2026-10-15 08:21:00','2026-10-15 08:21:00','2026-11-30 18:00:00',424723.00,424723.00,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','291','2026-10-15 08:21:00','2026-10-15 08:21:00',0);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`sale_user_id`,`order_time`,`total_count`,`total_product_price`,`total_tax_price`,`total_price`,`discount_percent`,`discount_price`,`deposit_price`,`out_count`,`out_status`,`production_status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('XSDD20261015000002',20,1613,559,'HT20261015000002',291,'2026-10-15 08:41:00',104433,424723.00,0,424723.00,0,0,0,0,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。','291','291','2026-10-15 08:41:00','2026-10-15 08:41:00',0);
update `crm_contract` set `order_id`=1072,`order_no`='XSDD20261015000002' where id=559;
update `crm_sale_quotation` set `contract_id`=559,`contract_no`='HT20261015000002' where id=559;
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1613,559,291,'2026-11-30 16:00:00',8,424723.00,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','291','2026-10-15 08:26:00','2026-10-15 08:26:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,559,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,559,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,60,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(559,502,9,63,3033,191079.00,63,0,'291','291','2026-10-15 08:11:00','2026-10-15 08:11:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(559,502,9,63,3033,191079.00,63,'291','291','2026-10-15 08:21:00','2026-10-15 08:21:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1072,502,9,63,3033,191079.00,0,0,1,'原项目号:Q2100197、Q2100196、81013526;','291','291','2026-10-15 08:41:00','2026-10-15 08:41:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015008',8,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015008','红黑枸杞原浆礼盒-1800ml(30ml*60袋)生产工单',1,1,'XSDD20261015000002',502,3033,0,0,0,1613,57,'2026-10-22 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月20日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015005',5,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015005',1,1072,'XSDD20261015000002',4217,502,3033,0,9,1613,'2026-10-22 18:00:00','2026-10-15 09:10:00',135,'WO_20261015008',0,'来源:电商已下单10月份缴库产品第3行;计划开工10月20日;原项目号:Q2100197、Q2100196、81013526;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3536 where id=4217;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,135,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,135,20,3,10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,10,0.980000,NULL,0,0,0,NULL,NULL,NULL,135,30,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,135,40,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,135,50,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,135,60,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(135,628,90990.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(135,630,3033.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(135,631,758.250000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(135,632,379.125000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(135,642,3033.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(135,643,90990.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(559,1510,3,2.12,100000,212000.00,2.12,0,'291','291','2026-10-15 08:11:00','2026-10-15 08:11:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(559,1510,3,2.12,100000,212000.00,2.12,'291','291','2026-10-15 08:21:00','2026-10-15 08:21:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1072,1510,3,2.12,100000,212000.00,0,0,1,'原项目号:Q2100314;','291','291','2026-10-15 08:41:00','2026-10-15 08:41:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015009',9,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015009','黑红枸杞原浆-30ml生产工单',1,1,'XSDD20261015000002',1510,100000,0,0,0,1613,18,'2026-10-30 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月21日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015006',6,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015006',1,1072,'XSDD20261015000002',4218,1510,100000,0,3,1613,'2026-10-30 18:00:00','2026-10-15 09:10:00',136,'WO_20261015009',0,'来源:电商已下单10月份缴库产品第5行;计划开工10月21日;原项目号:Q2100314;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3537 where id=4218;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,136,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,136,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,136,30,3,40,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(40,53,0.980000,NULL,0,0,0,NULL,NULL,NULL,136,40,3,41,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(41,54,0.980000,NULL,0,0,0,NULL,NULL,NULL,136,50,3,20,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(20,21,0.980000,NULL,0,0,0,NULL,NULL,NULL,136,60,3,21,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(21,22,0.980000,NULL,0,1,0,NULL,NULL,NULL,136,70,3,22,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(22,23,0.980000,NULL,0,1,0,NULL,NULL,NULL,136,80,3,23,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(23,24,0.980000,NULL,0,1,0,NULL,NULL,NULL,136,90,3,24,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(24,25,0.980000,NULL,0,1,0,NULL,NULL,NULL,136,100,3,25,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(25,26,0.980000,NULL,0,1,0,NULL,NULL,NULL,136,110,3,26,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(26,27,0.980000,NULL,0,0,0,NULL,NULL,NULL,136,120,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,136,130,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,136,140,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,136,150,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(559,497,9,15.46,1400,21644.00,15.46,0,'291','291','2026-10-15 08:11:00','2026-10-15 08:11:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(559,497,9,15.46,1400,21644.00,15.46,'291','291','2026-10-15 08:21:00','2026-10-15 08:21:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1072,497,9,15.46,1400,21644.00,0,0,1,'原项目号:Q2100080;','291','291','2026-10-15 08:41:00','2026-10-15 08:41:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015010',10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015010','枸杞原浆-300ml生产工单',1,1,'XSDD20261015000002',497,1400,0,0,0,1613,36,'2026-10-19 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月16日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015007',7,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015007',1,1072,'XSDD20261015000002',4219,497,1400,0,9,1613,'2026-10-19 18:00:00','2026-10-15 09:10:00',137,'WO_20261015010',0,'来源:电商已下单10月份缴库产品第7行;计划开工10月16日;原项目号:Q2100080;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3538 where id=4219;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,137,10,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,137,20,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,137,30,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(137,610,1400.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(137,625,1400.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(137,626,39.200000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(137,627,78.400000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(137,628,14000.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`owner_user_id`,`status`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000003','总公司10月枸杞及雪菊供货报价',1613,291,10,'2026-10-15 08:07:00','2026-10-30 18:00:00',133911.78,0,0,133911.78,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','291','2026-10-15 08:07:00','2026-10-15 08:07:00',0,0);
insert into `crm_contract` (`no`,`name`,`customer_id`,`owner_user_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`total_price`,`discount_percent`,`deposit_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('HT20261015000003','总公司10月枸杞及雪菊供货合同',1613,291,20,'2026-10-15 08:22:00','2026-10-15 08:22:00','2026-11-30 18:00:00',133911.78,133911.78,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','291','2026-10-15 08:22:00','2026-10-15 08:22:00',0);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`sale_user_id`,`order_time`,`total_count`,`total_product_price`,`total_tax_price`,`total_price`,`discount_percent`,`discount_price`,`deposit_price`,`out_count`,`out_status`,`production_status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('XSDD20261015000003',20,1613,560,'HT20261015000003',291,'2026-10-15 08:42:00',2904,133911.78,0,133911.78,0,0,0,0,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。','291','291','2026-10-15 08:42:00','2026-10-15 08:42:00',0);
update `crm_contract` set `order_id`=1073,`order_no`='XSDD20261015000003' where id=560;
update `crm_sale_quotation` set `contract_id`=560,`contract_no`='HT20261015000003' where id=560;
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1613,560,291,'2026-11-30 16:00:00',8,133911.78,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','291','2026-10-15 08:27:00','2026-10-15 08:27:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,560,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,560,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,61,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(560,485,9,122.74,168,20620.32,122.74,0,'291','291','2026-10-15 08:12:00','2026-10-15 08:12:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(560,485,9,122.74,168,20620.32,122.74,'291','291','2026-10-15 08:22:00','2026-10-15 08:22:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1073,485,9,122.74,168,20620.32,0,0,1,'原项目号:Q2100073;','291','291','2026-10-15 08:42:00','2026-10-15 08:42:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015011',11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015011','黑枸杞250克(50克*5)生产工单',1,1,'XSDD20261015000003',485,168,0,0,0,1613,13,'2026-10-21 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月19日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015008',8,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015008',1,1073,'XSDD20261015000003',4220,485,168,0,9,1613,'2026-10-21 18:00:00','2026-10-15 09:10:00',138,'WO_20261015011',0,'来源:电商已下单10月份缴库产品第4行;计划开工10月19日;原项目号:Q2100073;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3539 where id=4220;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,138,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,138,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,138,30,3,4,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(4,4,0.980000,NULL,0,0,0,NULL,NULL,NULL,138,40,3,5,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,5,0.980000,NULL,0,0,0,NULL,NULL,NULL,138,50,3,6,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(6,6,0.980000,NULL,0,1,0,NULL,NULL,NULL,138,60,3,7,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(7,7,0.980000,NULL,0,0,0,NULL,NULL,NULL,138,70,3,8,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,8,0.980000,NULL,0,1,0,NULL,NULL,NULL,138,80,3,9,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,9,0.980000,NULL,0,0,0,NULL,NULL,NULL,138,90,3,10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,10,0.980000,NULL,0,0,0,NULL,NULL,NULL,138,100,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,138,110,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,138,120,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,138,130,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(138,560,42.336000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(138,568,840.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(138,569,840.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(138,570,168.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(138,571,168.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(138,572,21.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(138,573,42.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(138,574,840.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(560,487,64,75.81,666,50489.46,75.81,0,'291','291','2026-10-15 08:12:00','2026-10-15 08:12:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(560,487,64,75.81,666,50489.46,75.81,'291','291','2026-10-15 08:22:00','2026-10-15 08:22:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1073,487,64,75.81,666,50489.46,0,0,1,'原项目号:Q2100077;','291','291','2026-10-15 08:42:00','2026-10-15 08:42:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015012',12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015012','黑枸杞 å¤§æžœ 500克(250克*2)特优级生产工单',1,1,'XSDD20261015000003',487,666,0,0,0,1613,13,'2026-10-26 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月22日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015009',9,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015009',1,1073,'XSDD20261015000003',4221,487,666,0,64,1613,'2026-10-26 18:00:00','2026-10-15 09:10:00',139,'WO_20261015012',0,'来源:电商已下单10月份缴库产品第6行;计划开工10月22日;原项目号:Q2100077;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3540 where id=4221;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,139,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,139,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,139,30,3,4,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(4,4,0.980000,NULL,0,0,0,NULL,NULL,NULL,139,40,3,5,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,5,0.980000,NULL,0,0,0,NULL,NULL,NULL,139,50,3,6,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(6,6,0.980000,NULL,0,1,0,NULL,NULL,NULL,139,60,3,7,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(7,7,0.980000,NULL,0,0,0,NULL,NULL,NULL,139,70,3,8,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,8,0.980000,NULL,0,1,0,NULL,NULL,NULL,139,80,3,9,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,9,0.980000,NULL,0,0,0,NULL,NULL,NULL,139,90,3,10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,10,0.980000,NULL,0,0,0,NULL,NULL,NULL,139,100,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,139,110,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,139,120,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,139,130,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(139,574,1332.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(139,576,1332.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(139,577,1332.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(139,582,335.664000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(139,583,1332.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(139,584,1332.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(139,585,666.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(139,586,55.944000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(139,587,111.222000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(139,588,666.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(560,486,8,21.48,1800,38664.00,21.48,0,'291','291','2026-10-15 08:12:00','2026-10-15 08:12:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(560,486,8,21.48,1800,38664.00,21.48,'291','291','2026-10-15 08:22:00','2026-10-15 08:22:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1073,486,8,21.48,1800,38664.00,0,0,1,'原项目号:Q2100078;','291','291','2026-10-15 08:42:00','2026-10-15 08:42:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015013',13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015013','黑果枸杞-250克甲级生产工单',1,1,'XSDD20261015000003',486,1800,0,0,0,1613,13,'2026-10-28 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月26日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015010',10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015010',1,1073,'XSDD20261015000003',4222,486,1800,0,8,1613,'2026-10-28 18:00:00','2026-10-15 09:10:00',140,'WO_20261015013',0,'来源:电商已下单10月份缴库产品第8行;计划开工10月26日;原项目号:Q2100078;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3541 where id=4222;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,140,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,140,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,140,30,3,4,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(4,4,0.980000,NULL,0,0,0,NULL,NULL,NULL,140,40,3,5,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,5,0.980000,NULL,0,0,0,NULL,NULL,NULL,140,50,3,6,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(6,6,0.980000,NULL,0,1,0,NULL,NULL,NULL,140,60,3,7,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(7,7,0.980000,NULL,0,0,0,NULL,NULL,NULL,140,70,3,8,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,8,0.980000,NULL,0,1,0,NULL,NULL,NULL,140,80,3,9,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,9,0.980000,NULL,0,0,0,NULL,NULL,NULL,140,90,3,10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,10,0.980000,NULL,0,0,0,NULL,NULL,NULL,140,100,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,140,110,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,140,120,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,140,130,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(140,574,1800.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(140,575,453.600000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(140,576,1800.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(140,577,1800.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(140,578,1800.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(140,579,1800.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(140,580,75.600000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(140,581,151.200000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(560,1998,8,179.1,90,16119.00,179.1,0,'291','291','2026-10-15 08:12:00','2026-10-15 08:12:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(560,1998,8,179.1,90,16119.00,179.1,'291','291','2026-10-15 08:22:00','2026-10-15 08:22:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1073,1998,8,179.1,90,16119.00,0,0,1,'原项目号:12100271;','291','291','2026-10-15 08:42:00','2026-10-15 08:42:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015014',14,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015014','黑果枸杞-90克生产工单',1,1,'XSDD20261015000003',1998,90,0,0,0,1613,13,'2026-10-29 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月27日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015011',11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015011',1,1073,'XSDD20261015000003',4223,1998,90,0,8,1613,'2026-10-29 18:00:00','2026-10-15 09:10:00',141,'WO_20261015014',0,'来源:电商已下单10月份缴库产品第9行;计划开工10月27日;原项目号:12100271;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3542 where id=4223;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,141,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,141,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,141,30,3,4,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(4,4,0.980000,NULL,0,0,0,NULL,NULL,NULL,141,40,3,5,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,5,0.980000,NULL,0,0,0,NULL,NULL,NULL,141,50,3,6,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(6,6,0.980000,NULL,0,1,0,NULL,NULL,NULL,141,60,3,7,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(7,7,0.980000,NULL,0,0,0,NULL,NULL,NULL,141,70,3,8,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,8,0.980000,NULL,0,1,0,NULL,NULL,NULL,141,80,3,9,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,9,0.980000,NULL,0,0,0,NULL,NULL,NULL,141,90,3,10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,10,0.980000,NULL,0,0,0,NULL,NULL,NULL,141,100,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,141,110,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,141,120,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,141,130,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(560,1999,8,44.55,180,8019.00,44.55,0,'291','291','2026-10-15 08:12:00','2026-10-15 08:12:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(560,1999,8,44.55,180,8019.00,44.55,'291','291','2026-10-15 08:22:00','2026-10-15 08:22:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1073,1999,8,44.55,180,8019.00,0,0,1,'原项目号:UC000017;','291','291','2026-10-15 08:42:00','2026-10-15 08:42:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015015',15,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015015','雪菊生产工单',1,1,'XSDD20261015000003',1999,180,0,0,0,1613,60,'2026-10-30 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月28日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015012',12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015012',1,1073,'XSDD20261015000003',4224,1999,180,0,8,1613,'2026-10-30 18:00:00','2026-10-15 09:10:00',142,'WO_20261015015',0,'来源:电商已下单10月份缴库产品第10行;计划开工10月28日;原项目号:UC000017;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3543 where id=4224;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,142,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,142,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,142,30,3,10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,10,0.980000,NULL,1,0,0,NULL,NULL,NULL,142,40,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,0,0,0,NULL,NULL,NULL,142,50,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,142,60,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,142,70,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`owner_user_id`,`status`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000004','总公司10月桑椹原浆供货报价',1613,291,10,'2026-10-15 08:08:00','2026-10-30 18:00:00',28060.00,0,0,28060.00,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','291','2026-10-15 08:08:00','2026-10-15 08:08:00',0,0);
insert into `crm_contract` (`no`,`name`,`customer_id`,`owner_user_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`total_price`,`discount_percent`,`deposit_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('HT20261015000004','总公司10月桑椹原浆供货合同',1613,291,20,'2026-10-15 08:23:00','2026-10-15 08:23:00','2026-11-30 18:00:00',28060.00,28060.00,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','291','2026-10-15 08:23:00','2026-10-15 08:23:00',0);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`sale_user_id`,`order_time`,`total_count`,`total_product_price`,`total_tax_price`,`total_price`,`discount_percent`,`discount_price`,`deposit_price`,`out_count`,`out_status`,`production_status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('XSDD20261015000004',20,1613,561,'HT20261015000004',291,'2026-10-15 08:43:00',1000,28060.00,0,28060.00,0,0,0,0,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。','291','291','2026-10-15 08:43:00','2026-10-15 08:43:00',0);
update `crm_contract` set `order_id`=1074,`order_no`='XSDD20261015000004' where id=561;
update `crm_sale_quotation` set `contract_id`=561,`contract_no`='HT20261015000004' where id=561;
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1613,561,291,'2026-11-30 16:00:00',8,28060.00,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','291','2026-10-15 08:28:00','2026-10-15 08:28:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,561,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,561,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,62,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(561,2000,9,28.06,1000,28060.00,28.06,0,'291','291','2026-10-15 08:13:00','2026-10-15 08:13:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(561,2000,9,28.06,1000,28060.00,28.06,'291','291','2026-10-15 08:23:00','2026-10-15 08:23:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1074,2000,9,28.06,1000,28060.00,0,0,1,'原项目号:U2100282;;原进度:10月15号左右发货','291','291','2026-10-15 08:43:00','2026-10-15 08:43:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015016',16,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015016','桑椹原浆生产工单',1,1,'XSDD20261015000004',2000,1000,0,0,0,1613,17,'2026-10-16 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月16日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015013',13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015013',1,1074,'XSDD20261015000004',4225,2000,1000,0,9,1613,'2026-10-16 18:00:00','2026-10-15 09:10:00',143,'WO_20261015016',0,'来源:电商已下单10月份缴库产品第11行;计划开工10月16日;原项目号:U2100282;;原进度:10月15号左右发货','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3544 where id=4225;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,143,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,143,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,143,30,3,20,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(20,21,0.980000,NULL,0,0,0,NULL,NULL,NULL,143,40,3,21,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(21,31,0.980000,NULL,0,0,0,NULL,NULL,NULL,143,50,3,22,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(22,32,0.980000,NULL,0,0,0,NULL,NULL,NULL,143,60,3,23,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(23,33,0.980000,NULL,0,0,0,NULL,NULL,NULL,143,70,3,24,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(24,52,0.980000,NULL,1,0,0,NULL,NULL,NULL,143,80,3,25,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(25,51,0.980000,NULL,0,0,0,NULL,NULL,NULL,143,90,3,27,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(27,28,0.980000,NULL,0,0,0,NULL,NULL,NULL,143,100,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,0,0,0,NULL,NULL,NULL,143,110,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,143,120,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,143,130,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(31,'TK_20261015015',15,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`changed_quantity`,`client_id`,`start_time`,`end_time`,`duration`,`status`,`first_feedback_time`,`last_feedback_time`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('TK_20261015015','γ-氨基丁酸营养素饮品(蜜桃味)-11',131,11,23,11,11,517,20009,800,800,0,0,1613,'2026-10-15 13:43:00','2026-10-15 16:43:00',3,2,'2026-10-15 14:39:38','2026-10-15 14:39:38','半成品已生产完毕;本次仅排剩余包装、检验及缴库,尚未成品入库。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_task_assignee` (`task_id`,`user_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1061,244,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(33,'FB_20261015001',1,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('FB_20261015001',1,'2026-10-15 14:39:38',11,23,11,131,1061,517,20009,800,800,0,0,0,0,0,244,244,4,'按本次录入要求记录今日包装部分完成800盒;非末道工序,不增加成品库存。','244','244','2026-10-15 14:39:38','2026-10-15 14:39:38',0);
insert into `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,1061,11,'PT-STP-011','外包装参数模板-011','TASK-1061','排产生成参数快照;实际参数待现场填写。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(207,16,'PP-STP-COUNT','包装数量',1,0,24,'要求:原文未指定统一数值,记录实际值;不得套用其他产品标准。;;来源:STP-SG-003-01、STP-DY-007-00、STP-SG-002-04、STP-GT-015-04、STP-GT-016-04、STP-GY-001-06、STP-DY-001-02、STP-GT-009-07、STP-GY-002-05、STP-SG-001-09、STP-GT-010-05、STP-FB-005-00、STP-YL-006-00、STP-YL-016-00、STP-YL-008-00、STP-YL-010-00、STP-YL-015-00、STP-YL-018-00、STP-YL-009-00、STP-YL-012-00、STP-YL-017-00、STP-YL-011-00、STP-YL-007-00、STP-YL-013-00;实际值由现场录入。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(31,'TK_20261015016',16,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`changed_quantity`,`client_id`,`start_time`,`end_time`,`duration`,`status`,`first_feedback_time`,`last_feedback_time`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('TK_20261015016','γ-氨基丁酸营养素饮品(蜜桃味)-12',131,12,23,12,12,517,19609,0,0,0,0,1613,'2026-10-15 16:43:00','2026-10-19 15:43:00',17,0,NULL,NULL,'半成品已生产完毕;本次仅排剩余包装、检验及缴库,尚未成品入库。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_task_assignee` (`task_id`,`user_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1062,244,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,1062,12,'PT-STP-012','成品检验参数模板-012','TASK-1062','排产生成参数快照;实际参数待现场填写。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(208,17,'PP-STP-SAMPLE','检验抽样数量',1,0,24,'要求:原文未指定统一数值,记录实际值;不得套用其他产品标准。;;来源:STP-SG-003-01、STP-DY-007-00、STP-SG-002-04、STP-GT-015-04、STP-GT-016-04、STP-GY-001-06、STP-DY-001-02、STP-GT-009-07、STP-GY-002-05、STP-SG-001-09、STP-GT-010-05、STP-FB-005-00、STP-YL-006-00、STP-YL-016-00、STP-YL-008-00、STP-YL-010-00、STP-YL-015-00、STP-YL-018-00、STP-YL-009-00、STP-YL-012-00、STP-YL-017-00、STP-YL-011-00、STP-YL-007-00、STP-YL-013-00;实际值由现场录入。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(31,'TK_20261015017',17,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`changed_quantity`,`client_id`,`start_time`,`end_time`,`duration`,`status`,`first_feedback_time`,`last_feedback_time`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('TK_20261015017','γ-氨基丁酸营养素饮品(蜜桃味)-13',131,13,23,13,13,517,19216,0,0,0,0,1613,'2026-10-19 15:43:00','2026-10-23 09:43:00',30,0,NULL,NULL,'半成品已生产完毕;本次仅排剩余包装、检验及缴库,尚未成品入库。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_task_assignee` (`task_id`,`user_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1063,244,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(131,1063,13,'PT-STP-013','成品入库参数模板-013','TASK-1063','排产生成参数快照;实际参数待现场填写。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(209,18,'PP-STP-COUNT','包装数量',1,0,24,'要求:原文未指定统一数值,记录实际值;不得套用其他产品标准。;;来源:STP-SG-003-01、STP-DY-007-00、STP-SG-002-04、STP-GT-015-04、STP-GT-016-04、STP-GY-001-06、STP-DY-001-02、STP-GT-009-07、STP-GY-002-05、STP-SG-001-09、STP-GT-010-05、STP-FB-005-00、STP-YL-006-00、STP-YL-016-00、STP-YL-008-00、STP-YL-010-00、STP-YL-015-00、STP-YL-018-00、STP-YL-009-00、STP-YL-012-00、STP-YL-017-00、STP-YL-011-00、STP-YL-007-00、STP-YL-013-00;实际值由现场录入。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
update `mes_pro_work_order` set `quantity_scheduled`=19216 where id=131;
update `mes_pro_work_order` set `request_date`='2026-10-23 18:00:00' where id=131;
update `mes_pro_mps` set `request_date`='2026-10-23 18:00:00' where id=3532;
COMMIT;
scripts/ecommerce-production-20261015/audit.json
¶Ô±ÈÐÂÎļþ
ÎļþÌ«´ó
scripts/ecommerce-production-20261015/audit.py
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,32 @@
from pathlib import Path
import sys,re,json
from openpyxl import load_workbook
sys.stdout.reconfigure(encoding='utf-8')
sys.path.insert(0,str(Path('scripts/iqc-import-20261012/deps').resolve()))
import pymysql
P=Path(__file__).parent
def connect():
 s=Path('yudao-server/src/main/resources/application-local.yaml').read_text(encoding='utf-8');x=s[s.index('jdbc:mysql://localhost:3306/'):]
 pw=re.search(r'password:\s*([^\r\n#]+)',x).group(1).strip().strip('\"\'')
 return pymysql.connect(host='127.0.0.1',port=3306,user='root',password=pw,database='mom-hm',charset='utf8mb4',cursorclass=pymysql.cursors.DictCursor,autocommit=False)
def dump(name,value): (P/name).write_text(json.dumps(value,ensure_ascii=False,indent=2,default=str),encoding='utf-8')
if __name__=='__main__':
 w=load_workbook('C:/Users/云/Desktop/电商未缴库计划.xlsx2026.10.15xlsx.xlsx',data_only=True);source=[]
 for sheet in w:
  for row in sheet.iter_rows(min_row=3):
   v=[c.value for c in row]
   if isinstance(v[0],(int,float)) and v[1] and v[5]:source.append(dict(sheet=sheet.title,row=row[0].row,code=v[1],name=v[2],spec=v[3],unit=v[4],quantity=v[5],price=v[6],amount=v[7],due=v[8],note=v[9]))
 dump('source.json',source)
 tables=['mdm_item','mdm_unit_measure','mes_md_item','mes_md_unit_measure','mes_pro_route','mes_pro_route_product','mes_pro_route_process','mes_md_product_bom','mes_pro_route_product_bom','mes_md_workstation','mes_md_workstation_machine','mes_dv_machinery','mes_pd_process_param_template','mes_pd_process_param_template_detail','mes_cal_holiday','crm_customer','crm_business','crm_sale_quotation','crm_sale_quotation_product','crm_contract','crm_contract_product','crm_receivable_plan','crm_receivable','crm_permission','erp_sale_order','erp_sale_order_items','mes_pro_mps','mes_pro_work_order','mes_pro_work_order_process','mes_pro_work_order_bom','mes_pro_task','mes_pro_feedback','mes_pro_work_order_param_record','mes_pro_work_order_param_record_detail','mes_md_auto_code_rule','mes_md_auto_code_part','mes_md_auto_code_record','mes_pro_task_assignee']
 c=connect();data={};schema={}
 try:
  with c.cursor() as q:
   for t in tables:
    q.execute('show full columns from `'+t+'`');schema[t]=q.fetchall()
    q.execute('select * from `'+t+'` where deleted=0');data[t]=q.fetchall()
   q.execute('select id,nickname,dept_id,status from system_users where deleted=0');data['users']=q.fetchall()
  dump('audit.json',data);dump('schema.json',schema)
  print('Source rows:',len(source),'amount:',sum(r['amount'] for r in source))
  for x in data['mdm_item']:
   if x['name'] and (('90' in (x.get('specification') or '') and '枸杞' in x['name']) or ('500' in (x.get('specification') or '') and ('桑' in x['name'])) or (x['name']=='雪菊' and '50' in (x.get('specification') or ''))): print(json.dumps({k:x.get(k) for k in ['id','code','name','specification','unit_measure_id']},ensure_ascii=False))
 finally:c.rollback();c.close()
scripts/ecommerce-production-20261015/export_sync.py
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,30 @@
from audit import connect,dump,P
import json
r=json.loads((P/'result-applied.json').read_text(encoding='utf-8'))
c=connect();data={}
def take(table,field,ids):
 ids=list(set(ids))
 with c.cursor() as q:
  q.execute('select * from `'+table+'` where `'+field+'` in ('+','.join(['%s']*len(ids))+')',ids)
  data[table]=q.fetchall()
try:
 root={'crm_sale_quotation':[x['quotation_id'] for x in r['groups'].values()],'crm_contract':[x['contract_id'] for x in r['groups'].values()],'erp_sale_order':[x['order_id'] for x in r['groups'].values()],'crm_receivable_plan':[x['receivable_plan_id'] for x in r['groups'].values()],'mes_pro_work_order':[x['wo_id'] for x in r['links']],'mes_pro_mps':[x['mps_id'] for x in r['links']]}
 for t,ids in root.items():take(t,'id',ids)
 for t,f,parent in [('crm_sale_quotation_product','quotation_id','crm_sale_quotation'),('crm_contract_product','contract_id','crm_contract'),('erp_sale_order_items','order_id','erp_sale_order'),('mes_pro_work_order_process','work_order_id','mes_pro_work_order'),('mes_pro_work_order_bom','work_order_id','mes_pro_work_order'),('mes_pro_task','work_order_id','mes_pro_work_order'),('mes_pro_feedback','work_order_id','mes_pro_work_order'),('mes_pro_work_order_param_record','work_order_id','mes_pro_work_order'),('mes_pro_task_assignee','task_id','mes_pro_task'),('mes_pro_work_order_param_record_detail','record_id','mes_pro_work_order_param_record')]:take(t,f,[x['id'] for x in data[parent]])
 take('crm_permission','biz_id',root['crm_sale_quotation']+root['crm_contract']+root['crm_receivable_plan'])
 expected={(9,i) for i in root['crm_sale_quotation']}|{(5,i) for i in root['crm_contract']}|{(8,i) for i in root['crm_receivable_plan']}
 data['crm_permission']=[x for x in data['crm_permission'] if (x['biz_type'],x['biz_id']) in expected]
 ids=[x['mdm_id'] for x in r['links']];take('mdm_item','id',ids);take('mes_md_item','mdm_item_id',ids)
 take('mes_pro_route','code',['RT-FLOWER-BOTTLE-PACK']);take('mes_pro_route_process','route_id',[x['id'] for x in data['mes_pro_route']])
 with c.cursor() as q:
  q.execute('select * from mes_pro_route_product where deleted=0 and item_id in ('+','.join(['%s']*len(ids))+') and remark=%s',ids+['按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。']);data['mes_pro_route_product']=q.fetchall()
  codes=[x['code'] for t in ['mes_pro_work_order','mes_pro_mps','mes_pro_task','mes_pro_feedback'] for x in data[t]]
  q.execute('select * from mes_md_auto_code_record where result in ('+','.join(['%s']*len(codes))+')',codes);data['mes_md_auto_code_record']=q.fetchall()
  refs={}
  for t in ['mes_pro_route','mes_pro_process','mes_md_workstation','mes_dv_machinery','mes_pd_process_param_template','mdm_unit_measure','mes_md_unit_measure','mes_md_auto_code_rule','mdm_item','mes_md_item']:
   q.execute('select * from `'+t+'` where deleted=0');refs[t]=q.fetchall()
  q.execute('select id,nickname,status from system_users where deleted=0');refs['system_users']=q.fetchall()
  q.execute('select id,name from crm_customer where deleted=0');refs['crm_customer']=q.fetchall()
 dump('sync-export.json',{'data':data,'references':refs,'local_result':r})
 print({t:len(v) for t,v in data.items()})
finally:c.rollback();c.close()
scripts/ecommerce-production-20261015/preview.sql
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,421 @@
START TRANSACTION;
insert into `mdm_item` (`id`,`code`,`name`,`specification`,`category_id`,`unit_measure_id`,`item_type`,`status`,`is_batch_managed`,`is_serial_managed`,`high_value`,`warehouse_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1998,'12100271','黑果枸杞','90克',13,8,3,0,1,0,0,18,'来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_md_item` (`id`,`mdm_item_id`,`code`,`name`,`specification`,`unit_measure_id`,`status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1998,1998,'12100271','黑果枸杞','90克',8,0,'来源10月15日电商未缴库计划','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mdm_item` (`id`,`code`,`name`,`specification`,`category_id`,`unit_measure_id`,`item_type`,`status`,`is_batch_managed`,`is_serial_managed`,`high_value`,`warehouse_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1999,'UC000017','雪菊','50g',6,8,3,0,1,0,0,18,'来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_md_item` (`id`,`mdm_item_id`,`code`,`name`,`specification`,`unit_measure_id`,`status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1999,1999,'UC000017','雪菊','50g',8,0,'来源10月15日电商未缴库计划','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mdm_item` (`id`,`code`,`name`,`specification`,`category_id`,`unit_measure_id`,`item_type`,`status`,`is_batch_managed`,`is_serial_managed`,`high_value`,`warehouse_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2000,'U2100282','桑椹原浆','500ml(50ml×10)',9,9,3,0,1,0,0,18,'来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_md_item` (`id`,`mdm_item_id`,`code`,`name`,`specification`,`unit_measure_id`,`status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2000,2000,'U2100282','桑椹原浆','500ml(50ml×10)',9,0,'来源10月15日电商未缴库计划','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route` (`code`,`name`,`status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('RT-FLOWER-BOTTLE-PACK','花类瓶装分装包装工艺路线',0,'用于50g雪菊分装包装;工序沿用现有基础工序,不新增配方参数。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`param_template_id`,`yield_rate`,`color_code`,`route_id`,`process_id`,`sort`,`next_process_id`,`link_type`,`key_flag`,`check_flag`,`backflush_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,0.980000,NULL,59,1,10,2,3,0,0,0,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`param_template_id`,`yield_rate`,`color_code`,`route_id`,`process_id`,`sort`,`next_process_id`,`link_type`,`key_flag`,`check_flag`,`backflush_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,0.980000,NULL,59,2,20,3,3,0,0,0,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`param_template_id`,`yield_rate`,`color_code`,`route_id`,`process_id`,`sort`,`next_process_id`,`link_type`,`key_flag`,`check_flag`,`backflush_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,0.980000,NULL,59,3,30,10,3,0,0,0,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`param_template_id`,`yield_rate`,`color_code`,`route_id`,`process_id`,`sort`,`next_process_id`,`link_type`,`key_flag`,`check_flag`,`backflush_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,0.980000,NULL,59,10,40,11,3,1,0,0,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`param_template_id`,`yield_rate`,`color_code`,`route_id`,`process_id`,`sort`,`next_process_id`,`link_type`,`key_flag`,`check_flag`,`backflush_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,0.980000,NULL,59,11,50,12,3,0,0,0,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`param_template_id`,`yield_rate`,`color_code`,`route_id`,`process_id`,`sort`,`next_process_id`,`link_type`,`key_flag`,`check_flag`,`backflush_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,0.980000,NULL,59,12,60,13,3,0,1,0,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`param_template_id`,`yield_rate`,`color_code`,`route_id`,`process_id`,`sort`,`next_process_id`,`link_type`,`key_flag`,`check_flag`,`backflush_flag`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,0.980000,NULL,59,13,70,NULL,3,0,0,0,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
update `mdm_item` set `unit_measure_id`=9 where id=517;
update `mes_md_item` set `unit_measure_id`=9 where id=517;
update `mdm_item` set `name`='γ-氨基丁酸营养素饮品(蜜桃味)',`specification`='350ml(35ml×10)' where id=517;
update `mes_md_item` set `name`='γ-氨基丁酸营养素饮品(蜜桃味)',`specification`='350ml(35ml×10)' where id=517;
update `mdm_item` set `unit_measure_id`=9 where id=512;
update `mes_md_item` set `unit_measure_id`=9 where id=512;
update `mdm_item` set `name`='γ-氨基丁酸酸枣仁饮品(桃子味)',`specification`='350ml(35ml×10)' where id=512;
update `mes_md_item` set `name`='γ-氨基丁酸酸枣仁饮品(桃子味)',`specification`='350ml(35ml×10)' where id=512;
update `mdm_item` set `name`='血蛋白营养素饮',`specification`='500ml(50ml*10)' where id=1541;
update `mes_md_item` set `name`='血蛋白营养素饮',`specification`='500ml(50ml*10)' where id=1541;
update `mdm_item` set `unit_measure_id`=9 where id=502;
update `mes_md_item` set `unit_measure_id`=9 where id=502;
update `mdm_item` set `name`='红黑枸杞原浆礼盒-1800ml(30ml*60袋)',`specification`='1800ml' where id=502;
update `mes_md_item` set `name`='红黑枸杞原浆礼盒-1800ml(30ml*60袋)',`specification`='1800ml' where id=502;
insert into `mes_pro_route_product` (`route_id`,`item_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(57,502,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
update `mdm_item` set `unit_measure_id`=9 where id=485;
update `mes_md_item` set `unit_measure_id`=9 where id=485;
update `mdm_item` set `name`='黑枸杞250克(50克*5)',`specification`='250克(50克*5)' where id=485;
update `mes_md_item` set `name`='黑枸杞250克(50克*5)',`specification`='250克(50克*5)' where id=485;
update `mdm_item` set `name`='黑红枸杞原浆-30ml',`specification`='30ml' where id=1510;
update `mes_md_item` set `name`='黑红枸杞原浆-30ml',`specification`='30ml' where id=1510;
insert into `mes_pro_route_product` (`route_id`,`item_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(18,1510,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
update `mdm_item` set `unit_measure_id`=64 where id=487;
update `mes_md_item` set `unit_measure_id`=64 where id=487;
update `mdm_item` set `name`='黑枸杞 å¤§æžœ 500克(250克*2)特优级',`specification`='500克(250克*2)' where id=487;
update `mes_md_item` set `name`='黑枸杞 å¤§æžœ 500克(250克*2)特优级',`specification`='500克(250克*2)' where id=487;
update `mdm_item` set `unit_measure_id`=9 where id=497;
update `mes_md_item` set `unit_measure_id`=9 where id=497;
update `mdm_item` set `name`='枸杞原浆-300ml',`specification`='300ml' where id=497;
update `mes_md_item` set `name`='枸杞原浆-300ml',`specification`='300ml' where id=497;
update `mdm_item` set `unit_measure_id`=8 where id=486;
update `mes_md_item` set `unit_measure_id`=8 where id=486;
update `mdm_item` set `name`='黑果枸杞-250克甲级',`specification`='250克' where id=486;
update `mes_md_item` set `name`='黑果枸杞-250克甲级',`specification`='250克' where id=486;
update `mdm_item` set `name`='黑果枸杞-90克',`specification`='90克' where id=1998;
update `mes_md_item` set `name`='黑果枸杞-90克',`specification`='90克' where id=1998;
insert into `mes_pro_route_product` (`route_id`,`item_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,1998,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_route_product` (`route_id`,`item_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(59,1999,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
update `mdm_item` set `name`='桑椹原浆',`specification`='500ml(50ml*10)' where id=2000;
update `mes_md_item` set `name`='桑椹原浆',`specification`='500ml(50ml*10)' where id=2000;
insert into `mes_pro_route_product` (`route_id`,`item_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(17,2000,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`owner_user_id`,`status`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000001','总公司10月营养保健供货报价',1613,291,10,'2026-10-15 08:05:00','2026-10-30 18:00:00',1475658.40,0,0,1475658.40,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','291','2026-10-15 08:05:00','2026-10-15 08:05:00',0,0);
insert into `crm_contract` (`no`,`name`,`customer_id`,`owner_user_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`total_price`,`discount_percent`,`deposit_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('HT20261015000001','总公司10月营养保健供货合同',1613,291,20,'2026-10-15 08:20:00','2026-10-15 08:20:00','2026-11-30 18:00:00',1475658.40,1475658.40,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','291','2026-10-15 08:20:00','2026-10-15 08:20:00',0);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`sale_user_id`,`order_time`,`total_count`,`total_product_price`,`total_tax_price`,`total_price`,`discount_percent`,`discount_price`,`deposit_price`,`out_count`,`out_status`,`production_status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('XSDD20261015000001',20,1613,554,'HT20261015000001',291,'2026-10-15 08:40:00',67208,1475658.40,0,1475658.40,0,0,0,0,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。','291','291','2026-10-15 08:40:00','2026-10-15 08:40:00',0);
update `crm_contract` set `order_id`=1067,`order_no`='XSDD20261015000001' where id=554;
update `crm_sale_quotation` set `contract_id`=554,`contract_no`='HT20261015000001' where id=554;
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1613,554,291,'2026-11-30 16:00:00',8,1475658.40,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','291','2026-10-15 08:25:00','2026-10-15 08:25:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,554,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,554,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,55,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(554,517,9,15.4,19216,295926.40,15.4,0,'291','291','2026-10-15 08:10:00','2026-10-15 08:10:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(554,517,9,15.4,19216,295926.40,15.4,'291','291','2026-10-15 08:20:00','2026-10-15 08:20:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1067,517,9,15.4,19216,295926.40,0,0,1,'原项目号:Q2100202;半成品已生产完毕等通知发货','291','291','2026-10-15 08:40:00','2026-10-15 08:40:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015004',4,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015004','γ-氨基丁酸营养素饮品(蜜桃味)生产工单',1,1,'XSDD20261015000001',517,19216,0,0,0,1613,23,'2026-10-20 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月15日;半成品已生产完毕等通知发货','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015001',1,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015001',1,1067,'XSDD20261015000001',4200,517,19216,0,9,1613,'2026-10-20 18:00:00','2026-10-15 09:10:00',118,'WO_20261015004',0,'来源:营养保健第3行;计划开工10月15日;原项目号:Q2100202;半成品已生产完毕等通知发货','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3519 where id=4200;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,118,10,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,118,20,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,118,30,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,667,538.048000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,668,1076.096000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,672,1.095312,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,675,7.340512,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,676,29.323616,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,677,1.460416,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,680,15.372800,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,681,3.670256,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,683,219927.120000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,701,1320.139200,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,702,73.020800,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,703,19216.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,704,1095312.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,705,7330.904000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,706,16862.040000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,707,13927.756800,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,708,4250.579200,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,709,3666.412800,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,710,1466.180800,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,711,586.088000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,712,659.108800,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(554,512,9,14.9,30000,447000.00,14.9,0,'291','291','2026-10-15 08:10:00','2026-10-15 08:10:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(554,512,9,14.9,30000,447000.00,14.9,'291','291','2026-10-15 08:20:00','2026-10-15 08:20:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1067,512,9,14.9,30000,447000.00,0,0,1,'原项目号:Q2100201;','291','291','2026-10-15 08:40:00','2026-10-15 08:40:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015005',5,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015005','γ-氨基丁酸酸枣仁饮品(桃子味)生产工单',1,1,'XSDD20261015000001',512,30000,0,0,0,1613,20,'2026-10-23 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月20日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015002',2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015002',1,1067,'XSDD20261015000001',4201,512,30000,0,9,1613,'2026-10-23 18:00:00','2026-10-15 09:10:00',119,'WO_20261015005',0,'来源:营养保健第4行;计划开工10月20日;原项目号:Q2100201;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3520 where id=4201;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,119,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,119,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,119,30,3,36,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(36,44,0.980000,NULL,0,0,0,NULL,NULL,NULL,119,40,3,42,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(42,55,0.980000,NULL,0,0,0,NULL,NULL,NULL,119,50,3,43,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(43,56,0.980000,NULL,0,0,0,NULL,NULL,NULL,119,60,3,21,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(21,22,0.980000,NULL,0,1,0,NULL,NULL,NULL,119,70,3,22,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(22,23,0.980000,NULL,0,1,0,NULL,NULL,NULL,119,80,3,23,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(23,24,0.980000,NULL,0,1,0,NULL,NULL,NULL,119,90,3,24,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(24,57,0.980000,NULL,0,1,0,NULL,NULL,NULL,119,100,3,25,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(25,58,0.980000,NULL,0,1,0,NULL,NULL,NULL,119,110,3,26,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(26,27,0.980000,NULL,0,0,0,NULL,NULL,NULL,119,120,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,119,130,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,119,140,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,119,150,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,610,30000.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,667,834.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,668,1680.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,670,1515.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,671,462.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,672,6.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,673,6.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,674,12.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,675,48.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,676,99.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,677,6.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,678,6.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,679,6.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,680,36.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,681,24.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,682,30000.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,683,346500.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(119,684,12.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(554,1541,9,46.5,10000,465000.00,46.5,0,'291','291','2026-10-15 08:10:00','2026-10-15 08:10:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(554,1541,9,46.5,10000,465000.00,46.5,'291','291','2026-10-15 08:20:00','2026-10-15 08:20:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1067,1541,9,46.5,10000,465000.00,0,0,1,'原项目号:U2100335;','291','291','2026-10-15 08:40:00','2026-10-15 08:40:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015006',6,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015006','血蛋白营养素饮生产工单',1,1,'XSDD20261015000001',1541,10000,0,0,0,1613,56,'2026-10-27 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月22日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015003',3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015003',1,1067,'XSDD20261015000001',4202,1541,10000,0,9,1613,'2026-10-27 18:00:00','2026-10-15 09:10:00',120,'WO_20261015006',0,'来源:营养保健第5行;计划开工10月22日;原项目号:U2100335;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3521 where id=4202;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,120,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,120,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,120,30,3,10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,10,0.980000,NULL,0,0,0,NULL,NULL,NULL,120,40,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,120,50,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,120,60,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,120,70,3,23,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(23,23,0.980000,NULL,0,0,0,NULL,NULL,NULL,120,80,3,24,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(24,24,0.980000,NULL,0,0,0,NULL,NULL,NULL,120,90,3,25,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(25,25,0.980000,NULL,0,0,0,NULL,NULL,NULL,120,100,3,30,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,30,0.980000,NULL,0,0,0,NULL,NULL,NULL,120,110,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(554,1542,9,33.5,7992,267732.00,33.5,0,'291','291','2026-10-15 08:10:00','2026-10-15 08:10:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(554,1542,9,33.5,7992,267732.00,33.5,'291','291','2026-10-15 08:20:00','2026-10-15 08:20:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1067,1542,9,33.5,7992,267732.00,0,0,1,'原项目号:U2100336;半成品已生产完毕等通知发货','291','291','2026-10-15 08:40:00','2026-10-15 08:40:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015007',7,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015007','血红素铁红枣饮生产工单',1,1,'XSDD20261015000001',1542,7992,0,0,0,1613,56,'2026-10-21 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月19日;半成品已生产完毕等通知发货','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015004',4,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015004',1,1067,'XSDD20261015000001',4203,1542,7992,0,9,1613,'2026-10-21 18:00:00','2026-10-15 09:10:00',121,'WO_20261015007',0,'来源:营养保健第6行;计划开工10月19日;原项目号:U2100336;半成品已生产完毕等通知发货','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3522 where id=4203;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,121,10,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,121,20,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,121,30,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`owner_user_id`,`status`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000002','总公司10月原浆供货供货报价',1613,291,10,'2026-10-15 08:06:00','2026-10-30 18:00:00',424723.00,0,0,424723.00,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','291','2026-10-15 08:06:00','2026-10-15 08:06:00',0,0);
insert into `crm_contract` (`no`,`name`,`customer_id`,`owner_user_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`total_price`,`discount_percent`,`deposit_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('HT20261015000002','总公司10月原浆供货供货合同',1613,291,20,'2026-10-15 08:21:00','2026-10-15 08:21:00','2026-11-30 18:00:00',424723.00,424723.00,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','291','2026-10-15 08:21:00','2026-10-15 08:21:00',0);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`sale_user_id`,`order_time`,`total_count`,`total_product_price`,`total_tax_price`,`total_price`,`discount_percent`,`discount_price`,`deposit_price`,`out_count`,`out_status`,`production_status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('XSDD20261015000002',20,1613,555,'HT20261015000002',291,'2026-10-15 08:41:00',104433,424723.00,0,424723.00,0,0,0,0,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。','291','291','2026-10-15 08:41:00','2026-10-15 08:41:00',0);
update `crm_contract` set `order_id`=1068,`order_no`='XSDD20261015000002' where id=555;
update `crm_sale_quotation` set `contract_id`=555,`contract_no`='HT20261015000002' where id=555;
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1613,555,291,'2026-11-30 16:00:00',8,424723.00,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','291','2026-10-15 08:26:00','2026-10-15 08:26:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,555,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,555,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,56,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(555,502,9,63,3033,191079.00,63,0,'291','291','2026-10-15 08:11:00','2026-10-15 08:11:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(555,502,9,63,3033,191079.00,63,'291','291','2026-10-15 08:21:00','2026-10-15 08:21:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1068,502,9,63,3033,191079.00,0,0,1,'原项目号:Q2100197、Q2100196、81013526;','291','291','2026-10-15 08:41:00','2026-10-15 08:41:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015008',8,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015008','红黑枸杞原浆礼盒-1800ml(30ml*60袋)生产工单',1,1,'XSDD20261015000002',502,3033,0,0,0,1613,57,'2026-10-22 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月20日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015005',5,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015005',1,1068,'XSDD20261015000002',4204,502,3033,0,9,1613,'2026-10-22 18:00:00','2026-10-15 09:10:00',122,'WO_20261015008',0,'来源:电商已下单10月份缴库产品第3行;计划开工10月20日;原项目号:Q2100197、Q2100196、81013526;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3523 where id=4204;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,122,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,122,20,3,10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,10,0.980000,NULL,0,0,0,NULL,NULL,NULL,122,30,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,122,40,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,122,50,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,122,60,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(122,628,90990.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(122,630,3033.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(122,631,758.250000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(122,632,379.125000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(122,642,3033.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(122,643,90990.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(555,1510,3,2.12,100000,212000.00,2.12,0,'291','291','2026-10-15 08:11:00','2026-10-15 08:11:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(555,1510,3,2.12,100000,212000.00,2.12,'291','291','2026-10-15 08:21:00','2026-10-15 08:21:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1068,1510,3,2.12,100000,212000.00,0,0,1,'原项目号:Q2100314;','291','291','2026-10-15 08:41:00','2026-10-15 08:41:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015009',9,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015009','黑红枸杞原浆-30ml生产工单',1,1,'XSDD20261015000002',1510,100000,0,0,0,1613,18,'2026-10-30 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月21日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015006',6,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015006',1,1068,'XSDD20261015000002',4205,1510,100000,0,3,1613,'2026-10-30 18:00:00','2026-10-15 09:10:00',123,'WO_20261015009',0,'来源:电商已下单10月份缴库产品第5行;计划开工10月21日;原项目号:Q2100314;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3524 where id=4205;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,123,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,123,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,123,30,3,40,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(40,53,0.980000,NULL,0,0,0,NULL,NULL,NULL,123,40,3,41,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(41,54,0.980000,NULL,0,0,0,NULL,NULL,NULL,123,50,3,20,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(20,21,0.980000,NULL,0,0,0,NULL,NULL,NULL,123,60,3,21,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(21,22,0.980000,NULL,0,1,0,NULL,NULL,NULL,123,70,3,22,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(22,23,0.980000,NULL,0,1,0,NULL,NULL,NULL,123,80,3,23,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(23,24,0.980000,NULL,0,1,0,NULL,NULL,NULL,123,90,3,24,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(24,25,0.980000,NULL,0,1,0,NULL,NULL,NULL,123,100,3,25,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(25,26,0.980000,NULL,0,1,0,NULL,NULL,NULL,123,110,3,26,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(26,27,0.980000,NULL,0,0,0,NULL,NULL,NULL,123,120,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,123,130,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,123,140,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,123,150,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(555,497,9,15.46,1400,21644.00,15.46,0,'291','291','2026-10-15 08:11:00','2026-10-15 08:11:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(555,497,9,15.46,1400,21644.00,15.46,'291','291','2026-10-15 08:21:00','2026-10-15 08:21:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1068,497,9,15.46,1400,21644.00,0,0,1,'原项目号:Q2100080;','291','291','2026-10-15 08:41:00','2026-10-15 08:41:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015010',10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015010','枸杞原浆-300ml生产工单',1,1,'XSDD20261015000002',497,1400,0,0,0,1613,36,'2026-10-19 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月16日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015007',7,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015007',1,1068,'XSDD20261015000002',4206,497,1400,0,9,1613,'2026-10-19 18:00:00','2026-10-15 09:10:00',124,'WO_20261015010',0,'来源:电商已下单10月份缴库产品第7行;计划开工10月16日;原项目号:Q2100080;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3525 where id=4206;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,124,10,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,124,20,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,124,30,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(124,610,1400.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(124,625,1400.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(124,626,39.200000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(124,627,78.400000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(124,628,14000.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`owner_user_id`,`status`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000003','总公司10月枸杞及雪菊供货报价',1613,291,10,'2026-10-15 08:07:00','2026-10-30 18:00:00',133911.78,0,0,133911.78,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','291','2026-10-15 08:07:00','2026-10-15 08:07:00',0,0);
insert into `crm_contract` (`no`,`name`,`customer_id`,`owner_user_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`total_price`,`discount_percent`,`deposit_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('HT20261015000003','总公司10月枸杞及雪菊供货合同',1613,291,20,'2026-10-15 08:22:00','2026-10-15 08:22:00','2026-11-30 18:00:00',133911.78,133911.78,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','291','2026-10-15 08:22:00','2026-10-15 08:22:00',0);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`sale_user_id`,`order_time`,`total_count`,`total_product_price`,`total_tax_price`,`total_price`,`discount_percent`,`discount_price`,`deposit_price`,`out_count`,`out_status`,`production_status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('XSDD20261015000003',20,1613,556,'HT20261015000003',291,'2026-10-15 08:42:00',2904,133911.78,0,133911.78,0,0,0,0,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。','291','291','2026-10-15 08:42:00','2026-10-15 08:42:00',0);
update `crm_contract` set `order_id`=1069,`order_no`='XSDD20261015000003' where id=556;
update `crm_sale_quotation` set `contract_id`=556,`contract_no`='HT20261015000003' where id=556;
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1613,556,291,'2026-11-30 16:00:00',8,133911.78,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','291','2026-10-15 08:27:00','2026-10-15 08:27:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,556,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,556,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,57,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(556,485,9,122.74,168,20620.32,122.74,0,'291','291','2026-10-15 08:12:00','2026-10-15 08:12:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(556,485,9,122.74,168,20620.32,122.74,'291','291','2026-10-15 08:22:00','2026-10-15 08:22:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1069,485,9,122.74,168,20620.32,0,0,1,'原项目号:Q2100073;','291','291','2026-10-15 08:42:00','2026-10-15 08:42:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015011',11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015011','黑枸杞250克(50克*5)生产工单',1,1,'XSDD20261015000003',485,168,0,0,0,1613,13,'2026-10-21 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月19日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015008',8,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015008',1,1069,'XSDD20261015000003',4207,485,168,0,9,1613,'2026-10-21 18:00:00','2026-10-15 09:10:00',125,'WO_20261015011',0,'来源:电商已下单10月份缴库产品第4行;计划开工10月19日;原项目号:Q2100073;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3526 where id=4207;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,125,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,125,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,125,30,3,4,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(4,4,0.980000,NULL,0,0,0,NULL,NULL,NULL,125,40,3,5,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,5,0.980000,NULL,0,0,0,NULL,NULL,NULL,125,50,3,6,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(6,6,0.980000,NULL,0,1,0,NULL,NULL,NULL,125,60,3,7,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(7,7,0.980000,NULL,0,0,0,NULL,NULL,NULL,125,70,3,8,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,8,0.980000,NULL,0,1,0,NULL,NULL,NULL,125,80,3,9,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,9,0.980000,NULL,0,0,0,NULL,NULL,NULL,125,90,3,10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,10,0.980000,NULL,0,0,0,NULL,NULL,NULL,125,100,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,125,110,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,125,120,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,125,130,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(125,560,42.336000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(125,568,840.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(125,569,840.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(125,570,168.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(125,571,168.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(125,572,21.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(125,573,42.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(125,574,840.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(556,487,64,75.81,666,50489.46,75.81,0,'291','291','2026-10-15 08:12:00','2026-10-15 08:12:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(556,487,64,75.81,666,50489.46,75.81,'291','291','2026-10-15 08:22:00','2026-10-15 08:22:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1069,487,64,75.81,666,50489.46,0,0,1,'原项目号:Q2100077;','291','291','2026-10-15 08:42:00','2026-10-15 08:42:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015012',12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015012','黑枸杞 å¤§æžœ 500克(250克*2)特优级生产工单',1,1,'XSDD20261015000003',487,666,0,0,0,1613,13,'2026-10-26 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月22日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015009',9,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015009',1,1069,'XSDD20261015000003',4208,487,666,0,64,1613,'2026-10-26 18:00:00','2026-10-15 09:10:00',126,'WO_20261015012',0,'来源:电商已下单10月份缴库产品第6行;计划开工10月22日;原项目号:Q2100077;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3527 where id=4208;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,126,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,126,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,126,30,3,4,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(4,4,0.980000,NULL,0,0,0,NULL,NULL,NULL,126,40,3,5,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,5,0.980000,NULL,0,0,0,NULL,NULL,NULL,126,50,3,6,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(6,6,0.980000,NULL,0,1,0,NULL,NULL,NULL,126,60,3,7,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(7,7,0.980000,NULL,0,0,0,NULL,NULL,NULL,126,70,3,8,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,8,0.980000,NULL,0,1,0,NULL,NULL,NULL,126,80,3,9,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,9,0.980000,NULL,0,0,0,NULL,NULL,NULL,126,90,3,10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,10,0.980000,NULL,0,0,0,NULL,NULL,NULL,126,100,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,126,110,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,126,120,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,126,130,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(126,574,1332.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(126,576,1332.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(126,577,1332.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(126,582,335.664000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(126,583,1332.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(126,584,1332.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(126,585,666.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(126,586,55.944000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(126,587,111.222000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(126,588,666.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(556,486,8,21.48,1800,38664.00,21.48,0,'291','291','2026-10-15 08:12:00','2026-10-15 08:12:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(556,486,8,21.48,1800,38664.00,21.48,'291','291','2026-10-15 08:22:00','2026-10-15 08:22:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1069,486,8,21.48,1800,38664.00,0,0,1,'原项目号:Q2100078;','291','291','2026-10-15 08:42:00','2026-10-15 08:42:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015013',13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015013','黑果枸杞-250克甲级生产工单',1,1,'XSDD20261015000003',486,1800,0,0,0,1613,13,'2026-10-28 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月26日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015010',10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015010',1,1069,'XSDD20261015000003',4209,486,1800,0,8,1613,'2026-10-28 18:00:00','2026-10-15 09:10:00',127,'WO_20261015013',0,'来源:电商已下单10月份缴库产品第8行;计划开工10月26日;原项目号:Q2100078;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3528 where id=4209;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,127,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,127,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,127,30,3,4,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(4,4,0.980000,NULL,0,0,0,NULL,NULL,NULL,127,40,3,5,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,5,0.980000,NULL,0,0,0,NULL,NULL,NULL,127,50,3,6,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(6,6,0.980000,NULL,0,1,0,NULL,NULL,NULL,127,60,3,7,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(7,7,0.980000,NULL,0,0,0,NULL,NULL,NULL,127,70,3,8,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,8,0.980000,NULL,0,1,0,NULL,NULL,NULL,127,80,3,9,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,9,0.980000,NULL,0,0,0,NULL,NULL,NULL,127,90,3,10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,10,0.980000,NULL,0,0,0,NULL,NULL,NULL,127,100,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,127,110,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,127,120,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,127,130,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(127,574,1800.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(127,575,453.600000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(127,576,1800.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(127,577,1800.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(127,578,1800.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(127,579,1800.000000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(127,580,75.600000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`item_id`,`quantity`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(127,581,151.200000,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(556,1998,8,179.1,90,16119.00,179.1,0,'291','291','2026-10-15 08:12:00','2026-10-15 08:12:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(556,1998,8,179.1,90,16119.00,179.1,'291','291','2026-10-15 08:22:00','2026-10-15 08:22:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1069,1998,8,179.1,90,16119.00,0,0,1,'原项目号:12100271;','291','291','2026-10-15 08:42:00','2026-10-15 08:42:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015014',14,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015014','黑果枸杞-90克生产工单',1,1,'XSDD20261015000003',1998,90,0,0,0,1613,13,'2026-10-29 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月27日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015011',11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015011',1,1069,'XSDD20261015000003',4210,1998,90,0,8,1613,'2026-10-29 18:00:00','2026-10-15 09:10:00',128,'WO_20261015014',0,'来源:电商已下单10月份缴库产品第9行;计划开工10月27日;原项目号:12100271;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3529 where id=4210;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,128,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,128,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,128,30,3,4,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(4,4,0.980000,NULL,0,0,0,NULL,NULL,NULL,128,40,3,5,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,5,0.980000,NULL,0,0,0,NULL,NULL,NULL,128,50,3,6,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(6,6,0.980000,NULL,0,1,0,NULL,NULL,NULL,128,60,3,7,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(7,7,0.980000,NULL,0,0,0,NULL,NULL,NULL,128,70,3,8,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,8,0.980000,NULL,0,1,0,NULL,NULL,NULL,128,80,3,9,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,9,0.980000,NULL,0,0,0,NULL,NULL,NULL,128,90,3,10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,10,0.980000,NULL,0,0,0,NULL,NULL,NULL,128,100,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,1,0,0,NULL,NULL,NULL,128,110,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,128,120,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,128,130,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(556,1999,8,44.55,180,8019.00,44.55,0,'291','291','2026-10-15 08:12:00','2026-10-15 08:12:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(556,1999,8,44.55,180,8019.00,44.55,'291','291','2026-10-15 08:22:00','2026-10-15 08:22:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1069,1999,8,44.55,180,8019.00,0,0,1,'原项目号:UC000017;','291','291','2026-10-15 08:42:00','2026-10-15 08:42:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015015',15,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015015','雪菊生产工单',1,1,'XSDD20261015000003',1999,180,0,0,0,1613,59,'2026-10-30 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月28日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015012',12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015012',1,1069,'XSDD20261015000003',4211,1999,180,0,8,1613,'2026-10-30 18:00:00','2026-10-15 09:10:00',129,'WO_20261015015',0,'来源:电商已下单10月份缴库产品第10行;计划开工10月28日;原项目号:UC000017;','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3530 where id=4211;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,129,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,129,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,129,30,3,10,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(10,10,0.980000,NULL,1,0,0,NULL,NULL,NULL,129,40,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,0,0,0,NULL,NULL,NULL,129,50,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,129,60,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,129,70,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`owner_user_id`,`status`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000004','总公司10月桑椹原浆供货报价',1613,291,10,'2026-10-15 08:08:00','2026-10-30 18:00:00',28060.00,0,0,28060.00,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','291','2026-10-15 08:08:00','2026-10-15 08:08:00',0,0);
insert into `crm_contract` (`no`,`name`,`customer_id`,`owner_user_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`total_price`,`discount_percent`,`deposit_price`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('HT20261015000004','总公司10月桑椹原浆供货合同',1613,291,20,'2026-10-15 08:23:00','2026-10-15 08:23:00','2026-11-30 18:00:00',28060.00,28060.00,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','291','2026-10-15 08:23:00','2026-10-15 08:23:00',0);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`sale_user_id`,`order_time`,`total_count`,`total_product_price`,`total_tax_price`,`total_price`,`discount_percent`,`discount_price`,`deposit_price`,`out_count`,`out_status`,`production_status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('XSDD20261015000004',20,1613,557,'HT20261015000004',291,'2026-10-15 08:43:00',1000,28060.00,0,28060.00,0,0,0,0,0,0,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。','291','291','2026-10-15 08:43:00','2026-10-15 08:43:00',0);
update `crm_contract` set `order_id`=1070,`order_no`='XSDD20261015000004' where id=557;
update `crm_sale_quotation` set `contract_id`=557,`contract_no`='HT20261015000004' where id=557;
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`remind_days`,`remind_time`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1613,557,291,'2026-11-30 16:00:00',8,28060.00,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','291','2026-10-15 08:28:00','2026-10-15 08:28:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(9,557,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(5,557,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(8,58,291,1,'291','291','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`quotation_price`,`tax_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values(557,2000,9,28.06,1000,28060.00,28.06,0,'291','291','2026-10-15 08:13:00','2026-10-15 08:13:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`count`,`total_price`,`contract_price`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(557,2000,9,28.06,1000,28060.00,28.06,'291','291','2026-10-15 08:23:00','2026-10-15 08:23:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_price`,`out_count`,`need_production`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1070,2000,9,28.06,1000,28060.00,0,0,1,'原项目号:U2100282;;原进度:10月15号左右发货','291','291','2026-10-15 08:43:00','2026-10-15 08:43:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(30,'WO_20261015016',16,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_scheduled`,`quantity_changed`,`client_id`,`route_id`,`request_date`,`parent_id`,`status`,`auto_finish_flag`,`is_feedback_approve`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('WO_20261015016','桑椹原浆生产工单',1,1,'XSDD20261015000004',2000,1000,0,0,0,1613,17,'2026-10-16 18:00:00',0,1,1,0,'来源10月15日未缴库计划;计划开工10月16日;待排产;未提前报工','244','244','2026-10-15 09:10:00','2026-10-15 09:10:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(65,'MPS20261015013',13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`work_order_id`,`work_order_code`,`merge_flag`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015013',1,1070,'XSDD20261015000004',4212,2000,1000,0,9,1613,'2026-10-16 18:00:00','2026-10-15 09:10:00',130,'WO_20261015016',0,'来源:电商已下单10月份缴库产品第11行;计划开工10月16日;原项目号:U2100282;;原进度:10月15号左右发货','244','244','2026-10-15 09:00:00','2026-10-15 09:00:00',0,0);
update `erp_sale_order_items` set `mps_id`=3531 where id=4212;
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1,1,0.980000,NULL,0,0,0,NULL,NULL,NULL,130,10,3,2,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(2,2,0.980000,NULL,0,0,0,NULL,NULL,NULL,130,20,3,3,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(3,3,0.980000,NULL,0,0,0,NULL,NULL,NULL,130,30,3,20,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(20,21,0.980000,NULL,0,0,0,NULL,NULL,NULL,130,40,3,21,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(21,31,0.980000,NULL,0,0,0,NULL,NULL,NULL,130,50,3,22,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(22,32,0.980000,NULL,0,0,0,NULL,NULL,NULL,130,60,3,23,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(23,33,0.980000,NULL,0,0,0,NULL,NULL,NULL,130,70,3,24,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(24,52,0.980000,NULL,1,0,0,NULL,NULL,NULL,130,80,3,25,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(25,51,0.980000,NULL,0,0,0,NULL,NULL,NULL,130,90,3,27,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(27,28,0.980000,NULL,0,0,0,NULL,NULL,NULL,130,100,3,11,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(11,11,0.980000,NULL,0,0,0,NULL,NULL,NULL,130,110,3,12,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(12,12,0.980000,NULL,0,1,0,NULL,NULL,NULL,130,120,3,13,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`process_id`,`param_template_id`,`yield_rate`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`prepare_time`,`wait_time`,`work_order_id`,`sort`,`link_type`,`next_process_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(13,13,0.980000,NULL,0,0,0,NULL,NULL,NULL,130,130,3,NULL,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(31,'TK_20261015015',15,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`changed_quantity`,`client_id`,`start_time`,`end_time`,`duration`,`status`,`first_feedback_time`,`last_feedback_time`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('TK_20261015015','γ-氨基丁酸营养素饮品(蜜桃味)-11',118,11,23,11,11,517,20009,800,800,0,0,1613,'2026-10-15 13:43:00','2026-10-15 16:43:00',3,2,'2026-10-15 14:38:49','2026-10-15 14:38:49','半成品已生产完毕;本次仅排剩余包装、检验及缴库,尚未成品入库。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_task_assignee` (`task_id`,`user_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1058,244,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(33,'FB_20261015001',1,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_feedback` (`code`,`type`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('FB_20261015001',1,'2026-10-15 14:38:49',11,23,11,118,1058,517,20009,800,800,0,0,0,0,0,244,244,4,'按本次录入要求记录今日包装部分完成800盒;非末道工序,不增加成品库存。','244','244','2026-10-15 14:38:49','2026-10-15 14:38:49',0);
insert into `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,1058,11,'PT-STP-011','外包装参数模板-011','TASK-1058','排产生成参数快照;实际参数待现场填写。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(204,16,'PP-STP-COUNT','包装数量',1,0,24,'要求:原文未指定统一数值,记录实际值;不得套用其他产品标准。;;来源:STP-SG-003-01、STP-DY-007-00、STP-SG-002-04、STP-GT-015-04、STP-GT-016-04、STP-GY-001-06、STP-DY-001-02、STP-GT-009-07、STP-GY-002-05、STP-SG-001-09、STP-GT-010-05、STP-FB-005-00、STP-YL-006-00、STP-YL-016-00、STP-YL-008-00、STP-YL-010-00、STP-YL-015-00、STP-YL-018-00、STP-YL-009-00、STP-YL-012-00、STP-YL-017-00、STP-YL-011-00、STP-YL-007-00、STP-YL-013-00;实际值由现场录入。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(31,'TK_20261015016',16,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`changed_quantity`,`client_id`,`start_time`,`end_time`,`duration`,`status`,`first_feedback_time`,`last_feedback_time`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('TK_20261015016','γ-氨基丁酸营养素饮品(蜜桃味)-12',118,12,23,12,12,517,19609,0,0,0,0,1613,'2026-10-15 16:43:00','2026-10-19 15:43:00',17,0,NULL,NULL,'半成品已生产完毕;本次仅排剩余包装、检验及缴库,尚未成品入库。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_task_assignee` (`task_id`,`user_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1059,244,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,1059,12,'PT-STP-012','成品检验参数模板-012','TASK-1059','排产生成参数快照;实际参数待现场填写。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(205,17,'PP-STP-SAMPLE','检验抽样数量',1,0,24,'要求:原文未指定统一数值,记录实际值;不得套用其他产品标准。;;来源:STP-SG-003-01、STP-DY-007-00、STP-SG-002-04、STP-GT-015-04、STP-GT-016-04、STP-GY-001-06、STP-DY-001-02、STP-GT-009-07、STP-GY-002-05、STP-SG-001-09、STP-GT-010-05、STP-FB-005-00、STP-YL-006-00、STP-YL-016-00、STP-YL-008-00、STP-YL-010-00、STP-YL-015-00、STP-YL-018-00、STP-YL-009-00、STP-YL-012-00、STP-YL-017-00、STP-YL-011-00、STP-YL-007-00、STP-YL-013-00;实际值由现场录入。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(31,'TK_20261015017',17,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`changed_quantity`,`client_id`,`start_time`,`end_time`,`duration`,`status`,`first_feedback_time`,`last_feedback_time`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values('TK_20261015017','γ-氨基丁酸营养素饮品(蜜桃味)-13',118,13,23,13,13,517,19216,0,0,0,0,1613,'2026-10-19 15:43:00','2026-10-23 09:43:00',30,0,NULL,NULL,'半成品已生产完毕;本次仅排剩余包装、检验及缴库,尚未成品入库。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_task_assignee` (`task_id`,`user_id`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(1060,244,'244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record` (`work_order_id`,`task_id`,`template_id`,`template_code`,`template_name`,`record_no`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(118,1060,13,'PT-STP-013','成品入库参数模板-013','TASK-1060','排产生成参数快照;实际参数待现场填写。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`remark`,`creator`,`updater`,`create_time`,`update_time`,`deleted`) values(206,18,'PP-STP-COUNT','包装数量',1,0,24,'要求:原文未指定统一数值,记录实际值;不得套用其他产品标准。;;来源:STP-SG-003-01、STP-DY-007-00、STP-SG-002-04、STP-GT-015-04、STP-GT-016-04、STP-GY-001-06、STP-DY-001-02、STP-GT-009-07、STP-GY-002-05、STP-SG-001-09、STP-GT-010-05、STP-FB-005-00、STP-YL-006-00、STP-YL-016-00、STP-YL-008-00、STP-YL-010-00、STP-YL-015-00、STP-YL-018-00、STP-YL-009-00、STP-YL-012-00、STP-YL-017-00、STP-YL-011-00、STP-YL-007-00、STP-YL-013-00;实际值由现场录入。','244','244','2026-10-15 08:00:00','2026-10-15 08:00:00',0);
update `mes_pro_work_order` set `quantity_scheduled`=19216 where id=118;
update `mes_pro_work_order` set `request_date`='2026-10-23 18:00:00' where id=118;
update `mes_pro_mps` set `request_date`='2026-10-23 18:00:00' where id=3519;
ROLLBACK;
scripts/ecommerce-production-20261015/protected-counts-before.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,7 @@
{
  "crm_receivable": 5,
  "mes_wm_transaction": 1454,
  "mes_wm_material_stock": 976,
  "mes_wm_product_receipt": 4,
  "mes_wm_product_sales": 27
}
scripts/ecommerce-production-20261015/remote-applied.sql
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,399 @@
START TRANSACTION;
update `mdm_item` set `name`='黑枸杞250克(50克*5)',`unit_measure_id`=9 where id=485;
update `mdm_item` set `name`='黑果枸杞-250克甲级',`specification`='250克',`unit_measure_id`=8 where id=486;
update `mdm_item` set `name`='黑枸杞 å¤§æžœ 500克(250克*2)特优级',`specification`='500克(250克*2)',`unit_measure_id`=64 where id=487;
update `mdm_item` set `name`='枸杞原浆-300ml',`unit_measure_id`=9 where id=497;
update `mdm_item` set `name`='红黑枸杞原浆礼盒-1800ml(30ml*60袋)',`specification`='1800ml',`unit_measure_id`=9 where id=502;
update `mdm_item` set `name`='γ-氨基丁酸酸枣仁饮品(桃子味)',`specification`='350ml(35ml×10)',`unit_measure_id`=9 where id=512;
update `mdm_item` set `name`='γ-氨基丁酸营养素饮品(蜜桃味)',`specification`='350ml(35ml×10)',`unit_measure_id`=9 where id=517;
update `mdm_item` set `name`='黑红枸杞原浆-30ml',`specification`='30ml' where id=1510;
update `mdm_item` set `specification`='500ml(50ml*10)' where id=1541;
insert into `mdm_item` (`code`,`name`,`bar_code`,`specification`,`category_id`,`unit_measure_id`,`unit_measure_id2`,`unit_measure_rate1`,`unit_measure_id3`,`unit_measure_rate2`,`warehouse_id`,`warehouse_code`,`brand_id`,`item_type`,`status`,`purchase_price`,`sales_price`,`cost_price`,`min_price`,`safety_stock`,`min_stock`,`max_stock`,`min_order_qty`,`lead_time`,`is_batch_managed`,`is_serial_managed`,`barcode_rule_id`,`expiry_day`,`high_value`,`weight`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('12100271','黑果枸杞-90克',NULL,'90克',13,8,NULL,NULL,NULL,NULL,18,NULL,NULL,3,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,0,NULL,'来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。','244','2026-10-15 08:00:00','244','2026-10-15 06:39:37',0);
insert into `mdm_item` (`code`,`name`,`bar_code`,`specification`,`category_id`,`unit_measure_id`,`unit_measure_id2`,`unit_measure_rate1`,`unit_measure_id3`,`unit_measure_rate2`,`warehouse_id`,`warehouse_code`,`brand_id`,`item_type`,`status`,`purchase_price`,`sales_price`,`cost_price`,`min_price`,`safety_stock`,`min_stock`,`max_stock`,`min_order_qty`,`lead_time`,`is_batch_managed`,`is_serial_managed`,`barcode_rule_id`,`expiry_day`,`high_value`,`weight`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('UC000017','雪菊',NULL,'50g',6,8,NULL,NULL,NULL,NULL,18,NULL,NULL,3,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,0,NULL,'来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mdm_item` (`code`,`name`,`bar_code`,`specification`,`category_id`,`unit_measure_id`,`unit_measure_id2`,`unit_measure_rate1`,`unit_measure_id3`,`unit_measure_rate2`,`warehouse_id`,`warehouse_code`,`brand_id`,`item_type`,`status`,`purchase_price`,`sales_price`,`cost_price`,`min_price`,`safety_stock`,`min_stock`,`max_stock`,`min_order_qty`,`lead_time`,`is_batch_managed`,`is_serial_managed`,`barcode_rule_id`,`expiry_day`,`high_value`,`weight`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('U2100282','桑椹原浆',NULL,'500ml(50ml*10)',9,9,NULL,NULL,NULL,NULL,18,NULL,NULL,3,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,0,NULL,'来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。','244','2026-10-15 08:00:00','244','2026-10-15 06:39:37',0);
update `mes_md_item` set `name`='黑枸杞250克(50克*5)',`unit_measure_id`=9 where id=485;
update `mes_md_item` set `name`='黑果枸杞-250克甲级',`specification`='250克',`unit_measure_id`=8 where id=486;
update `mes_md_item` set `name`='黑枸杞 å¤§æžœ 500克(250克*2)特优级',`specification`='500克(250克*2)',`unit_measure_id`=64 where id=487;
update `mes_md_item` set `name`='枸杞原浆-300ml',`unit_measure_id`=9 where id=497;
update `mes_md_item` set `name`='红黑枸杞原浆礼盒-1800ml(30ml*60袋)',`specification`='1800ml',`unit_measure_id`=9 where id=502;
update `mes_md_item` set `name`='γ-氨基丁酸酸枣仁饮品(桃子味)',`specification`='350ml(35ml×10)',`unit_measure_id`=9 where id=512;
update `mes_md_item` set `name`='γ-氨基丁酸营养素饮品(蜜桃味)',`specification`='350ml(35ml×10)',`unit_measure_id`=9 where id=517;
update `mes_md_item` set `name`='黑红枸杞原浆-30ml',`specification`='30ml' where id=1510;
update `mes_md_item` set `specification`='500ml(50ml*10)' where id=1541;
insert into `mes_md_item` (`mdm_item_id`,`code`,`name`,`specification`,`unit_measure_id`,`item_type_id`,`status`,`safe_stock_flag`,`min_stock`,`max_stock`,`high_value`,`batch_flag`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(2004,'12100271','黑果枸杞-90克','90克',8,NULL,0,0,NULL,NULL,0,0,'来源10月15日电商未缴库计划','244','2026-10-15 08:00:00','244','2026-10-15 06:39:37',0);
insert into `mes_md_item` (`mdm_item_id`,`code`,`name`,`specification`,`unit_measure_id`,`item_type_id`,`status`,`safe_stock_flag`,`min_stock`,`max_stock`,`high_value`,`batch_flag`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(2005,'UC000017','雪菊','50g',8,NULL,0,0,NULL,NULL,0,0,'来源10月15日电商未缴库计划','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_item` (`mdm_item_id`,`code`,`name`,`specification`,`unit_measure_id`,`item_type_id`,`status`,`safe_stock_flag`,`min_stock`,`max_stock`,`high_value`,`batch_flag`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(2006,'U2100282','桑椹原浆','500ml(50ml*10)',9,NULL,0,0,NULL,NULL,0,0,'来源10月15日电商未缴库计划','244','2026-10-15 08:00:00','244','2026-10-15 06:39:37',0);
insert into `mes_pro_route` (`code`,`name`,`description`,`status`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('RT-FLOWER-BOTTLE-PACK','花类瓶装分装包装工艺路线',NULL,0,'用于50g雪菊分装包装;工序沿用现有基础工序,不新增配方参数。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`route_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(60,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`route_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(60,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`route_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(60,3,3,'0.980000',30,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`route_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(60,10,10,'0.980000',40,11,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`route_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(60,11,11,'0.980000',50,12,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`route_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(60,12,12,'0.980000',60,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`route_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(60,13,13,'0.980000',70,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_product` (`route_id`,`item_id`,`quantity`,`production_time`,`time_unit_type`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(57,502,NULL,NULL,NULL,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_product` (`route_id`,`item_id`,`quantity`,`production_time`,`time_unit_type`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(18,1510,NULL,NULL,NULL,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_product` (`route_id`,`item_id`,`quantity`,`production_time`,`time_unit_type`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(13,2004,NULL,NULL,NULL,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_product` (`route_id`,`item_id`,`quantity`,`production_time`,`time_unit_type`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(60,2005,NULL,NULL,NULL,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_product` (`route_id`,`item_id`,`quantity`,`production_time`,`time_unit_type`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(17,2006,NULL,NULL,NULL,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`business_id`,`contact_id`,`owner_user_id`,`status`,`process_instance_id`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_rate`,`tax_price`,`contract_id`,`contract_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000001','总公司10月营养保健供货报价',1613,NULL,NULL,291,10,NULL,'2026-10-15 08:05:00','2026-10-30 18:00:00','1475658.400000','0.00','0.000000','1475658.400000',NULL,'0.000000',NULL,'HT20261015000001','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','2026-10-15 08:05:00','291','2026-10-15 06:39:37',0,0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`business_id`,`contact_id`,`owner_user_id`,`status`,`process_instance_id`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_rate`,`tax_price`,`contract_id`,`contract_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000002','总公司10月原浆供货供货报价',1613,NULL,NULL,291,10,NULL,'2026-10-15 08:06:00','2026-10-30 18:00:00','424723.000000','0.00','0.000000','424723.000000',NULL,'0.000000',NULL,'HT20261015000002','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','2026-10-15 08:06:00','291','2026-10-15 06:39:37',0,0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`business_id`,`contact_id`,`owner_user_id`,`status`,`process_instance_id`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_rate`,`tax_price`,`contract_id`,`contract_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000003','总公司10月枸杞及雪菊供货报价',1613,NULL,NULL,291,10,NULL,'2026-10-15 08:07:00','2026-10-30 18:00:00','133911.780000','0.00','0.000000','133911.780000',NULL,'0.000000',NULL,'HT20261015000003','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','2026-10-15 08:07:00','291','2026-10-15 06:39:38',0,0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`business_id`,`contact_id`,`owner_user_id`,`status`,`process_instance_id`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_rate`,`tax_price`,`contract_id`,`contract_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000004','总公司10月桑椹原浆供货报价',1613,NULL,NULL,291,10,NULL,'2026-10-15 08:08:00','2026-10-30 18:00:00','28060.000000','0.00','0.000000','28060.000000',NULL,'0.000000',NULL,'HT20261015000004','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','2026-10-15 08:08:00','291','2026-10-15 06:39:38',0,0);
insert into `crm_contract` (`name`,`no`,`customer_id`,`business_id`,`contact_last_time`,`owner_user_id`,`process_instance_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`discount_percent`,`total_price`,`deposit_price`,`order_id`,`order_no`,`sign_contact_id`,`sign_user_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('总公司10月营养保健供货合同','HT20261015000001',1613,NULL,NULL,291,NULL,20,'2026-10-15 08:20:00','2026-10-15 08:20:00','2026-11-30 18:00:00','1475658.400000','0.000000','1475658.400000','0.000000',NULL,'XSDD20261015000001',NULL,NULL,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','2026-10-15 08:20:00','291','2026-10-15 06:39:37',0);
insert into `crm_contract` (`name`,`no`,`customer_id`,`business_id`,`contact_last_time`,`owner_user_id`,`process_instance_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`discount_percent`,`total_price`,`deposit_price`,`order_id`,`order_no`,`sign_contact_id`,`sign_user_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('总公司10月原浆供货供货合同','HT20261015000002',1613,NULL,NULL,291,NULL,20,'2026-10-15 08:21:00','2026-10-15 08:21:00','2026-11-30 18:00:00','424723.000000','0.000000','424723.000000','0.000000',NULL,'XSDD20261015000002',NULL,NULL,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','2026-10-15 08:21:00','291','2026-10-15 06:39:37',0);
insert into `crm_contract` (`name`,`no`,`customer_id`,`business_id`,`contact_last_time`,`owner_user_id`,`process_instance_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`discount_percent`,`total_price`,`deposit_price`,`order_id`,`order_no`,`sign_contact_id`,`sign_user_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('总公司10月枸杞及雪菊供货合同','HT20261015000003',1613,NULL,NULL,291,NULL,20,'2026-10-15 08:22:00','2026-10-15 08:22:00','2026-11-30 18:00:00','133911.780000','0.000000','133911.780000','0.000000',NULL,'XSDD20261015000003',NULL,NULL,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','2026-10-15 08:22:00','291','2026-10-15 06:39:38',0);
insert into `crm_contract` (`name`,`no`,`customer_id`,`business_id`,`contact_last_time`,`owner_user_id`,`process_instance_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`discount_percent`,`total_price`,`deposit_price`,`order_id`,`order_no`,`sign_contact_id`,`sign_user_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('总公司10月桑椹原浆供货合同','HT20261015000004',1613,NULL,NULL,291,NULL,20,'2026-10-15 08:23:00','2026-10-15 08:23:00','2026-11-30 18:00:00','28060.000000','0.000000','28060.000000','0.000000',NULL,'XSDD20261015000004',NULL,NULL,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','2026-10-15 08:23:00','291','2026-10-15 06:39:38',0);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`account_id`,`sale_user_id`,`order_time`,`total_count`,`total_price`,`total_product_price`,`total_tax_price`,`discount_percent`,`discount_price`,`deposit_price`,`remark`,`process_instance_id`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`out_status`,`production_status`,`production_finish_time`) values('XSDD20261015000001',20,1613,558,'HT20261015000001',NULL,291,'2026-10-15 08:40:00','67208.000000','1475658.400000','1475658.400000','0.000000','0.000000','0.000000','0.000000','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。',NULL,'291','2026-10-15 08:40:00','291','2026-10-15 08:40:00',0,'0.000000',0,0,NULL);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`account_id`,`sale_user_id`,`order_time`,`total_count`,`total_price`,`total_product_price`,`total_tax_price`,`discount_percent`,`discount_price`,`deposit_price`,`remark`,`process_instance_id`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`out_status`,`production_status`,`production_finish_time`) values('XSDD20261015000002',20,1613,559,'HT20261015000002',NULL,291,'2026-10-15 08:41:00','104433.000000','424723.000000','424723.000000','0.000000','0.000000','0.000000','0.000000','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。',NULL,'291','2026-10-15 08:41:00','291','2026-10-15 08:41:00',0,'0.000000',0,0,NULL);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`account_id`,`sale_user_id`,`order_time`,`total_count`,`total_price`,`total_product_price`,`total_tax_price`,`discount_percent`,`discount_price`,`deposit_price`,`remark`,`process_instance_id`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`out_status`,`production_status`,`production_finish_time`) values('XSDD20261015000003',20,1613,560,'HT20261015000003',NULL,291,'2026-10-15 08:42:00','2904.000000','133911.780000','133911.780000','0.000000','0.000000','0.000000','0.000000','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。',NULL,'291','2026-10-15 08:42:00','291','2026-10-15 08:42:00',0,'0.000000',0,0,NULL);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`account_id`,`sale_user_id`,`order_time`,`total_count`,`total_price`,`total_product_price`,`total_tax_price`,`discount_percent`,`discount_price`,`deposit_price`,`remark`,`process_instance_id`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`out_status`,`production_status`,`production_finish_time`) values('XSDD20261015000004',20,1613,561,'HT20261015000004',NULL,291,'2026-10-15 08:43:00','1000.000000','28060.000000','28060.000000','0.000000','0.000000','0.000000','0.000000','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。',NULL,'291','2026-10-15 08:43:00','291','2026-10-15 08:43:00',0,'0.000000',0,0,NULL);
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`receivable_id`,`remind_days`,`remind_time`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(1,1613,558,291,'2026-11-30 16:00:00',8,'1475658.400000',NULL,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','2026-10-15 08:25:00','291','2026-10-15 08:25:00',0);
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`receivable_id`,`remind_days`,`remind_time`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(1,1613,559,291,'2026-11-30 16:00:00',8,'424723.000000',NULL,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','2026-10-15 08:26:00','291','2026-10-15 08:26:00',0);
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`receivable_id`,`remind_days`,`remind_time`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(1,1613,560,291,'2026-11-30 16:00:00',8,'133911.780000',NULL,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','2026-10-15 08:27:00','291','2026-10-15 08:27:00',0);
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`receivable_id`,`remind_days`,`remind_time`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(1,1613,561,291,'2026-11-30 16:00:00',8,'28060.000000',NULL,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','2026-10-15 08:28:00','291','2026-10-15 08:28:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(558,517,9,'15.400000','15.400000','19216.000000','295926.400000',NULL,'0.000000',NULL,'291','2026-10-15 08:10:00','291','2026-10-15 08:10:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(558,512,9,'14.900000','14.900000','30000.000000','447000.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:10:00','291','2026-10-15 08:10:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(558,1541,9,'46.500000','46.500000','10000.000000','465000.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:10:00','291','2026-10-15 08:10:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(558,1542,9,'33.500000','33.500000','7992.000000','267732.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:10:00','291','2026-10-15 08:10:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(559,502,9,'63.000000','63.000000','3033.000000','191079.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:11:00','291','2026-10-15 08:11:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(559,1510,3,'2.120000','2.120000','100000.000000','212000.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:11:00','291','2026-10-15 08:11:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(559,497,9,'15.460000','15.460000','1400.000000','21644.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:11:00','291','2026-10-15 08:11:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(560,485,9,'122.740000','122.740000','168.000000','20620.320000',NULL,'0.000000',NULL,'291','2026-10-15 08:12:00','291','2026-10-15 08:12:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(560,487,64,'75.810000','75.810000','666.000000','50489.460000',NULL,'0.000000',NULL,'291','2026-10-15 08:12:00','291','2026-10-15 08:12:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(560,486,8,'21.480000','21.480000','1800.000000','38664.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:12:00','291','2026-10-15 08:12:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(560,2004,8,'179.100000','179.100000','90.000000','16119.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:12:00','291','2026-10-15 08:12:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(560,2005,8,'44.550000','44.550000','180.000000','8019.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:12:00','291','2026-10-15 08:12:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(561,2006,9,'28.060000','28.060000','1000.000000','28060.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:13:00','291','2026-10-15 08:13:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(558,517,9,'15.400000','15.400000','19216.000000','295926.400000','291','2026-10-15 08:20:00','291','2026-10-15 08:20:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(558,512,9,'14.900000','14.900000','30000.000000','447000.000000','291','2026-10-15 08:20:00','291','2026-10-15 08:20:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(558,1541,9,'46.500000','46.500000','10000.000000','465000.000000','291','2026-10-15 08:20:00','291','2026-10-15 08:20:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(558,1542,9,'33.500000','33.500000','7992.000000','267732.000000','291','2026-10-15 08:20:00','291','2026-10-15 08:20:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(559,502,9,'63.000000','63.000000','3033.000000','191079.000000','291','2026-10-15 08:21:00','291','2026-10-15 08:21:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(559,1510,3,'2.120000','2.120000','100000.000000','212000.000000','291','2026-10-15 08:21:00','291','2026-10-15 08:21:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(559,497,9,'15.460000','15.460000','1400.000000','21644.000000','291','2026-10-15 08:21:00','291','2026-10-15 08:21:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(560,485,9,'122.740000','122.740000','168.000000','20620.320000','291','2026-10-15 08:22:00','291','2026-10-15 08:22:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(560,487,64,'75.810000','75.810000','666.000000','50489.460000','291','2026-10-15 08:22:00','291','2026-10-15 08:22:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(560,486,8,'21.480000','21.480000','1800.000000','38664.000000','291','2026-10-15 08:22:00','291','2026-10-15 08:22:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(560,2004,8,'179.100000','179.100000','90.000000','16119.000000','291','2026-10-15 08:22:00','291','2026-10-15 08:22:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(560,2005,8,'44.550000','44.550000','180.000000','8019.000000','291','2026-10-15 08:22:00','291','2026-10-15 08:22:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(561,2006,9,'28.060000','28.060000','1000.000000','28060.000000','291','2026-10-15 08:23:00','291','2026-10-15 08:23:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1071,517,9,'15.400000','19216.000000','295926.400000',NULL,'0.000000','原项目号:Q2100202;半成品已生产完毕等通知发货','291','2026-10-15 08:40:00','291','2026-10-15 06:39:37',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1071,512,9,'14.900000','30000.000000','447000.000000',NULL,'0.000000','原项目号:Q2100201;','291','2026-10-15 08:40:00','291','2026-10-15 06:39:37',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1071,1541,9,'46.500000','10000.000000','465000.000000',NULL,'0.000000','原项目号:U2100335;','291','2026-10-15 08:40:00','291','2026-10-15 06:39:37',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1071,1542,9,'33.500000','7992.000000','267732.000000',NULL,'0.000000','原项目号:U2100336;半成品已生产完毕等通知发货','291','2026-10-15 08:40:00','291','2026-10-15 06:39:37',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1072,502,9,'63.000000','3033.000000','191079.000000',NULL,'0.000000','原项目号:Q2100197、Q2100196、81013526;','291','2026-10-15 08:41:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1072,1510,3,'2.120000','100000.000000','212000.000000',NULL,'0.000000','原项目号:Q2100314;','291','2026-10-15 08:41:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1072,497,9,'15.460000','1400.000000','21644.000000',NULL,'0.000000','原项目号:Q2100080;','291','2026-10-15 08:41:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1073,485,9,'122.740000','168.000000','20620.320000',NULL,'0.000000','原项目号:Q2100073;','291','2026-10-15 08:42:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1073,487,64,'75.810000','666.000000','50489.460000',NULL,'0.000000','原项目号:Q2100077;','291','2026-10-15 08:42:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1073,486,8,'21.480000','1800.000000','38664.000000',NULL,'0.000000','原项目号:Q2100078;','291','2026-10-15 08:42:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1073,2004,8,'179.100000','90.000000','16119.000000',NULL,'0.000000','原项目号:12100271;','291','2026-10-15 08:42:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1073,2005,8,'44.550000','180.000000','8019.000000',NULL,'0.000000','原项目号:UC000017;','291','2026-10-15 08:42:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1074,2006,9,'28.060000','1000.000000','28060.000000',NULL,'0.000000','原项目号:U2100282;;原进度:10月15号左右发货','291','2026-10-15 08:43:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015004','γ-氨基丁酸营养素饮品(蜜桃味)生产工单',1,1,'XSDD20261015000001',517,'19216.000000','0.000000','0.000000','19216.000000',1613,NULL,NULL,23,1,'2026-10-23 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月15日;半成品已生产完毕等通知发货','244','2026-10-15 09:10:00','244','2026-10-15 06:39:38',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015005','γ-氨基丁酸酸枣仁饮品(桃子味)生产工单',1,1,'XSDD20261015000001',512,'30000.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,20,1,'2026-10-23 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月20日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015006','血蛋白营养素饮生产工单',1,1,'XSDD20261015000001',1541,'10000.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,56,1,'2026-10-27 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月22日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015007','血红素铁红枣饮生产工单',1,1,'XSDD20261015000001',1542,'7992.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,56,1,'2026-10-21 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月19日;半成品已生产完毕等通知发货','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015008','红黑枸杞原浆礼盒-1800ml(30ml*60袋)生产工单',1,1,'XSDD20261015000002',502,'3033.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,57,1,'2026-10-22 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月20日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015009','黑红枸杞原浆-30ml生产工单',1,1,'XSDD20261015000002',1510,'100000.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,18,1,'2026-10-30 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月21日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015010','枸杞原浆-300ml生产工单',1,1,'XSDD20261015000002',497,'1400.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,36,1,'2026-10-19 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月16日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015011','黑枸杞250克(50克*5)生产工单',1,1,'XSDD20261015000003',485,'168.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,13,1,'2026-10-21 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月19日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015012','黑枸杞 å¤§æžœ 500克(250克*2)特优级生产工单',1,1,'XSDD20261015000003',487,'666.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,13,1,'2026-10-26 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月22日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015013','黑果枸杞-250克甲级生产工单',1,1,'XSDD20261015000003',486,'1800.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,13,1,'2026-10-28 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月26日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015014','黑果枸杞-90克生产工单',1,1,'XSDD20261015000003',2004,'90.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,13,1,'2026-10-29 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月27日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015015','雪菊生产工单',1,1,'XSDD20261015000003',2005,'180.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,60,1,'2026-10-30 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月28日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015016','桑椹原浆生产工单',1,1,'XSDD20261015000004',2006,'1000.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,17,1,'2026-10-16 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月16日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015001',1,1071,'XSDD20261015000001',4213,517,'19216.000000','0.000000',9,1613,'2026-10-23 18:00:00','2026-10-15 09:10:00',NULL,129,'WO_20261015004',0,NULL,'来源:营养保健第3行;计划开工10月15日;原项目号:Q2100202;半成品已生产完毕等通知发货','244','2026-10-15 09:00:00','244','2026-10-15 06:39:38',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015002',1,1071,'XSDD20261015000001',4214,512,'30000.000000','0.000000',9,1613,'2026-10-23 18:00:00','2026-10-15 09:10:00',NULL,130,'WO_20261015005',0,NULL,'来源:营养保健第4行;计划开工10月20日;原项目号:Q2100201;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015003',1,1071,'XSDD20261015000001',4215,1541,'10000.000000','0.000000',9,1613,'2026-10-27 18:00:00','2026-10-15 09:10:00',NULL,131,'WO_20261015006',0,NULL,'来源:营养保健第5行;计划开工10月22日;原项目号:U2100335;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015004',1,1071,'XSDD20261015000001',4216,1542,'7992.000000','0.000000',9,1613,'2026-10-21 18:00:00','2026-10-15 09:10:00',NULL,132,'WO_20261015007',0,NULL,'来源:营养保健第6行;计划开工10月19日;原项目号:U2100336;半成品已生产完毕等通知发货','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015005',1,1072,'XSDD20261015000002',4217,502,'3033.000000','0.000000',9,1613,'2026-10-22 18:00:00','2026-10-15 09:10:00',NULL,133,'WO_20261015008',0,NULL,'来源:电商已下单10月份缴库产品第3行;计划开工10月20日;原项目号:Q2100197、Q2100196、81013526;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015006',1,1072,'XSDD20261015000002',4218,1510,'100000.000000','0.000000',3,1613,'2026-10-30 18:00:00','2026-10-15 09:10:00',NULL,134,'WO_20261015009',0,NULL,'来源:电商已下单10月份缴库产品第5行;计划开工10月21日;原项目号:Q2100314;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015007',1,1072,'XSDD20261015000002',4219,497,'1400.000000','0.000000',9,1613,'2026-10-19 18:00:00','2026-10-15 09:10:00',NULL,135,'WO_20261015010',0,NULL,'来源:电商已下单10月份缴库产品第7行;计划开工10月16日;原项目号:Q2100080;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015008',1,1073,'XSDD20261015000003',4220,485,'168.000000','0.000000',9,1613,'2026-10-21 18:00:00','2026-10-15 09:10:00',NULL,136,'WO_20261015011',0,NULL,'来源:电商已下单10月份缴库产品第4行;计划开工10月19日;原项目号:Q2100073;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015009',1,1073,'XSDD20261015000003',4221,487,'666.000000','0.000000',64,1613,'2026-10-26 18:00:00','2026-10-15 09:10:00',NULL,137,'WO_20261015012',0,NULL,'来源:电商已下单10月份缴库产品第6行;计划开工10月22日;原项目号:Q2100077;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015010',1,1073,'XSDD20261015000003',4222,486,'1800.000000','0.000000',8,1613,'2026-10-28 18:00:00','2026-10-15 09:10:00',NULL,138,'WO_20261015013',0,NULL,'来源:电商已下单10月份缴库产品第8行;计划开工10月26日;原项目号:Q2100078;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015011',1,1073,'XSDD20261015000003',4223,2004,'90.000000','0.000000',8,1613,'2026-10-29 18:00:00','2026-10-15 09:10:00',NULL,139,'WO_20261015014',0,NULL,'来源:电商已下单10月份缴库产品第9行;计划开工10月27日;原项目号:12100271;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015012',1,1073,'XSDD20261015000003',4224,2005,'180.000000','0.000000',8,1613,'2026-10-30 18:00:00','2026-10-15 09:10:00',NULL,140,'WO_20261015015',0,NULL,'来源:电商已下单10月份缴库产品第10行;计划开工10月28日;原项目号:UC000017;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015013',1,1074,'XSDD20261015000004',4225,2006,'1000.000000','0.000000',9,1613,'2026-10-16 18:00:00','2026-10-15 09:10:00',NULL,141,'WO_20261015016',0,NULL,'来源:电商已下单10月份缴库产品第11行;计划开工10月16日;原项目号:U2100282;;原进度:10月15号左右发货','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,11,11,'0.980000',10,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,12,12,'0.980000',20,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,13,13,'0.980000',30,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,3,3,'0.980000',30,36,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,36,44,'0.980000',40,42,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,42,55,'0.980000',50,43,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,43,56,'0.980000',60,21,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,21,22,'0.980000',70,22,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,22,23,'0.980000',80,23,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,23,24,'0.980000',90,24,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,24,57,'0.980000',100,25,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,25,58,'0.980000',110,26,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,26,27,'0.980000',120,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,11,11,'0.980000',130,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,12,12,'0.980000',140,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,13,13,'0.980000',150,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(131,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(131,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(131,3,3,'0.980000',30,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(131,10,10,'0.980000',40,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(131,11,11,'0.980000',50,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(131,12,12,'0.980000',60,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(131,13,13,'0.980000',70,23,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(131,23,23,'0.980000',80,24,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(131,24,24,'0.980000',90,25,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(131,25,25,'0.980000',100,30,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(131,30,30,'0.980000',110,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(132,11,11,'0.980000',10,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(132,12,12,'0.980000',20,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(132,13,13,'0.980000',30,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(133,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(133,2,2,'0.980000',20,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(133,10,10,'0.980000',30,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(133,11,11,'0.980000',40,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(133,12,12,'0.980000',50,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(133,13,13,'0.980000',60,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(134,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(134,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(134,3,3,'0.980000',30,40,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(134,40,53,'0.980000',40,41,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(134,41,54,'0.980000',50,20,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(134,20,21,'0.980000',60,21,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(134,21,22,'0.980000',70,22,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(134,22,23,'0.980000',80,23,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(134,23,24,'0.980000',90,24,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(134,24,25,'0.980000',100,25,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(134,25,26,'0.980000',110,26,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(134,26,27,'0.980000',120,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(134,11,11,'0.980000',130,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(134,12,12,'0.980000',140,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(134,13,13,'0.980000',150,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(135,11,11,'0.980000',10,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(135,12,12,'0.980000',20,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(135,13,13,'0.980000',30,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,3,3,'0.980000',30,4,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,4,4,'0.980000',40,5,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,5,5,'0.980000',50,6,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,6,6,'0.980000',60,7,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,7,7,'0.980000',70,8,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,8,8,'0.980000',80,9,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,9,9,'0.980000',90,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,10,10,'0.980000',100,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,11,11,'0.980000',110,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,12,12,'0.980000',120,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,13,13,'0.980000',130,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,3,3,'0.980000',30,4,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,4,4,'0.980000',40,5,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,5,5,'0.980000',50,6,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,6,6,'0.980000',60,7,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,7,7,'0.980000',70,8,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,8,8,'0.980000',80,9,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,9,9,'0.980000',90,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,10,10,'0.980000',100,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,11,11,'0.980000',110,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,12,12,'0.980000',120,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,13,13,'0.980000',130,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,3,3,'0.980000',30,4,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,4,4,'0.980000',40,5,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,5,5,'0.980000',50,6,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,6,6,'0.980000',60,7,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,7,7,'0.980000',70,8,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,8,8,'0.980000',80,9,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,9,9,'0.980000',90,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,10,10,'0.980000',100,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,11,11,'0.980000',110,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,12,12,'0.980000',120,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,13,13,'0.980000',130,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(139,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(139,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(139,3,3,'0.980000',30,4,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(139,4,4,'0.980000',40,5,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(139,5,5,'0.980000',50,6,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(139,6,6,'0.980000',60,7,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(139,7,7,'0.980000',70,8,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(139,8,8,'0.980000',80,9,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(139,9,9,'0.980000',90,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(139,10,10,'0.980000',100,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(139,11,11,'0.980000',110,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(139,12,12,'0.980000',120,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(139,13,13,'0.980000',130,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(140,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(140,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(140,3,3,'0.980000',30,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(140,10,10,'0.980000',40,11,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(140,11,11,'0.980000',50,12,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(140,12,12,'0.980000',60,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(140,13,13,'0.980000',70,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(141,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(141,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(141,3,3,'0.980000',30,20,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(141,20,21,'0.980000',40,21,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(141,21,31,'0.980000',50,22,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(141,22,32,'0.980000',60,23,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(141,23,33,'0.980000',70,24,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(141,24,52,'0.980000',80,25,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(141,25,51,'0.980000',90,27,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(141,27,28,'0.980000',100,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(141,11,11,'0.980000',110,12,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(141,12,12,'0.980000',120,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(141,13,13,'0.980000',130,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,667,'538.048000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,668,'1076.096000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,672,'1.095312',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,675,'7.340512',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,676,'29.323616',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,677,'1.460416',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,680,'15.372800',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,681,'3.670256',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,683,'219927.120000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,701,'1320.139200',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,702,'73.020800',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,703,'19216.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,704,'1095312.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,705,'7330.904000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,706,'16862.040000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,707,'13927.756800',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,708,'4250.579200',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,709,'3666.412800',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,710,'1466.180800',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,711,'586.088000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(129,NULL,712,'659.108800',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,610,'30000.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,667,'834.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,668,'1680.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,670,'1515.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,671,'462.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,672,'6.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,673,'6.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,674,'12.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,675,'48.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,676,'99.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,677,'6.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,678,'6.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,679,'6.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,680,'36.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,681,'24.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,682,'30000.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,683,'346500.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(130,NULL,684,'12.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(133,NULL,628,'90990.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(133,NULL,630,'3033.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(133,NULL,631,'758.250000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(133,NULL,632,'379.125000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(133,NULL,642,'3033.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(133,NULL,643,'90990.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(135,NULL,610,'1400.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(135,NULL,625,'1400.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(135,NULL,626,'39.200000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(135,NULL,627,'78.400000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(135,NULL,628,'14000.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,NULL,560,'42.336000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,NULL,568,'840.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,NULL,569,'840.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,NULL,570,'168.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,NULL,571,'168.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,NULL,572,'21.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,NULL,573,'42.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(136,NULL,574,'840.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,NULL,574,'1332.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,NULL,576,'1332.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,NULL,577,'1332.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,NULL,582,'335.664000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,NULL,583,'1332.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,NULL,584,'1332.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,NULL,585,'666.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,NULL,586,'55.944000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,NULL,587,'111.222000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(137,NULL,588,'666.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,NULL,574,'1800.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,NULL,575,'453.600000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,NULL,576,'1800.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,NULL,577,'1800.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,NULL,578,'1800.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,NULL,579,'1800.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,NULL,580,'75.600000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(138,NULL,581,'151.200000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`changed_quantity`,`client_id`,`start_time`,`duration`,`end_time`,`color_code`,`finish_date`,`cancel_date`,`first_feedback_time`,`last_feedback_time`,`status`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('TK_20261015015','γ-氨基丁酸营养素饮品(蜜桃味)-11',129,11,23,11,11,517,'20009.000000','800.000000','800.000000','0.000000','0.000000',1613,'2026-10-15 13:43:00',3,'2026-10-15 16:43:00',NULL,NULL,NULL,'2026-10-15 14:39:38','2026-10-15 14:39:38',2,'半成品已生产完毕;本次仅排剩余包装、检验及缴库,尚未成品入库。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`changed_quantity`,`client_id`,`start_time`,`duration`,`end_time`,`color_code`,`finish_date`,`cancel_date`,`first_feedback_time`,`last_feedback_time`,`status`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('TK_20261015016','γ-氨基丁酸营养素饮品(蜜桃味)-12',129,12,23,12,12,517,'19609.000000','0.000000','0.000000','0.000000','0.000000',1613,'2026-10-15 16:43:00',17,'2026-10-19 15:43:00',NULL,NULL,NULL,NULL,NULL,0,'半成品已生产完毕;本次仅排剩余包装、检验及缴库,尚未成品入库。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`changed_quantity`,`client_id`,`start_time`,`duration`,`end_time`,`color_code`,`finish_date`,`cancel_date`,`first_feedback_time`,`last_feedback_time`,`status`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('TK_20261015017','γ-氨基丁酸营养素饮品(蜜桃味)-13',129,13,23,13,13,517,'19216.000000','0.000000','0.000000','0.000000','0.000000',1613,'2026-10-19 15:43:00',30,'2026-10-23 09:43:00',NULL,NULL,NULL,NULL,NULL,0,'半成品已生产完毕;本次仅排剩余包装、检验及缴库,尚未成品入库。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_feedback` (`code`,`type`,`channel`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`expire_date`,`lot_number`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`process_instance_id`,`process_definition_key`) values('FB_20261015001',1,NULL,'2026-10-15 14:39:38',11,23,11,129,1051,517,NULL,NULL,'20009.000000','800.000000','800.000000','0.000000','0.000000','0.000000','0.000000','0.000000',244,244,4,'按本次录入要求记录今日包装部分完成800盒;非末道工序,不增加成品库存。','244','2026-10-15 14:39:38','244','2026-10-15 14:39:38',0,NULL,NULL);
insert into `mes_pro_work_order_param_record` (`work_order_id`,`template_id`,`template_code`,`template_name`,`record_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`task_id`) values(129,11,'PT-STP-011','外包装参数模板-011','TASK-1051','排产生成参数快照;实际参数待现场填写。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0,1051);
insert into `mes_pro_work_order_param_record` (`work_order_id`,`template_id`,`template_code`,`template_name`,`record_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`task_id`) values(129,12,'PT-STP-012','成品检验参数模板-012','TASK-1052','排产生成参数快照;实际参数待现场填写。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0,1052);
insert into `mes_pro_work_order_param_record` (`work_order_id`,`template_id`,`template_code`,`template_name`,`record_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`task_id`) values(129,13,'PT-STP-013','成品入库参数模板-013','TASK-1053','排产生成参数快照;实际参数待现场填写。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0,1053);
insert into `mes_pro_task_assignee` (`task_id`,`user_id`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(1051,244,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_task_assignee` (`task_id`,`user_id`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(1052,244,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_task_assignee` (`task_id`,`user_id`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(1053,244,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(197,16,'PP-STP-COUNT','包装数量',1,0,24,NULL,'要求:原文未指定统一数值,记录实际值;不得套用其他产品标准。;;来源:STP-SG-003-01、STP-DY-007-00、STP-SG-002-04、STP-GT-015-04、STP-GT-016-04、STP-GY-001-06、STP-DY-001-02、STP-GT-009-07、STP-GY-002-05、STP-SG-001-09、STP-GT-010-05、STP-FB-005-00、STP-YL-006-00、STP-YL-016-00、STP-YL-008-00、STP-YL-010-00、STP-YL-015-00、STP-YL-018-00、STP-YL-009-00、STP-YL-012-00、STP-YL-017-00、STP-YL-011-00、STP-YL-007-00、STP-YL-013-00;实际值由现场录入。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(198,17,'PP-STP-SAMPLE','检验抽样数量',1,0,24,NULL,'要求:原文未指定统一数值,记录实际值;不得套用其他产品标准。;;来源:STP-SG-003-01、STP-DY-007-00、STP-SG-002-04、STP-GT-015-04、STP-GT-016-04、STP-GY-001-06、STP-DY-001-02、STP-GT-009-07、STP-GY-002-05、STP-SG-001-09、STP-GT-010-05、STP-FB-005-00、STP-YL-006-00、STP-YL-016-00、STP-YL-008-00、STP-YL-010-00、STP-YL-015-00、STP-YL-018-00、STP-YL-009-00、STP-YL-012-00、STP-YL-017-00、STP-YL-011-00、STP-YL-007-00、STP-YL-013-00;实际值由现场录入。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(199,18,'PP-STP-COUNT','包装数量',1,0,24,NULL,'要求:原文未指定统一数值,记录实际值;不得套用其他产品标准。;;来源:STP-SG-003-01、STP-DY-007-00、STP-SG-002-04、STP-GT-015-04、STP-GT-016-04、STP-GY-001-06、STP-DY-001-02、STP-GT-009-07、STP-GY-002-05、STP-SG-001-09、STP-GT-010-05、STP-FB-005-00、STP-YL-006-00、STP-YL-016-00、STP-YL-008-00、STP-YL-010-00、STP-YL-015-00、STP-YL-018-00、STP-YL-009-00、STP-YL-012-00、STP-YL-017-00、STP-YL-011-00、STP-YL-007-00、STP-YL-013-00;实际值由现场录入。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
update `crm_sale_quotation` set `contract_id`=558 where id=558;
update `crm_sale_quotation` set `contract_id`=559 where id=559;
update `crm_sale_quotation` set `contract_id`=560 where id=560;
update `crm_sale_quotation` set `contract_id`=561 where id=561;
update `crm_contract` set `order_id`=1071 where id=558;
update `crm_contract` set `order_id`=1072 where id=559;
update `crm_contract` set `order_id`=1073 where id=560;
update `crm_contract` set `order_id`=1074 where id=561;
update `erp_sale_order_items` set `mps_id`=3532 where id=4213;
update `erp_sale_order_items` set `mps_id`=3533 where id=4214;
update `erp_sale_order_items` set `mps_id`=3534 where id=4215;
update `erp_sale_order_items` set `mps_id`=3535 where id=4216;
update `erp_sale_order_items` set `mps_id`=3536 where id=4217;
update `erp_sale_order_items` set `mps_id`=3537 where id=4218;
update `erp_sale_order_items` set `mps_id`=3538 where id=4219;
update `erp_sale_order_items` set `mps_id`=3539 where id=4220;
update `erp_sale_order_items` set `mps_id`=3540 where id=4221;
update `erp_sale_order_items` set `mps_id`=3541 where id=4222;
update `erp_sale_order_items` set `mps_id`=3542 where id=4223;
update `erp_sale_order_items` set `mps_id`=3543 where id=4224;
update `erp_sale_order_items` set `mps_id`=3544 where id=4225;
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(9,558,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(5,558,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(8,59,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(9,559,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(5,559,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(8,60,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(9,560,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(5,560,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(8,61,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(9,561,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(5,561,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(8,62,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015004',4,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015001',1,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015005',5,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015002',2,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015006',6,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015003',3,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015007',7,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015004',4,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015008',8,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015005',5,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015009',9,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015006',6,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015010',10,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015007',7,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015011',11,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015008',8,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015012',12,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015009',9,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015013',13,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015010',10,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015014',14,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015011',11,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015015',15,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015012',12,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015016',16,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015013',13,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(31,'TK_20261015015',15,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(31,'TK_20261015016',16,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(31,'TK_20261015017',17,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
COMMIT;
scripts/ecommerce-production-20261015/remote-before-apply.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,1143 @@
[
  {
    "table": "mdm_item",
    "row": {
      "id": 485,
      "code": "Q2100073",
      "name": "黑果枸杞",
      "bar_code": null,
      "specification": "250克(50克*5)",
      "category_id": 8,
      "unit_measure_id": 24,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 1,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": "100.000000",
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:01:23",
      "updater": "1",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 486,
      "code": "Q2100078",
      "name": "黑果枸杞",
      "bar_code": null,
      "specification": "250克(甲级)",
      "category_id": 8,
      "unit_measure_id": 24,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 1,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": "100.000000",
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:02:45",
      "updater": "1",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 487,
      "code": "Q2100077",
      "name": "黑果枸杞",
      "bar_code": null,
      "specification": "500克(特优)",
      "category_id": 8,
      "unit_measure_id": 24,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 1,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": "100.000000",
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:06:01",
      "updater": "1",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 497,
      "code": "Q2100080",
      "name": "枸杞原浆",
      "bar_code": null,
      "specification": "300ml",
      "category_id": 9,
      "unit_measure_id": 24,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 3,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": "100.000000",
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:18:48",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 502,
      "code": "Q2100197",
      "name": "红黑枸杞原浆",
      "bar_code": null,
      "specification": "1.8L",
      "category_id": 9,
      "unit_measure_id": 24,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 3,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": "100.000000",
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:22:34",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 512,
      "code": "Q2100201",
      "name": "γ氨基丁酸酸枣仁饮品(桃子味)",
      "bar_code": null,
      "specification": null,
      "category_id": 9,
      "unit_measure_id": 24,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 1,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": "100.000000",
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:32:30",
      "updater": "1",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 517,
      "code": "Q2100202",
      "name": "γ氨基丁酸酸枣仁饮品(蜜桃味)",
      "bar_code": null,
      "specification": null,
      "category_id": 10,
      "unit_measure_id": 24,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 1,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": "100.000000",
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:37:31",
      "updater": "1",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 1510,
      "code": "Q2100314",
      "name": "黑红枸杞原浆",
      "bar_code": null,
      "specification": "黑果枸杞原浆30ml,红枸杞原浆30ml",
      "category_id": 6,
      "unit_measure_id": 3,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 3,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": null,
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第844行;结存0袋;",
      "creator": "stock-import-202609",
      "create_time": "2026-09-18 17:13:29",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 1541,
      "code": "U2100335",
      "name": "血蛋白营养素饮",
      "bar_code": null,
      "specification": "500ml(50ml×10)",
      "category_id": 6,
      "unit_measure_id": 9,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 3,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": null,
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第543行;结存0盒;",
      "creator": "stock-import-202609",
      "create_time": "2026-09-18 17:44:58",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 485,
      "mdm_item_id": 485,
      "code": "Q2100073",
      "name": "黑果枸杞",
      "specification": "250克(50克*5)",
      "unit_measure_id": 24,
      "item_type_id": 8,
      "status": 0,
      "safe_stock_flag": "b'\\x01'",
      "min_stock": "100.000000",
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:01:08",
      "updater": "1",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 486,
      "mdm_item_id": 486,
      "code": "Q2100078",
      "name": "黑果枸杞",
      "specification": "250克(甲级)",
      "unit_measure_id": 24,
      "item_type_id": 8,
      "status": 0,
      "safe_stock_flag": "b'\\x01'",
      "min_stock": "100.000000",
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:02:17",
      "updater": "1",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 487,
      "mdm_item_id": 487,
      "code": "Q2100077",
      "name": "黑果枸杞",
      "specification": "500克(特优)",
      "unit_measure_id": 24,
      "item_type_id": 8,
      "status": 0,
      "safe_stock_flag": "b'\\x01'",
      "min_stock": "100.000000",
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:03:25",
      "updater": "1",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 497,
      "mdm_item_id": 497,
      "code": "Q2100080",
      "name": "枸杞原浆",
      "specification": "300ml",
      "unit_measure_id": 24,
      "item_type_id": 9,
      "status": 0,
      "safe_stock_flag": "b'\\x01'",
      "min_stock": "100.000000",
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:14:49",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 502,
      "mdm_item_id": 502,
      "code": "Q2100197",
      "name": "红黑枸杞原浆",
      "specification": "1.8L",
      "unit_measure_id": 24,
      "item_type_id": 9,
      "status": 0,
      "safe_stock_flag": "b'\\x01'",
      "min_stock": "100.000000",
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:20:30",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 512,
      "mdm_item_id": 512,
      "code": "Q2100201",
      "name": "γ氨基丁酸酸枣仁饮品(桃子味)",
      "specification": null,
      "unit_measure_id": 24,
      "item_type_id": 9,
      "status": 0,
      "safe_stock_flag": "b'\\x01'",
      "min_stock": "100.000000",
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": null,
      "creator": "244",
      "create_time": "2026-09-17 09:31:54",
      "updater": "1",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 517,
      "mdm_item_id": 517,
      "code": "Q2100202",
      "name": "γ氨基丁酸酸枣仁饮品(蜜桃味)",
      "specification": null,
      "unit_measure_id": 24,
      "item_type_id": 10,
      "status": 0,
      "safe_stock_flag": "b'\\x01'",
      "min_stock": "100.000000",
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": null,
      "creator": "244",
      "create_time": "2026-09-17 09:37:36",
      "updater": "1",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 1510,
      "mdm_item_id": 1510,
      "code": "Q2100314",
      "name": "黑红枸杞原浆",
      "specification": "黑果枸杞原浆30ml,红枸杞原浆30ml",
      "unit_measure_id": 3,
      "item_type_id": 6,
      "status": 0,
      "safe_stock_flag": "b'\\x00'",
      "min_stock": null,
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第844行;结存0袋;",
      "creator": "stock-material-repair",
      "create_time": "2026-09-18 17:21:37",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 1541,
      "mdm_item_id": 1541,
      "code": "U2100335",
      "name": "血蛋白营养素饮",
      "specification": "500ml(50ml×10)",
      "unit_measure_id": 9,
      "item_type_id": 6,
      "status": 0,
      "safe_stock_flag": "b'\\x00'",
      "min_stock": null,
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第543行;结存0盒;",
      "creator": "stock-material-repair",
      "create_time": "2026-09-18 17:49:41",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "crm_sale_quotation",
    "row": {
      "id": 558,
      "no": "QT20261015000001",
      "name": "总公司10月营养保健供货报价",
      "customer_id": 1613,
      "business_id": null,
      "contact_id": null,
      "owner_user_id": 291,
      "status": 10,
      "process_instance_id": null,
      "quotation_time": "2026-10-15 08:05:00",
      "valid_until": "2026-10-30 18:00:00",
      "total_product_price": "1475658.400000",
      "discount_percent": "0.00",
      "discount_price": "0.000000",
      "total_price": "1475658.400000",
      "tax_rate": null,
      "tax_price": "0.000000",
      "contract_id": null,
      "contract_no": "HT20261015000001",
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
      "creator": "291",
      "create_time": "2026-10-15 08:05:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": "b'\\x00'",
      "tenant_id": 0
    }
  },
  {
    "table": "crm_sale_quotation",
    "row": {
      "id": 559,
      "no": "QT20261015000002",
      "name": "总公司10月原浆供货供货报价",
      "customer_id": 1613,
      "business_id": null,
      "contact_id": null,
      "owner_user_id": 291,
      "status": 10,
      "process_instance_id": null,
      "quotation_time": "2026-10-15 08:06:00",
      "valid_until": "2026-10-30 18:00:00",
      "total_product_price": "424723.000000",
      "discount_percent": "0.00",
      "discount_price": "0.000000",
      "total_price": "424723.000000",
      "tax_rate": null,
      "tax_price": "0.000000",
      "contract_id": null,
      "contract_no": "HT20261015000002",
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
      "creator": "291",
      "create_time": "2026-10-15 08:06:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": "b'\\x00'",
      "tenant_id": 0
    }
  },
  {
    "table": "crm_sale_quotation",
    "row": {
      "id": 560,
      "no": "QT20261015000003",
      "name": "总公司10月枸杞及雪菊供货报价",
      "customer_id": 1613,
      "business_id": null,
      "contact_id": null,
      "owner_user_id": 291,
      "status": 10,
      "process_instance_id": null,
      "quotation_time": "2026-10-15 08:07:00",
      "valid_until": "2026-10-30 18:00:00",
      "total_product_price": "133911.780000",
      "discount_percent": "0.00",
      "discount_price": "0.000000",
      "total_price": "133911.780000",
      "tax_rate": null,
      "tax_price": "0.000000",
      "contract_id": null,
      "contract_no": "HT20261015000003",
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
      "creator": "291",
      "create_time": "2026-10-15 08:07:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "tenant_id": 0
    }
  },
  {
    "table": "crm_sale_quotation",
    "row": {
      "id": 561,
      "no": "QT20261015000004",
      "name": "总公司10月桑椹原浆供货报价",
      "customer_id": 1613,
      "business_id": null,
      "contact_id": null,
      "owner_user_id": 291,
      "status": 10,
      "process_instance_id": null,
      "quotation_time": "2026-10-15 08:08:00",
      "valid_until": "2026-10-30 18:00:00",
      "total_product_price": "28060.000000",
      "discount_percent": "0.00",
      "discount_price": "0.000000",
      "total_price": "28060.000000",
      "tax_rate": null,
      "tax_price": "0.000000",
      "contract_id": null,
      "contract_no": "HT20261015000004",
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
      "creator": "291",
      "create_time": "2026-10-15 08:08:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "tenant_id": 0
    }
  },
  {
    "table": "crm_contract",
    "row": {
      "id": 558,
      "name": "总公司10月营养保健供货合同",
      "no": "HT20261015000001",
      "customer_id": 1613,
      "business_id": null,
      "contact_last_time": null,
      "owner_user_id": 291,
      "process_instance_id": null,
      "audit_status": 20,
      "order_date": "2026-10-15 08:20:00",
      "start_time": "2026-10-15 08:20:00",
      "end_time": "2026-11-30 18:00:00",
      "total_product_price": "1475658.400000",
      "discount_percent": "0.000000",
      "total_price": "1475658.400000",
      "deposit_price": "0.000000",
      "order_id": null,
      "order_no": "XSDD20261015000001",
      "sign_contact_id": null,
      "sign_user_id": null,
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
      "creator": "291",
      "create_time": "2026-10-15 08:20:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": 0
    }
  },
  {
    "table": "crm_contract",
    "row": {
      "id": 559,
      "name": "总公司10月原浆供货供货合同",
      "no": "HT20261015000002",
      "customer_id": 1613,
      "business_id": null,
      "contact_last_time": null,
      "owner_user_id": 291,
      "process_instance_id": null,
      "audit_status": 20,
      "order_date": "2026-10-15 08:21:00",
      "start_time": "2026-10-15 08:21:00",
      "end_time": "2026-11-30 18:00:00",
      "total_product_price": "424723.000000",
      "discount_percent": "0.000000",
      "total_price": "424723.000000",
      "deposit_price": "0.000000",
      "order_id": null,
      "order_no": "XSDD20261015000002",
      "sign_contact_id": null,
      "sign_user_id": null,
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
      "creator": "291",
      "create_time": "2026-10-15 08:21:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": 0
    }
  },
  {
    "table": "crm_contract",
    "row": {
      "id": 560,
      "name": "总公司10月枸杞及雪菊供货合同",
      "no": "HT20261015000003",
      "customer_id": 1613,
      "business_id": null,
      "contact_last_time": null,
      "owner_user_id": 291,
      "process_instance_id": null,
      "audit_status": 20,
      "order_date": "2026-10-15 08:22:00",
      "start_time": "2026-10-15 08:22:00",
      "end_time": "2026-11-30 18:00:00",
      "total_product_price": "133911.780000",
      "discount_percent": "0.000000",
      "total_price": "133911.780000",
      "deposit_price": "0.000000",
      "order_id": null,
      "order_no": "XSDD20261015000003",
      "sign_contact_id": null,
      "sign_user_id": null,
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
      "creator": "291",
      "create_time": "2026-10-15 08:22:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": 0
    }
  },
  {
    "table": "crm_contract",
    "row": {
      "id": 561,
      "name": "总公司10月桑椹原浆供货合同",
      "no": "HT20261015000004",
      "customer_id": 1613,
      "business_id": null,
      "contact_last_time": null,
      "owner_user_id": 291,
      "process_instance_id": null,
      "audit_status": 20,
      "order_date": "2026-10-15 08:23:00",
      "start_time": "2026-10-15 08:23:00",
      "end_time": "2026-11-30 18:00:00",
      "total_product_price": "28060.000000",
      "discount_percent": "0.000000",
      "total_price": "28060.000000",
      "deposit_price": "0.000000",
      "order_id": null,
      "order_no": "XSDD20261015000004",
      "sign_contact_id": null,
      "sign_user_id": null,
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
      "creator": "291",
      "create_time": "2026-10-15 08:23:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": 0
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4213,
      "order_id": 1071,
      "product_id": 517,
      "product_unit_id": 9,
      "product_price": "15.400000",
      "count": "19216.000000",
      "total_price": "295926.400000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100202;半成品已生产完毕等通知发货",
      "creator": "291",
      "create_time": "2026-10-15 08:40:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4214,
      "order_id": 1071,
      "product_id": 512,
      "product_unit_id": 9,
      "product_price": "14.900000",
      "count": "30000.000000",
      "total_price": "447000.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100201;",
      "creator": "291",
      "create_time": "2026-10-15 08:40:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4215,
      "order_id": 1071,
      "product_id": 1541,
      "product_unit_id": 9,
      "product_price": "46.500000",
      "count": "10000.000000",
      "total_price": "465000.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:U2100335;",
      "creator": "291",
      "create_time": "2026-10-15 08:40:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4216,
      "order_id": 1071,
      "product_id": 1542,
      "product_unit_id": 9,
      "product_price": "33.500000",
      "count": "7992.000000",
      "total_price": "267732.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:U2100336;半成品已生产完毕等通知发货",
      "creator": "291",
      "create_time": "2026-10-15 08:40:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4217,
      "order_id": 1072,
      "product_id": 502,
      "product_unit_id": 9,
      "product_price": "63.000000",
      "count": "3033.000000",
      "total_price": "191079.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100197、Q2100196、81013526;",
      "creator": "291",
      "create_time": "2026-10-15 08:41:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4218,
      "order_id": 1072,
      "product_id": 1510,
      "product_unit_id": 3,
      "product_price": "2.120000",
      "count": "100000.000000",
      "total_price": "212000.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100314;",
      "creator": "291",
      "create_time": "2026-10-15 08:41:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4219,
      "order_id": 1072,
      "product_id": 497,
      "product_unit_id": 9,
      "product_price": "15.460000",
      "count": "1400.000000",
      "total_price": "21644.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100080;",
      "creator": "291",
      "create_time": "2026-10-15 08:41:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4220,
      "order_id": 1073,
      "product_id": 485,
      "product_unit_id": 9,
      "product_price": "122.740000",
      "count": "168.000000",
      "total_price": "20620.320000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100073;",
      "creator": "291",
      "create_time": "2026-10-15 08:42:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4221,
      "order_id": 1073,
      "product_id": 487,
      "product_unit_id": 64,
      "product_price": "75.810000",
      "count": "666.000000",
      "total_price": "50489.460000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100077;",
      "creator": "291",
      "create_time": "2026-10-15 08:42:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4222,
      "order_id": 1073,
      "product_id": 486,
      "product_unit_id": 8,
      "product_price": "21.480000",
      "count": "1800.000000",
      "total_price": "38664.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100078;",
      "creator": "291",
      "create_time": "2026-10-15 08:42:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4223,
      "order_id": 1073,
      "product_id": 2004,
      "product_unit_id": 8,
      "product_price": "179.100000",
      "count": "90.000000",
      "total_price": "16119.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:12100271;",
      "creator": "291",
      "create_time": "2026-10-15 08:42:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4224,
      "order_id": 1073,
      "product_id": 2005,
      "product_unit_id": 8,
      "product_price": "44.550000",
      "count": "180.000000",
      "total_price": "8019.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:UC000017;",
      "creator": "291",
      "create_time": "2026-10-15 08:42:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4225,
      "order_id": 1074,
      "product_id": 2006,
      "product_unit_id": 9,
      "product_price": "28.060000",
      "count": "1000.000000",
      "total_price": "28060.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:U2100282;;原进度:10月15号左右发货",
      "creator": "291",
      "create_time": "2026-10-15 08:43:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  }
]
scripts/ecommerce-production-20261015/remote-before-preview.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,1143 @@
[
  {
    "table": "mdm_item",
    "row": {
      "id": 485,
      "code": "Q2100073",
      "name": "黑果枸杞",
      "bar_code": null,
      "specification": "250克(50克*5)",
      "category_id": 8,
      "unit_measure_id": 24,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 1,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": "100.000000",
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:01:23",
      "updater": "1",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 486,
      "code": "Q2100078",
      "name": "黑果枸杞",
      "bar_code": null,
      "specification": "250克(甲级)",
      "category_id": 8,
      "unit_measure_id": 24,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 1,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": "100.000000",
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:02:45",
      "updater": "1",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 487,
      "code": "Q2100077",
      "name": "黑果枸杞",
      "bar_code": null,
      "specification": "500克(特优)",
      "category_id": 8,
      "unit_measure_id": 24,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 1,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": "100.000000",
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:06:01",
      "updater": "1",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 497,
      "code": "Q2100080",
      "name": "枸杞原浆",
      "bar_code": null,
      "specification": "300ml",
      "category_id": 9,
      "unit_measure_id": 24,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 3,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": "100.000000",
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:18:48",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 502,
      "code": "Q2100197",
      "name": "红黑枸杞原浆",
      "bar_code": null,
      "specification": "1.8L",
      "category_id": 9,
      "unit_measure_id": 24,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 3,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": "100.000000",
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:22:34",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 512,
      "code": "Q2100201",
      "name": "γ氨基丁酸酸枣仁饮品(桃子味)",
      "bar_code": null,
      "specification": null,
      "category_id": 9,
      "unit_measure_id": 24,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 1,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": "100.000000",
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:32:30",
      "updater": "1",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 517,
      "code": "Q2100202",
      "name": "γ氨基丁酸酸枣仁饮品(蜜桃味)",
      "bar_code": null,
      "specification": null,
      "category_id": 10,
      "unit_measure_id": 24,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 1,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": "100.000000",
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:37:31",
      "updater": "1",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 1510,
      "code": "Q2100314",
      "name": "黑红枸杞原浆",
      "bar_code": null,
      "specification": "黑果枸杞原浆30ml,红枸杞原浆30ml",
      "category_id": 6,
      "unit_measure_id": 3,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 3,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": null,
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第844行;结存0袋;",
      "creator": "stock-import-202609",
      "create_time": "2026-09-18 17:13:29",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mdm_item",
    "row": {
      "id": 1541,
      "code": "U2100335",
      "name": "血蛋白营养素饮",
      "bar_code": null,
      "specification": "500ml(50ml×10)",
      "category_id": 6,
      "unit_measure_id": 9,
      "unit_measure_id2": null,
      "unit_measure_rate1": null,
      "unit_measure_id3": null,
      "unit_measure_rate2": null,
      "warehouse_id": 18,
      "warehouse_code": "CPK01",
      "brand_id": null,
      "item_type": 3,
      "status": 0,
      "purchase_price": null,
      "sales_price": null,
      "cost_price": null,
      "min_price": null,
      "safety_stock": null,
      "min_stock": null,
      "max_stock": null,
      "min_order_qty": null,
      "lead_time": null,
      "is_batch_managed": "b'\\x01'",
      "is_serial_managed": "b'\\x00'",
      "barcode_rule_id": null,
      "expiry_day": null,
      "high_value": "b'\\x00'",
      "weight": null,
      "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第543行;结存0盒;",
      "creator": "stock-import-202609",
      "create_time": "2026-09-18 17:44:58",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 22:00:05",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 485,
      "mdm_item_id": 485,
      "code": "Q2100073",
      "name": "黑果枸杞",
      "specification": "250克(50克*5)",
      "unit_measure_id": 24,
      "item_type_id": 8,
      "status": 0,
      "safe_stock_flag": "b'\\x01'",
      "min_stock": "100.000000",
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:01:08",
      "updater": "1",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 486,
      "mdm_item_id": 486,
      "code": "Q2100078",
      "name": "黑果枸杞",
      "specification": "250克(甲级)",
      "unit_measure_id": 24,
      "item_type_id": 8,
      "status": 0,
      "safe_stock_flag": "b'\\x01'",
      "min_stock": "100.000000",
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:02:17",
      "updater": "1",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 487,
      "mdm_item_id": 487,
      "code": "Q2100077",
      "name": "黑果枸杞",
      "specification": "500克(特优)",
      "unit_measure_id": 24,
      "item_type_id": 8,
      "status": 0,
      "safe_stock_flag": "b'\\x01'",
      "min_stock": "100.000000",
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:03:25",
      "updater": "1",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 497,
      "mdm_item_id": 497,
      "code": "Q2100080",
      "name": "枸杞原浆",
      "specification": "300ml",
      "unit_measure_id": 24,
      "item_type_id": 9,
      "status": 0,
      "safe_stock_flag": "b'\\x01'",
      "min_stock": "100.000000",
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:14:49",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 502,
      "mdm_item_id": 502,
      "code": "Q2100197",
      "name": "红黑枸杞原浆",
      "specification": "1.8L",
      "unit_measure_id": 24,
      "item_type_id": 9,
      "status": 0,
      "safe_stock_flag": "b'\\x01'",
      "min_stock": "100.000000",
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": null,
      "creator": "1",
      "create_time": "2026-09-17 09:20:30",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 512,
      "mdm_item_id": 512,
      "code": "Q2100201",
      "name": "γ氨基丁酸酸枣仁饮品(桃子味)",
      "specification": null,
      "unit_measure_id": 24,
      "item_type_id": 9,
      "status": 0,
      "safe_stock_flag": "b'\\x01'",
      "min_stock": "100.000000",
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": null,
      "creator": "244",
      "create_time": "2026-09-17 09:31:54",
      "updater": "1",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 517,
      "mdm_item_id": 517,
      "code": "Q2100202",
      "name": "γ氨基丁酸酸枣仁饮品(蜜桃味)",
      "specification": null,
      "unit_measure_id": 24,
      "item_type_id": 10,
      "status": 0,
      "safe_stock_flag": "b'\\x01'",
      "min_stock": "100.000000",
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": null,
      "creator": "244",
      "create_time": "2026-09-17 09:37:36",
      "updater": "1",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 1510,
      "mdm_item_id": 1510,
      "code": "Q2100314",
      "name": "黑红枸杞原浆",
      "specification": "黑果枸杞原浆30ml,红枸杞原浆30ml",
      "unit_measure_id": 3,
      "item_type_id": 6,
      "status": 0,
      "safe_stock_flag": "b'\\x00'",
      "min_stock": null,
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第844行;结存0袋;",
      "creator": "stock-material-repair",
      "create_time": "2026-09-18 17:21:37",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "mes_md_item",
    "row": {
      "id": 1541,
      "mdm_item_id": 1541,
      "code": "U2100335",
      "name": "血蛋白营养素饮",
      "specification": "500ml(50ml×10)",
      "unit_measure_id": 9,
      "item_type_id": 6,
      "status": 0,
      "safe_stock_flag": "b'\\x00'",
      "min_stock": null,
      "max_stock": null,
      "high_value": "b'\\x00'",
      "batch_flag": "b'\\x01'",
      "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第543行;结存0盒;",
      "creator": "stock-material-repair",
      "create_time": "2026-09-18 17:49:41",
      "updater": "stock-material-repair",
      "update_time": "2026-10-12 21:53:44",
      "deleted": "b'\\x00'"
    }
  },
  {
    "table": "crm_sale_quotation",
    "row": {
      "id": 554,
      "no": "QT20261015000001",
      "name": "总公司10月营养保健供货报价",
      "customer_id": 1613,
      "business_id": null,
      "contact_id": null,
      "owner_user_id": 291,
      "status": 10,
      "process_instance_id": null,
      "quotation_time": "2026-10-15 08:05:00",
      "valid_until": "2026-10-30 18:00:00",
      "total_product_price": "1475658.400000",
      "discount_percent": "0.00",
      "discount_price": "0.000000",
      "total_price": "1475658.400000",
      "tax_rate": null,
      "tax_price": "0.000000",
      "contract_id": null,
      "contract_no": "HT20261015000001",
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
      "creator": "291",
      "create_time": "2026-10-15 08:05:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": "b'\\x00'",
      "tenant_id": 0
    }
  },
  {
    "table": "crm_sale_quotation",
    "row": {
      "id": 555,
      "no": "QT20261015000002",
      "name": "总公司10月原浆供货供货报价",
      "customer_id": 1613,
      "business_id": null,
      "contact_id": null,
      "owner_user_id": 291,
      "status": 10,
      "process_instance_id": null,
      "quotation_time": "2026-10-15 08:06:00",
      "valid_until": "2026-10-30 18:00:00",
      "total_product_price": "424723.000000",
      "discount_percent": "0.00",
      "discount_price": "0.000000",
      "total_price": "424723.000000",
      "tax_rate": null,
      "tax_price": "0.000000",
      "contract_id": null,
      "contract_no": "HT20261015000002",
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
      "creator": "291",
      "create_time": "2026-10-15 08:06:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": "b'\\x00'",
      "tenant_id": 0
    }
  },
  {
    "table": "crm_sale_quotation",
    "row": {
      "id": 556,
      "no": "QT20261015000003",
      "name": "总公司10月枸杞及雪菊供货报价",
      "customer_id": 1613,
      "business_id": null,
      "contact_id": null,
      "owner_user_id": 291,
      "status": 10,
      "process_instance_id": null,
      "quotation_time": "2026-10-15 08:07:00",
      "valid_until": "2026-10-30 18:00:00",
      "total_product_price": "133911.780000",
      "discount_percent": "0.00",
      "discount_price": "0.000000",
      "total_price": "133911.780000",
      "tax_rate": null,
      "tax_price": "0.000000",
      "contract_id": null,
      "contract_no": "HT20261015000003",
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
      "creator": "291",
      "create_time": "2026-10-15 08:07:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "tenant_id": 0
    }
  },
  {
    "table": "crm_sale_quotation",
    "row": {
      "id": 557,
      "no": "QT20261015000004",
      "name": "总公司10月桑椹原浆供货报价",
      "customer_id": 1613,
      "business_id": null,
      "contact_id": null,
      "owner_user_id": 291,
      "status": 10,
      "process_instance_id": null,
      "quotation_time": "2026-10-15 08:08:00",
      "valid_until": "2026-10-30 18:00:00",
      "total_product_price": "28060.000000",
      "discount_percent": "0.00",
      "discount_price": "0.000000",
      "total_price": "28060.000000",
      "tax_rate": null,
      "tax_price": "0.000000",
      "contract_id": null,
      "contract_no": "HT20261015000004",
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
      "creator": "291",
      "create_time": "2026-10-15 08:08:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "tenant_id": 0
    }
  },
  {
    "table": "crm_contract",
    "row": {
      "id": 554,
      "name": "总公司10月营养保健供货合同",
      "no": "HT20261015000001",
      "customer_id": 1613,
      "business_id": null,
      "contact_last_time": null,
      "owner_user_id": 291,
      "process_instance_id": null,
      "audit_status": 20,
      "order_date": "2026-10-15 08:20:00",
      "start_time": "2026-10-15 08:20:00",
      "end_time": "2026-11-30 18:00:00",
      "total_product_price": "1475658.400000",
      "discount_percent": "0.000000",
      "total_price": "1475658.400000",
      "deposit_price": "0.000000",
      "order_id": null,
      "order_no": "XSDD20261015000001",
      "sign_contact_id": null,
      "sign_user_id": null,
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
      "creator": "291",
      "create_time": "2026-10-15 08:20:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": 0
    }
  },
  {
    "table": "crm_contract",
    "row": {
      "id": 555,
      "name": "总公司10月原浆供货供货合同",
      "no": "HT20261015000002",
      "customer_id": 1613,
      "business_id": null,
      "contact_last_time": null,
      "owner_user_id": 291,
      "process_instance_id": null,
      "audit_status": 20,
      "order_date": "2026-10-15 08:21:00",
      "start_time": "2026-10-15 08:21:00",
      "end_time": "2026-11-30 18:00:00",
      "total_product_price": "424723.000000",
      "discount_percent": "0.000000",
      "total_price": "424723.000000",
      "deposit_price": "0.000000",
      "order_id": null,
      "order_no": "XSDD20261015000002",
      "sign_contact_id": null,
      "sign_user_id": null,
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
      "creator": "291",
      "create_time": "2026-10-15 08:21:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": 0
    }
  },
  {
    "table": "crm_contract",
    "row": {
      "id": 556,
      "name": "总公司10月枸杞及雪菊供货合同",
      "no": "HT20261015000003",
      "customer_id": 1613,
      "business_id": null,
      "contact_last_time": null,
      "owner_user_id": 291,
      "process_instance_id": null,
      "audit_status": 20,
      "order_date": "2026-10-15 08:22:00",
      "start_time": "2026-10-15 08:22:00",
      "end_time": "2026-11-30 18:00:00",
      "total_product_price": "133911.780000",
      "discount_percent": "0.000000",
      "total_price": "133911.780000",
      "deposit_price": "0.000000",
      "order_id": null,
      "order_no": "XSDD20261015000003",
      "sign_contact_id": null,
      "sign_user_id": null,
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
      "creator": "291",
      "create_time": "2026-10-15 08:22:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": 0
    }
  },
  {
    "table": "crm_contract",
    "row": {
      "id": 557,
      "name": "总公司10月桑椹原浆供货合同",
      "no": "HT20261015000004",
      "customer_id": 1613,
      "business_id": null,
      "contact_last_time": null,
      "owner_user_id": 291,
      "process_instance_id": null,
      "audit_status": 20,
      "order_date": "2026-10-15 08:23:00",
      "start_time": "2026-10-15 08:23:00",
      "end_time": "2026-11-30 18:00:00",
      "total_product_price": "28060.000000",
      "discount_percent": "0.000000",
      "total_price": "28060.000000",
      "deposit_price": "0.000000",
      "order_id": null,
      "order_no": "XSDD20261015000004",
      "sign_contact_id": null,
      "sign_user_id": null,
      "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
      "creator": "291",
      "create_time": "2026-10-15 08:23:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": 0
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4200,
      "order_id": 1067,
      "product_id": 517,
      "product_unit_id": 9,
      "product_price": "15.400000",
      "count": "19216.000000",
      "total_price": "295926.400000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100202;半成品已生产完毕等通知发货",
      "creator": "291",
      "create_time": "2026-10-15 08:40:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4201,
      "order_id": 1067,
      "product_id": 512,
      "product_unit_id": 9,
      "product_price": "14.900000",
      "count": "30000.000000",
      "total_price": "447000.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100201;",
      "creator": "291",
      "create_time": "2026-10-15 08:40:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4202,
      "order_id": 1067,
      "product_id": 1541,
      "product_unit_id": 9,
      "product_price": "46.500000",
      "count": "10000.000000",
      "total_price": "465000.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:U2100335;",
      "creator": "291",
      "create_time": "2026-10-15 08:40:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4203,
      "order_id": 1067,
      "product_id": 1542,
      "product_unit_id": 9,
      "product_price": "33.500000",
      "count": "7992.000000",
      "total_price": "267732.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:U2100336;半成品已生产完毕等通知发货",
      "creator": "291",
      "create_time": "2026-10-15 08:40:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:37",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4204,
      "order_id": 1068,
      "product_id": 502,
      "product_unit_id": 9,
      "product_price": "63.000000",
      "count": "3033.000000",
      "total_price": "191079.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100197、Q2100196、81013526;",
      "creator": "291",
      "create_time": "2026-10-15 08:41:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4205,
      "order_id": 1068,
      "product_id": 1510,
      "product_unit_id": 3,
      "product_price": "2.120000",
      "count": "100000.000000",
      "total_price": "212000.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100314;",
      "creator": "291",
      "create_time": "2026-10-15 08:41:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4206,
      "order_id": 1068,
      "product_id": 497,
      "product_unit_id": 9,
      "product_price": "15.460000",
      "count": "1400.000000",
      "total_price": "21644.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100080;",
      "creator": "291",
      "create_time": "2026-10-15 08:41:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4207,
      "order_id": 1069,
      "product_id": 485,
      "product_unit_id": 9,
      "product_price": "122.740000",
      "count": "168.000000",
      "total_price": "20620.320000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100073;",
      "creator": "291",
      "create_time": "2026-10-15 08:42:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4208,
      "order_id": 1069,
      "product_id": 487,
      "product_unit_id": 64,
      "product_price": "75.810000",
      "count": "666.000000",
      "total_price": "50489.460000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100077;",
      "creator": "291",
      "create_time": "2026-10-15 08:42:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4209,
      "order_id": 1069,
      "product_id": 486,
      "product_unit_id": 8,
      "product_price": "21.480000",
      "count": "1800.000000",
      "total_price": "38664.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:Q2100078;",
      "creator": "291",
      "create_time": "2026-10-15 08:42:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4210,
      "order_id": 1069,
      "product_id": 2001,
      "product_unit_id": 8,
      "product_price": "179.100000",
      "count": "90.000000",
      "total_price": "16119.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:12100271;",
      "creator": "291",
      "create_time": "2026-10-15 08:42:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4211,
      "order_id": 1069,
      "product_id": 2002,
      "product_unit_id": 8,
      "product_price": "44.550000",
      "count": "180.000000",
      "total_price": "8019.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:UC000017;",
      "creator": "291",
      "create_time": "2026-10-15 08:42:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  },
  {
    "table": "erp_sale_order_items",
    "row": {
      "id": 4212,
      "order_id": 1070,
      "product_id": 2003,
      "product_unit_id": 9,
      "product_price": "28.060000",
      "count": "1000.000000",
      "total_price": "28060.000000",
      "tax_percent": null,
      "tax_price": "0.000000",
      "remark": "原项目号:U2100282;;原进度:10月15号左右发货",
      "creator": "291",
      "create_time": "2026-10-15 08:43:00",
      "updater": "291",
      "update_time": "2026-10-15 06:39:38",
      "deleted": "b'\\x00'",
      "out_count": "0.000000",
      "need_production": 1,
      "mps_id": null
    }
  }
]
scripts/ecommerce-production-20261015/remote-preview.sql
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,399 @@
START TRANSACTION;
update `mdm_item` set `name`='黑枸杞250克(50克*5)',`unit_measure_id`=9 where id=485;
update `mdm_item` set `name`='黑果枸杞-250克甲级',`specification`='250克',`unit_measure_id`=8 where id=486;
update `mdm_item` set `name`='黑枸杞 å¤§æžœ 500克(250克*2)特优级',`specification`='500克(250克*2)',`unit_measure_id`=64 where id=487;
update `mdm_item` set `name`='枸杞原浆-300ml',`unit_measure_id`=9 where id=497;
update `mdm_item` set `name`='红黑枸杞原浆礼盒-1800ml(30ml*60袋)',`specification`='1800ml',`unit_measure_id`=9 where id=502;
update `mdm_item` set `name`='γ-氨基丁酸酸枣仁饮品(桃子味)',`specification`='350ml(35ml×10)',`unit_measure_id`=9 where id=512;
update `mdm_item` set `name`='γ-氨基丁酸营养素饮品(蜜桃味)',`specification`='350ml(35ml×10)',`unit_measure_id`=9 where id=517;
update `mdm_item` set `name`='黑红枸杞原浆-30ml',`specification`='30ml' where id=1510;
update `mdm_item` set `specification`='500ml(50ml*10)' where id=1541;
insert into `mdm_item` (`code`,`name`,`bar_code`,`specification`,`category_id`,`unit_measure_id`,`unit_measure_id2`,`unit_measure_rate1`,`unit_measure_id3`,`unit_measure_rate2`,`warehouse_id`,`warehouse_code`,`brand_id`,`item_type`,`status`,`purchase_price`,`sales_price`,`cost_price`,`min_price`,`safety_stock`,`min_stock`,`max_stock`,`min_order_qty`,`lead_time`,`is_batch_managed`,`is_serial_managed`,`barcode_rule_id`,`expiry_day`,`high_value`,`weight`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('12100271','黑果枸杞-90克',NULL,'90克',13,8,NULL,NULL,NULL,NULL,18,NULL,NULL,3,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,0,NULL,'来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。','244','2026-10-15 08:00:00','244','2026-10-15 06:39:37',0);
insert into `mdm_item` (`code`,`name`,`bar_code`,`specification`,`category_id`,`unit_measure_id`,`unit_measure_id2`,`unit_measure_rate1`,`unit_measure_id3`,`unit_measure_rate2`,`warehouse_id`,`warehouse_code`,`brand_id`,`item_type`,`status`,`purchase_price`,`sales_price`,`cost_price`,`min_price`,`safety_stock`,`min_stock`,`max_stock`,`min_order_qty`,`lead_time`,`is_batch_managed`,`is_serial_managed`,`barcode_rule_id`,`expiry_day`,`high_value`,`weight`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('UC000017','雪菊',NULL,'50g',6,8,NULL,NULL,NULL,NULL,18,NULL,NULL,3,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,0,NULL,'来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mdm_item` (`code`,`name`,`bar_code`,`specification`,`category_id`,`unit_measure_id`,`unit_measure_id2`,`unit_measure_rate1`,`unit_measure_id3`,`unit_measure_rate2`,`warehouse_id`,`warehouse_code`,`brand_id`,`item_type`,`status`,`purchase_price`,`sales_price`,`cost_price`,`min_price`,`safety_stock`,`min_stock`,`max_stock`,`min_order_qty`,`lead_time`,`is_batch_managed`,`is_serial_managed`,`barcode_rule_id`,`expiry_day`,`high_value`,`weight`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('U2100282','桑椹原浆',NULL,'500ml(50ml*10)',9,9,NULL,NULL,NULL,NULL,18,NULL,NULL,3,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,0,NULL,NULL,0,NULL,'来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。','244','2026-10-15 08:00:00','244','2026-10-15 06:39:37',0);
update `mes_md_item` set `name`='黑枸杞250克(50克*5)',`unit_measure_id`=9 where id=485;
update `mes_md_item` set `name`='黑果枸杞-250克甲级',`specification`='250克',`unit_measure_id`=8 where id=486;
update `mes_md_item` set `name`='黑枸杞 å¤§æžœ 500克(250克*2)特优级',`specification`='500克(250克*2)',`unit_measure_id`=64 where id=487;
update `mes_md_item` set `name`='枸杞原浆-300ml',`unit_measure_id`=9 where id=497;
update `mes_md_item` set `name`='红黑枸杞原浆礼盒-1800ml(30ml*60袋)',`specification`='1800ml',`unit_measure_id`=9 where id=502;
update `mes_md_item` set `name`='γ-氨基丁酸酸枣仁饮品(桃子味)',`specification`='350ml(35ml×10)',`unit_measure_id`=9 where id=512;
update `mes_md_item` set `name`='γ-氨基丁酸营养素饮品(蜜桃味)',`specification`='350ml(35ml×10)',`unit_measure_id`=9 where id=517;
update `mes_md_item` set `name`='黑红枸杞原浆-30ml',`specification`='30ml' where id=1510;
update `mes_md_item` set `specification`='500ml(50ml*10)' where id=1541;
insert into `mes_md_item` (`mdm_item_id`,`code`,`name`,`specification`,`unit_measure_id`,`item_type_id`,`status`,`safe_stock_flag`,`min_stock`,`max_stock`,`high_value`,`batch_flag`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(2001,'12100271','黑果枸杞-90克','90克',8,NULL,0,0,NULL,NULL,0,0,'来源10月15日电商未缴库计划','244','2026-10-15 08:00:00','244','2026-10-15 06:39:37',0);
insert into `mes_md_item` (`mdm_item_id`,`code`,`name`,`specification`,`unit_measure_id`,`item_type_id`,`status`,`safe_stock_flag`,`min_stock`,`max_stock`,`high_value`,`batch_flag`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(2002,'UC000017','雪菊','50g',8,NULL,0,0,NULL,NULL,0,0,'来源10月15日电商未缴库计划','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_item` (`mdm_item_id`,`code`,`name`,`specification`,`unit_measure_id`,`item_type_id`,`status`,`safe_stock_flag`,`min_stock`,`max_stock`,`high_value`,`batch_flag`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(2003,'U2100282','桑椹原浆','500ml(50ml*10)',9,NULL,0,0,NULL,NULL,0,0,'来源10月15日电商未缴库计划','244','2026-10-15 08:00:00','244','2026-10-15 06:39:37',0);
insert into `mes_pro_route` (`code`,`name`,`description`,`status`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('RT-FLOWER-BOTTLE-PACK','花类瓶装分装包装工艺路线',NULL,0,'用于50g雪菊分装包装;工序沿用现有基础工序,不新增配方参数。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`route_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(59,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`route_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(59,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`route_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(59,3,3,'0.980000',30,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`route_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(59,10,10,'0.980000',40,11,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`route_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(59,11,11,'0.980000',50,12,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`route_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(59,12,12,'0.980000',60,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_process` (`route_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(59,13,13,'0.980000',70,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_product` (`route_id`,`item_id`,`quantity`,`production_time`,`time_unit_type`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(57,502,NULL,NULL,NULL,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_product` (`route_id`,`item_id`,`quantity`,`production_time`,`time_unit_type`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(18,1510,NULL,NULL,NULL,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_product` (`route_id`,`item_id`,`quantity`,`production_time`,`time_unit_type`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(13,2001,NULL,NULL,NULL,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_product` (`route_id`,`item_id`,`quantity`,`production_time`,`time_unit_type`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(59,2002,NULL,NULL,NULL,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_route_product` (`route_id`,`item_id`,`quantity`,`production_time`,`time_unit_type`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(17,2003,NULL,NULL,NULL,'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`business_id`,`contact_id`,`owner_user_id`,`status`,`process_instance_id`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_rate`,`tax_price`,`contract_id`,`contract_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000001','总公司10月营养保健供货报价',1613,NULL,NULL,291,10,NULL,'2026-10-15 08:05:00','2026-10-30 18:00:00','1475658.400000','0.00','0.000000','1475658.400000',NULL,'0.000000',NULL,'HT20261015000001','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','2026-10-15 08:05:00','291','2026-10-15 06:39:37',0,0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`business_id`,`contact_id`,`owner_user_id`,`status`,`process_instance_id`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_rate`,`tax_price`,`contract_id`,`contract_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000002','总公司10月原浆供货供货报价',1613,NULL,NULL,291,10,NULL,'2026-10-15 08:06:00','2026-10-30 18:00:00','424723.000000','0.00','0.000000','424723.000000',NULL,'0.000000',NULL,'HT20261015000002','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','2026-10-15 08:06:00','291','2026-10-15 06:39:37',0,0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`business_id`,`contact_id`,`owner_user_id`,`status`,`process_instance_id`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_rate`,`tax_price`,`contract_id`,`contract_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000003','总公司10月枸杞及雪菊供货报价',1613,NULL,NULL,291,10,NULL,'2026-10-15 08:07:00','2026-10-30 18:00:00','133911.780000','0.00','0.000000','133911.780000',NULL,'0.000000',NULL,'HT20261015000003','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','2026-10-15 08:07:00','291','2026-10-15 06:39:38',0,0);
insert into `crm_sale_quotation` (`no`,`name`,`customer_id`,`business_id`,`contact_id`,`owner_user_id`,`status`,`process_instance_id`,`quotation_time`,`valid_until`,`total_product_price`,`discount_percent`,`discount_price`,`total_price`,`tax_rate`,`tax_price`,`contract_id`,`contract_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('QT20261015000004','总公司10月桑椹原浆供货报价',1613,NULL,NULL,291,10,NULL,'2026-10-15 08:08:00','2026-10-30 18:00:00','28060.000000','0.00','0.000000','28060.000000',NULL,'0.000000',NULL,'HT20261015000004','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。','291','2026-10-15 08:08:00','291','2026-10-15 06:39:38',0,0);
insert into `crm_contract` (`name`,`no`,`customer_id`,`business_id`,`contact_last_time`,`owner_user_id`,`process_instance_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`discount_percent`,`total_price`,`deposit_price`,`order_id`,`order_no`,`sign_contact_id`,`sign_user_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('总公司10月营养保健供货合同','HT20261015000001',1613,NULL,NULL,291,NULL,20,'2026-10-15 08:20:00','2026-10-15 08:20:00','2026-11-30 18:00:00','1475658.400000','0.000000','1475658.400000','0.000000',NULL,'XSDD20261015000001',NULL,NULL,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','2026-10-15 08:20:00','291','2026-10-15 06:39:37',0);
insert into `crm_contract` (`name`,`no`,`customer_id`,`business_id`,`contact_last_time`,`owner_user_id`,`process_instance_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`discount_percent`,`total_price`,`deposit_price`,`order_id`,`order_no`,`sign_contact_id`,`sign_user_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('总公司10月原浆供货供货合同','HT20261015000002',1613,NULL,NULL,291,NULL,20,'2026-10-15 08:21:00','2026-10-15 08:21:00','2026-11-30 18:00:00','424723.000000','0.000000','424723.000000','0.000000',NULL,'XSDD20261015000002',NULL,NULL,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','2026-10-15 08:21:00','291','2026-10-15 06:39:37',0);
insert into `crm_contract` (`name`,`no`,`customer_id`,`business_id`,`contact_last_time`,`owner_user_id`,`process_instance_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`discount_percent`,`total_price`,`deposit_price`,`order_id`,`order_no`,`sign_contact_id`,`sign_user_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('总公司10月枸杞及雪菊供货合同','HT20261015000003',1613,NULL,NULL,291,NULL,20,'2026-10-15 08:22:00','2026-10-15 08:22:00','2026-11-30 18:00:00','133911.780000','0.000000','133911.780000','0.000000',NULL,'XSDD20261015000003',NULL,NULL,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','2026-10-15 08:22:00','291','2026-10-15 06:39:38',0);
insert into `crm_contract` (`name`,`no`,`customer_id`,`business_id`,`contact_last_time`,`owner_user_id`,`process_instance_id`,`audit_status`,`order_date`,`start_time`,`end_time`,`total_product_price`,`discount_percent`,`total_price`,`deposit_price`,`order_id`,`order_no`,`sign_contact_id`,`sign_user_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('总公司10月桑椹原浆供货合同','HT20261015000004',1613,NULL,NULL,291,NULL,20,'2026-10-15 08:23:00','2026-10-15 08:23:00','2026-11-30 18:00:00','28060.000000','0.000000','28060.000000','0.000000',NULL,'XSDD20261015000004',NULL,NULL,'来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。','291','2026-10-15 08:23:00','291','2026-10-15 06:39:38',0);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`account_id`,`sale_user_id`,`order_time`,`total_count`,`total_price`,`total_product_price`,`total_tax_price`,`discount_percent`,`discount_price`,`deposit_price`,`remark`,`process_instance_id`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`out_status`,`production_status`,`production_finish_time`) values('XSDD20261015000001',20,1613,554,'HT20261015000001',NULL,291,'2026-10-15 08:40:00','67208.000000','1475658.400000','1475658.400000','0.000000','0.000000','0.000000','0.000000','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。',NULL,'291','2026-10-15 08:40:00','291','2026-10-15 08:40:00',0,'0.000000',0,0,NULL);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`account_id`,`sale_user_id`,`order_time`,`total_count`,`total_price`,`total_product_price`,`total_tax_price`,`discount_percent`,`discount_price`,`deposit_price`,`remark`,`process_instance_id`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`out_status`,`production_status`,`production_finish_time`) values('XSDD20261015000002',20,1613,555,'HT20261015000002',NULL,291,'2026-10-15 08:41:00','104433.000000','424723.000000','424723.000000','0.000000','0.000000','0.000000','0.000000','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。',NULL,'291','2026-10-15 08:41:00','291','2026-10-15 08:41:00',0,'0.000000',0,0,NULL);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`account_id`,`sale_user_id`,`order_time`,`total_count`,`total_price`,`total_product_price`,`total_tax_price`,`discount_percent`,`discount_price`,`deposit_price`,`remark`,`process_instance_id`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`out_status`,`production_status`,`production_finish_time`) values('XSDD20261015000003',20,1613,556,'HT20261015000003',NULL,291,'2026-10-15 08:42:00','2904.000000','133911.780000','133911.780000','0.000000','0.000000','0.000000','0.000000','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。',NULL,'291','2026-10-15 08:42:00','291','2026-10-15 08:42:00',0,'0.000000',0,0,NULL);
insert into `erp_sale_order` (`no`,`status`,`customer_id`,`contract_id`,`contract_no`,`account_id`,`sale_user_id`,`order_time`,`total_count`,`total_price`,`total_product_price`,`total_tax_price`,`discount_percent`,`discount_price`,`deposit_price`,`remark`,`process_instance_id`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`out_status`,`production_status`,`production_finish_time`) values('XSDD20261015000004',20,1613,557,'HT20261015000004',NULL,291,'2026-10-15 08:43:00','1000.000000','28060.000000','28060.000000','0.000000','0.000000','0.000000','0.000000','来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœªç¼´åº“、未发货。',NULL,'291','2026-10-15 08:43:00','291','2026-10-15 08:43:00',0,'0.000000',0,0,NULL);
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`receivable_id`,`remind_days`,`remind_time`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(1,1613,554,291,'2026-11-30 16:00:00',8,'1475658.400000',NULL,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','2026-10-15 08:25:00','291','2026-10-15 08:25:00',0);
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`receivable_id`,`remind_days`,`remind_time`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(1,1613,555,291,'2026-11-30 16:00:00',8,'424723.000000',NULL,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','2026-10-15 08:26:00','291','2026-10-15 08:26:00',0);
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`receivable_id`,`remind_days`,`remind_time`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(1,1613,556,291,'2026-11-30 16:00:00',8,'133911.780000',NULL,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','2026-10-15 08:27:00','291','2026-10-15 08:27:00',0);
insert into `crm_receivable_plan` (`period`,`customer_id`,`contract_id`,`owner_user_id`,`return_time`,`return_type`,`price`,`receivable_id`,`remind_days`,`remind_time`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(1,1613,557,291,'2026-11-30 16:00:00',8,'28060.000000',NULL,3,'2026-11-27 09:00:00','总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。','291','2026-10-15 08:28:00','291','2026-10-15 08:28:00',0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(554,517,9,'15.400000','15.400000','19216.000000','295926.400000',NULL,'0.000000',NULL,'291','2026-10-15 08:10:00','291','2026-10-15 08:10:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(554,512,9,'14.900000','14.900000','30000.000000','447000.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:10:00','291','2026-10-15 08:10:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(554,1541,9,'46.500000','46.500000','10000.000000','465000.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:10:00','291','2026-10-15 08:10:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(554,1542,9,'33.500000','33.500000','7992.000000','267732.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:10:00','291','2026-10-15 08:10:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(555,502,9,'63.000000','63.000000','3033.000000','191079.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:11:00','291','2026-10-15 08:11:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(555,1510,3,'2.120000','2.120000','100000.000000','212000.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:11:00','291','2026-10-15 08:11:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(555,497,9,'15.460000','15.460000','1400.000000','21644.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:11:00','291','2026-10-15 08:11:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(556,485,9,'122.740000','122.740000','168.000000','20620.320000',NULL,'0.000000',NULL,'291','2026-10-15 08:12:00','291','2026-10-15 08:12:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(556,487,64,'75.810000','75.810000','666.000000','50489.460000',NULL,'0.000000',NULL,'291','2026-10-15 08:12:00','291','2026-10-15 08:12:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(556,486,8,'21.480000','21.480000','1800.000000','38664.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:12:00','291','2026-10-15 08:12:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(556,2001,8,'179.100000','179.100000','90.000000','16119.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:12:00','291','2026-10-15 08:12:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(556,2002,8,'44.550000','44.550000','180.000000','8019.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:12:00','291','2026-10-15 08:12:00',0,0);
insert into `crm_sale_quotation_product` (`quotation_id`,`item_id`,`item_unit_id`,`item_price`,`quotation_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values(557,2003,9,'28.060000','28.060000','1000.000000','28060.000000',NULL,'0.000000',NULL,'291','2026-10-15 08:13:00','291','2026-10-15 08:13:00',0,0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(554,517,9,'15.400000','15.400000','19216.000000','295926.400000','291','2026-10-15 08:20:00','291','2026-10-15 08:20:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(554,512,9,'14.900000','14.900000','30000.000000','447000.000000','291','2026-10-15 08:20:00','291','2026-10-15 08:20:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(554,1541,9,'46.500000','46.500000','10000.000000','465000.000000','291','2026-10-15 08:20:00','291','2026-10-15 08:20:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(554,1542,9,'33.500000','33.500000','7992.000000','267732.000000','291','2026-10-15 08:20:00','291','2026-10-15 08:20:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(555,502,9,'63.000000','63.000000','3033.000000','191079.000000','291','2026-10-15 08:21:00','291','2026-10-15 08:21:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(555,1510,3,'2.120000','2.120000','100000.000000','212000.000000','291','2026-10-15 08:21:00','291','2026-10-15 08:21:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(555,497,9,'15.460000','15.460000','1400.000000','21644.000000','291','2026-10-15 08:21:00','291','2026-10-15 08:21:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(556,485,9,'122.740000','122.740000','168.000000','20620.320000','291','2026-10-15 08:22:00','291','2026-10-15 08:22:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(556,487,64,'75.810000','75.810000','666.000000','50489.460000','291','2026-10-15 08:22:00','291','2026-10-15 08:22:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(556,486,8,'21.480000','21.480000','1800.000000','38664.000000','291','2026-10-15 08:22:00','291','2026-10-15 08:22:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(556,2001,8,'179.100000','179.100000','90.000000','16119.000000','291','2026-10-15 08:22:00','291','2026-10-15 08:22:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(556,2002,8,'44.550000','44.550000','180.000000','8019.000000','291','2026-10-15 08:22:00','291','2026-10-15 08:22:00',0);
insert into `crm_contract_product` (`contract_id`,`item_id`,`item_unit_id`,`item_price`,`contract_price`,`count`,`total_price`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(557,2003,9,'28.060000','28.060000','1000.000000','28060.000000','291','2026-10-15 08:23:00','291','2026-10-15 08:23:00',0);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1067,517,9,'15.400000','19216.000000','295926.400000',NULL,'0.000000','原项目号:Q2100202;半成品已生产完毕等通知发货','291','2026-10-15 08:40:00','291','2026-10-15 06:39:37',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1067,512,9,'14.900000','30000.000000','447000.000000',NULL,'0.000000','原项目号:Q2100201;','291','2026-10-15 08:40:00','291','2026-10-15 06:39:37',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1067,1541,9,'46.500000','10000.000000','465000.000000',NULL,'0.000000','原项目号:U2100335;','291','2026-10-15 08:40:00','291','2026-10-15 06:39:37',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1067,1542,9,'33.500000','7992.000000','267732.000000',NULL,'0.000000','原项目号:U2100336;半成品已生产完毕等通知发货','291','2026-10-15 08:40:00','291','2026-10-15 06:39:37',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1068,502,9,'63.000000','3033.000000','191079.000000',NULL,'0.000000','原项目号:Q2100197、Q2100196、81013526;','291','2026-10-15 08:41:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1068,1510,3,'2.120000','100000.000000','212000.000000',NULL,'0.000000','原项目号:Q2100314;','291','2026-10-15 08:41:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1068,497,9,'15.460000','1400.000000','21644.000000',NULL,'0.000000','原项目号:Q2100080;','291','2026-10-15 08:41:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1069,485,9,'122.740000','168.000000','20620.320000',NULL,'0.000000','原项目号:Q2100073;','291','2026-10-15 08:42:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1069,487,64,'75.810000','666.000000','50489.460000',NULL,'0.000000','原项目号:Q2100077;','291','2026-10-15 08:42:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1069,486,8,'21.480000','1800.000000','38664.000000',NULL,'0.000000','原项目号:Q2100078;','291','2026-10-15 08:42:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1069,2001,8,'179.100000','90.000000','16119.000000',NULL,'0.000000','原项目号:12100271;','291','2026-10-15 08:42:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1069,2002,8,'44.550000','180.000000','8019.000000',NULL,'0.000000','原项目号:UC000017;','291','2026-10-15 08:42:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `erp_sale_order_items` (`order_id`,`product_id`,`product_unit_id`,`product_price`,`count`,`total_price`,`tax_percent`,`tax_price`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`out_count`,`need_production`,`mps_id`) values(1070,2003,9,'28.060000','1000.000000','28060.000000',NULL,'0.000000','原项目号:U2100282;;原进度:10月15号左右发货','291','2026-10-15 08:43:00','291','2026-10-15 06:39:38',0,'0.000000',1,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015004','γ-氨基丁酸营养素饮品(蜜桃味)生产工单',1,1,'XSDD20261015000001',517,'19216.000000','0.000000','0.000000','19216.000000',1613,NULL,NULL,23,1,'2026-10-23 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月15日;半成品已生产完毕等通知发货','244','2026-10-15 09:10:00','244','2026-10-15 06:39:38',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015005','γ-氨基丁酸酸枣仁饮品(桃子味)生产工单',1,1,'XSDD20261015000001',512,'30000.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,20,1,'2026-10-23 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月20日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015006','血蛋白营养素饮生产工单',1,1,'XSDD20261015000001',1541,'10000.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,56,1,'2026-10-27 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月22日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015007','血红素铁红枣饮生产工单',1,1,'XSDD20261015000001',1542,'7992.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,56,1,'2026-10-21 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月19日;半成品已生产完毕等通知发货','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015008','红黑枸杞原浆礼盒-1800ml(30ml*60袋)生产工单',1,1,'XSDD20261015000002',502,'3033.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,57,1,'2026-10-22 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月20日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015009','黑红枸杞原浆-30ml生产工单',1,1,'XSDD20261015000002',1510,'100000.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,18,1,'2026-10-30 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月21日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015010','枸杞原浆-300ml生产工单',1,1,'XSDD20261015000002',497,'1400.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,36,1,'2026-10-19 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月16日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015011','黑枸杞250克(50克*5)生产工单',1,1,'XSDD20261015000003',485,'168.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,13,1,'2026-10-21 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月19日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015012','黑枸杞 å¤§æžœ 500克(250克*2)特优级生产工单',1,1,'XSDD20261015000003',487,'666.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,13,1,'2026-10-26 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月22日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015013','黑果枸杞-250克甲级生产工单',1,1,'XSDD20261015000003',486,'1800.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,13,1,'2026-10-28 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月26日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015014','黑果枸杞-90克生产工单',1,1,'XSDD20261015000003',2001,'90.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,13,1,'2026-10-29 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月27日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015015','雪菊生产工单',1,1,'XSDD20261015000003',2002,'180.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,59,1,'2026-10-30 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月28日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_work_order` (`code`,`name`,`type`,`order_source_type`,`order_source_code`,`product_id`,`quantity`,`quantity_produced`,`quantity_changed`,`quantity_scheduled`,`client_id`,`vendor_id`,`batch_code`,`route_id`,`auto_finish_flag`,`request_date`,`parent_id`,`finish_date`,`cancel_date`,`status`,`process_instance_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`is_feedback_approve`,`process_definition_key`,`feedback_role`) values('WO_20261015016','桑椹原浆生产工单',1,1,'XSDD20261015000004',2003,'1000.000000','0.000000','0.000000','0.000000',1613,NULL,NULL,17,1,'2026-10-16 18:00:00',0,NULL,NULL,1,NULL,'来源10月15日未缴库计划;计划开工10月16日;待排产;未提前报工','244','2026-10-15 09:10:00','244','2026-10-15 09:10:00',0,0,NULL,NULL);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015001',1,1067,'XSDD20261015000001',4200,517,'19216.000000','0.000000',9,1613,'2026-10-23 18:00:00','2026-10-15 09:10:00',NULL,116,'WO_20261015004',0,NULL,'来源:营养保健第3行;计划开工10月15日;原项目号:Q2100202;半成品已生产完毕等通知发货','244','2026-10-15 09:00:00','244','2026-10-15 06:39:38',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015002',1,1067,'XSDD20261015000001',4201,512,'30000.000000','0.000000',9,1613,'2026-10-23 18:00:00','2026-10-15 09:10:00',NULL,117,'WO_20261015005',0,NULL,'来源:营养保健第4行;计划开工10月20日;原项目号:Q2100201;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015003',1,1067,'XSDD20261015000001',4202,1541,'10000.000000','0.000000',9,1613,'2026-10-27 18:00:00','2026-10-15 09:10:00',NULL,118,'WO_20261015006',0,NULL,'来源:营养保健第5行;计划开工10月22日;原项目号:U2100335;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015004',1,1067,'XSDD20261015000001',4203,1542,'7992.000000','0.000000',9,1613,'2026-10-21 18:00:00','2026-10-15 09:10:00',NULL,119,'WO_20261015007',0,NULL,'来源:营养保健第6行;计划开工10月19日;原项目号:U2100336;半成品已生产完毕等通知发货','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015005',1,1068,'XSDD20261015000002',4204,502,'3033.000000','0.000000',9,1613,'2026-10-22 18:00:00','2026-10-15 09:10:00',NULL,120,'WO_20261015008',0,NULL,'来源:电商已下单10月份缴库产品第3行;计划开工10月20日;原项目号:Q2100197、Q2100196、81013526;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015006',1,1068,'XSDD20261015000002',4205,1510,'100000.000000','0.000000',3,1613,'2026-10-30 18:00:00','2026-10-15 09:10:00',NULL,121,'WO_20261015009',0,NULL,'来源:电商已下单10月份缴库产品第5行;计划开工10月21日;原项目号:Q2100314;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015007',1,1068,'XSDD20261015000002',4206,497,'1400.000000','0.000000',9,1613,'2026-10-19 18:00:00','2026-10-15 09:10:00',NULL,122,'WO_20261015010',0,NULL,'来源:电商已下单10月份缴库产品第7行;计划开工10月16日;原项目号:Q2100080;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015008',1,1069,'XSDD20261015000003',4207,485,'168.000000','0.000000',9,1613,'2026-10-21 18:00:00','2026-10-15 09:10:00',NULL,123,'WO_20261015011',0,NULL,'来源:电商已下单10月份缴库产品第4行;计划开工10月19日;原项目号:Q2100073;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015009',1,1069,'XSDD20261015000003',4208,487,'666.000000','0.000000',64,1613,'2026-10-26 18:00:00','2026-10-15 09:10:00',NULL,124,'WO_20261015012',0,NULL,'来源:电商已下单10月份缴库产品第6行;计划开工10月22日;原项目号:Q2100077;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015010',1,1069,'XSDD20261015000003',4209,486,'1800.000000','0.000000',8,1613,'2026-10-28 18:00:00','2026-10-15 09:10:00',NULL,125,'WO_20261015013',0,NULL,'来源:电商已下单10月份缴库产品第8行;计划开工10月26日;原项目号:Q2100078;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015011',1,1069,'XSDD20261015000003',4210,2001,'90.000000','0.000000',8,1613,'2026-10-29 18:00:00','2026-10-15 09:10:00',NULL,126,'WO_20261015014',0,NULL,'来源:电商已下单10月份缴库产品第9行;计划开工10月27日;原项目号:12100271;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015012',1,1069,'XSDD20261015000003',4211,2002,'180.000000','0.000000',8,1613,'2026-10-30 18:00:00','2026-10-15 09:10:00',NULL,127,'WO_20261015015',0,NULL,'来源:电商已下单10月份缴库产品第10行;计划开工10月28日;原项目号:UC000017;','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_mps` (`code`,`status`,`sale_order_id`,`sale_order_no`,`sale_order_item_id`,`product_id`,`quantity`,`quantity_produced`,`unit_measure_id`,`client_id`,`request_date`,`issue_date`,`finish_date`,`work_order_id`,`work_order_code`,`merge_flag`,`merge_batch_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`tenant_id`) values('MPS20261015013',1,1070,'XSDD20261015000004',4212,2003,'1000.000000','0.000000',9,1613,'2026-10-16 18:00:00','2026-10-15 09:10:00',NULL,128,'WO_20261015016',0,NULL,'来源:电商已下单10月份缴库产品第11行;计划开工10月16日;原项目号:U2100282;;原进度:10月15号左右发货','244','2026-10-15 09:00:00','244','2026-10-15 09:00:00',0,0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,11,11,'0.980000',10,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,12,12,'0.980000',20,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,13,13,'0.980000',30,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,3,3,'0.980000',30,36,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,36,44,'0.980000',40,42,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,42,55,'0.980000',50,43,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,43,56,'0.980000',60,21,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,21,22,'0.980000',70,22,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,22,23,'0.980000',80,23,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,23,24,'0.980000',90,24,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,24,57,'0.980000',100,25,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,25,58,'0.980000',110,26,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,26,27,'0.980000',120,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,11,11,'0.980000',130,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,12,12,'0.980000',140,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,13,13,'0.980000',150,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(118,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(118,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(118,3,3,'0.980000',30,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(118,10,10,'0.980000',40,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(118,11,11,'0.980000',50,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(118,12,12,'0.980000',60,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(118,13,13,'0.980000',70,23,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(118,23,23,'0.980000',80,24,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(118,24,24,'0.980000',90,25,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(118,25,25,'0.980000',100,30,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(118,30,30,'0.980000',110,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(119,11,11,'0.980000',10,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(119,12,12,'0.980000',20,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(119,13,13,'0.980000',30,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(120,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(120,2,2,'0.980000',20,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(120,10,10,'0.980000',30,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(120,11,11,'0.980000',40,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(120,12,12,'0.980000',50,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(120,13,13,'0.980000',60,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(121,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(121,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(121,3,3,'0.980000',30,40,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(121,40,53,'0.980000',40,41,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(121,41,54,'0.980000',50,20,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(121,20,21,'0.980000',60,21,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(121,21,22,'0.980000',70,22,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(121,22,23,'0.980000',80,23,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(121,23,24,'0.980000',90,24,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(121,24,25,'0.980000',100,25,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(121,25,26,'0.980000',110,26,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(121,26,27,'0.980000',120,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(121,11,11,'0.980000',130,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(121,12,12,'0.980000',140,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(121,13,13,'0.980000',150,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(122,11,11,'0.980000',10,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(122,12,12,'0.980000',20,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(122,13,13,'0.980000',30,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,3,3,'0.980000',30,4,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,4,4,'0.980000',40,5,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,5,5,'0.980000',50,6,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,6,6,'0.980000',60,7,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,7,7,'0.980000',70,8,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,8,8,'0.980000',80,9,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,9,9,'0.980000',90,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,10,10,'0.980000',100,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,11,11,'0.980000',110,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,12,12,'0.980000',120,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,13,13,'0.980000',130,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,3,3,'0.980000',30,4,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,4,4,'0.980000',40,5,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,5,5,'0.980000',50,6,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,6,6,'0.980000',60,7,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,7,7,'0.980000',70,8,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,8,8,'0.980000',80,9,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,9,9,'0.980000',90,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,10,10,'0.980000',100,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,11,11,'0.980000',110,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,12,12,'0.980000',120,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,13,13,'0.980000',130,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,3,3,'0.980000',30,4,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,4,4,'0.980000',40,5,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,5,5,'0.980000',50,6,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,6,6,'0.980000',60,7,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,7,7,'0.980000',70,8,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,8,8,'0.980000',80,9,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,9,9,'0.980000',90,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,10,10,'0.980000',100,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,11,11,'0.980000',110,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,12,12,'0.980000',120,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,13,13,'0.980000',130,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(126,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(126,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(126,3,3,'0.980000',30,4,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(126,4,4,'0.980000',40,5,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(126,5,5,'0.980000',50,6,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(126,6,6,'0.980000',60,7,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(126,7,7,'0.980000',70,8,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(126,8,8,'0.980000',80,9,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(126,9,9,'0.980000',90,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(126,10,10,'0.980000',100,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(126,11,11,'0.980000',110,12,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(126,12,12,'0.980000',120,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(126,13,13,'0.980000',130,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(127,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(127,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(127,3,3,'0.980000',30,10,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(127,10,10,'0.980000',40,11,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(127,11,11,'0.980000',50,12,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(127,12,12,'0.980000',60,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(127,13,13,'0.980000',70,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(128,1,1,'0.980000',10,2,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(128,2,2,'0.980000',20,3,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(128,3,3,'0.980000',30,20,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(128,20,21,'0.980000',40,21,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(128,21,31,'0.980000',50,22,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(128,22,32,'0.980000',60,23,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(128,23,33,'0.980000',70,24,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(128,24,52,'0.980000',80,25,3,NULL,NULL,NULL,1,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(128,25,51,'0.980000',90,27,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(128,27,28,'0.980000',100,11,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(128,11,11,'0.980000',110,12,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(128,12,12,'0.980000',120,13,3,NULL,NULL,NULL,0,1,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_process` (`work_order_id`,`process_id`,`param_template_id`,`yield_rate`,`sort`,`next_process_id`,`link_type`,`prepare_time`,`wait_time`,`color_code`,`key_flag`,`check_flag`,`backflush_flag`,`output_item_id`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(128,13,13,'0.980000',130,NULL,3,NULL,NULL,NULL,0,0,0,NULL,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,667,'538.048000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,668,'1076.096000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,672,'1.095312',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,675,'7.340512',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,676,'29.323616',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,677,'1.460416',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,680,'15.372800',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,681,'3.670256',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,683,'219927.120000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,701,'1320.139200',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,702,'73.020800',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,703,'19216.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,704,'1095312.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,705,'7330.904000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,706,'16862.040000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,707,'13927.756800',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,708,'4250.579200',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,709,'3666.412800',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,710,'1466.180800',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,711,'586.088000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(116,NULL,712,'659.108800',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,610,'30000.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,667,'834.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,668,'1680.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,670,'1515.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,671,'462.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,672,'6.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,673,'6.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,674,'12.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,675,'48.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,676,'99.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,677,'6.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,678,'6.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,679,'6.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,680,'36.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,681,'24.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,682,'30000.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,683,'346500.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(117,NULL,684,'12.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(120,NULL,628,'90990.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(120,NULL,630,'3033.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(120,NULL,631,'758.250000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(120,NULL,632,'379.125000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(120,NULL,642,'3033.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(120,NULL,643,'90990.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(122,NULL,610,'1400.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(122,NULL,625,'1400.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(122,NULL,626,'39.200000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(122,NULL,627,'78.400000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(122,NULL,628,'14000.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,NULL,560,'42.336000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,NULL,568,'840.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,NULL,569,'840.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,NULL,570,'168.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,NULL,571,'168.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,NULL,572,'21.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,NULL,573,'42.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(123,NULL,574,'840.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,NULL,574,'1332.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,NULL,576,'1332.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,NULL,577,'1332.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,NULL,582,'335.664000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,NULL,583,'1332.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,NULL,584,'1332.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,NULL,585,'666.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,NULL,586,'55.944000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,NULL,587,'111.222000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(124,NULL,588,'666.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,NULL,574,'1800.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,NULL,575,'453.600000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,NULL,576,'1800.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,NULL,577,'1800.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,NULL,578,'1800.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,NULL,579,'1800.000000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,NULL,580,'75.600000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_bom` (`work_order_id`,`process_id`,`item_id`,`quantity`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(125,NULL,581,'151.200000',NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`changed_quantity`,`client_id`,`start_time`,`duration`,`end_time`,`color_code`,`finish_date`,`cancel_date`,`first_feedback_time`,`last_feedback_time`,`status`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('TK_20261015015','γ-氨基丁酸营养素饮品(蜜桃味)-11',116,11,23,11,11,517,'20009.000000','800.000000','800.000000','0.000000','0.000000',1613,'2026-10-15 13:43:00',3,'2026-10-15 16:43:00',NULL,NULL,NULL,'2026-10-15 14:39:38','2026-10-15 14:39:38',2,'半成品已生产完毕;本次仅排剩余包装、检验及缴库,尚未成品入库。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`changed_quantity`,`client_id`,`start_time`,`duration`,`end_time`,`color_code`,`finish_date`,`cancel_date`,`first_feedback_time`,`last_feedback_time`,`status`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('TK_20261015016','γ-氨基丁酸营养素饮品(蜜桃味)-12',116,12,23,12,12,517,'19609.000000','0.000000','0.000000','0.000000','0.000000',1613,'2026-10-15 16:43:00',17,'2026-10-19 15:43:00',NULL,NULL,NULL,NULL,NULL,0,'半成品已生产完毕;本次仅排剩余包装、检验及缴库,尚未成品入库。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_task` (`code`,`name`,`work_order_id`,`workstation_id`,`route_id`,`process_id`,`param_template_id`,`item_id`,`quantity`,`produced_quantity`,`qualify_quantity`,`unqualify_quantity`,`changed_quantity`,`client_id`,`start_time`,`duration`,`end_time`,`color_code`,`finish_date`,`cancel_date`,`first_feedback_time`,`last_feedback_time`,`status`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values('TK_20261015017','γ-氨基丁酸营养素饮品(蜜桃味)-13',116,13,23,13,13,517,'19216.000000','0.000000','0.000000','0.000000','0.000000',1613,'2026-10-19 15:43:00',30,'2026-10-23 09:43:00',NULL,NULL,NULL,NULL,NULL,0,'半成品已生产完毕;本次仅排剩余包装、检验及缴库,尚未成品入库。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_feedback` (`code`,`type`,`channel`,`feedback_time`,`workstation_id`,`route_id`,`process_id`,`work_order_id`,`task_id`,`item_id`,`expire_date`,`lot_number`,`scheduled_quantity`,`feedback_quantity`,`qualified_quantity`,`unqualified_quantity`,`uncheck_quantity`,`labor_scrap_quantity`,`material_scrap_quantity`,`other_scrap_quantity`,`feedback_user_id`,`approve_user_id`,`status`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`process_instance_id`,`process_definition_key`) values('FB_20261015001',1,NULL,'2026-10-15 14:39:38',11,23,11,116,1048,517,NULL,NULL,'20009.000000','800.000000','800.000000','0.000000','0.000000','0.000000','0.000000','0.000000',244,244,4,'按本次录入要求记录今日包装部分完成800盒;非末道工序,不增加成品库存。','244','2026-10-15 14:39:38','244','2026-10-15 14:39:38',0,NULL,NULL);
insert into `mes_pro_work_order_param_record` (`work_order_id`,`template_id`,`template_code`,`template_name`,`record_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`task_id`) values(116,11,'PT-STP-011','外包装参数模板-011','TASK-1048','排产生成参数快照;实际参数待现场填写。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0,1048);
insert into `mes_pro_work_order_param_record` (`work_order_id`,`template_id`,`template_code`,`template_name`,`record_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`task_id`) values(116,12,'PT-STP-012','成品检验参数模板-012','TASK-1049','排产生成参数快照;实际参数待现场填写。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0,1049);
insert into `mes_pro_work_order_param_record` (`work_order_id`,`template_id`,`template_code`,`template_name`,`record_no`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`,`task_id`) values(116,13,'PT-STP-013','成品入库参数模板-013','TASK-1050','排产生成参数快照;实际参数待现场填写。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0,1050);
insert into `mes_pro_task_assignee` (`task_id`,`user_id`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(1048,244,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_task_assignee` (`task_id`,`user_id`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(1049,244,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_task_assignee` (`task_id`,`user_id`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(1050,244,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(194,16,'PP-STP-COUNT','包装数量',1,0,24,NULL,'要求:原文未指定统一数值,记录实际值;不得套用其他产品标准。;;来源:STP-SG-003-01、STP-DY-007-00、STP-SG-002-04、STP-GT-015-04、STP-GT-016-04、STP-GY-001-06、STP-DY-001-02、STP-GT-009-07、STP-GY-002-05、STP-SG-001-09、STP-GT-010-05、STP-FB-005-00、STP-YL-006-00、STP-YL-016-00、STP-YL-008-00、STP-YL-010-00、STP-YL-015-00、STP-YL-018-00、STP-YL-009-00、STP-YL-012-00、STP-YL-017-00、STP-YL-011-00、STP-YL-007-00、STP-YL-013-00;实际值由现场录入。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(195,17,'PP-STP-SAMPLE','检验抽样数量',1,0,24,NULL,'要求:原文未指定统一数值,记录实际值;不得套用其他产品标准。;;来源:STP-SG-003-01、STP-DY-007-00、STP-SG-002-04、STP-GT-015-04、STP-GT-016-04、STP-GY-001-06、STP-DY-001-02、STP-GT-009-07、STP-GY-002-05、STP-SG-001-09、STP-GT-010-05、STP-FB-005-00、STP-YL-006-00、STP-YL-016-00、STP-YL-008-00、STP-YL-010-00、STP-YL-015-00、STP-YL-018-00、STP-YL-009-00、STP-YL-012-00、STP-YL-017-00、STP-YL-011-00、STP-YL-007-00、STP-YL-013-00;实际值由现场录入。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_pro_work_order_param_record_detail` (`record_id`,`template_detail_id`,`param_code`,`param_name`,`param_type`,`required`,`unit_measure_id`,`param_value`,`remark`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(196,18,'PP-STP-COUNT','包装数量',1,0,24,NULL,'要求:原文未指定统一数值,记录实际值;不得套用其他产品标准。;;来源:STP-SG-003-01、STP-DY-007-00、STP-SG-002-04、STP-GT-015-04、STP-GT-016-04、STP-GY-001-06、STP-DY-001-02、STP-GT-009-07、STP-GY-002-05、STP-SG-001-09、STP-GT-010-05、STP-FB-005-00、STP-YL-006-00、STP-YL-016-00、STP-YL-008-00、STP-YL-010-00、STP-YL-015-00、STP-YL-018-00、STP-YL-009-00、STP-YL-012-00、STP-YL-017-00、STP-YL-011-00、STP-YL-007-00、STP-YL-013-00;实际值由现场录入。','244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
update `crm_sale_quotation` set `contract_id`=554 where id=554;
update `crm_sale_quotation` set `contract_id`=555 where id=555;
update `crm_sale_quotation` set `contract_id`=556 where id=556;
update `crm_sale_quotation` set `contract_id`=557 where id=557;
update `crm_contract` set `order_id`=1067 where id=554;
update `crm_contract` set `order_id`=1068 where id=555;
update `crm_contract` set `order_id`=1069 where id=556;
update `crm_contract` set `order_id`=1070 where id=557;
update `erp_sale_order_items` set `mps_id`=3519 where id=4200;
update `erp_sale_order_items` set `mps_id`=3520 where id=4201;
update `erp_sale_order_items` set `mps_id`=3521 where id=4202;
update `erp_sale_order_items` set `mps_id`=3522 where id=4203;
update `erp_sale_order_items` set `mps_id`=3523 where id=4204;
update `erp_sale_order_items` set `mps_id`=3524 where id=4205;
update `erp_sale_order_items` set `mps_id`=3525 where id=4206;
update `erp_sale_order_items` set `mps_id`=3526 where id=4207;
update `erp_sale_order_items` set `mps_id`=3527 where id=4208;
update `erp_sale_order_items` set `mps_id`=3528 where id=4209;
update `erp_sale_order_items` set `mps_id`=3529 where id=4210;
update `erp_sale_order_items` set `mps_id`=3530 where id=4211;
update `erp_sale_order_items` set `mps_id`=3531 where id=4212;
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(9,554,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(5,554,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(8,55,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(9,555,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(5,555,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(8,56,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(9,556,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(5,556,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(8,57,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(9,557,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(5,557,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `crm_permission` (`biz_type`,`biz_id`,`user_id`,`level`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(8,58,291,1,'291','2026-10-15 08:00:00','291','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015004',4,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015001',1,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015005',5,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015002',2,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015006',6,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015003',3,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015007',7,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015004',4,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015008',8,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015005',5,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015009',9,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015006',6,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015010',10,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015007',7,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015011',11,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015008',8,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015012',12,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015009',9,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015013',13,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015010',10,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015014',14,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015011',11,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015015',15,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015012',12,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(30,'WO_20261015016',16,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(65,'MPS20261015013',13,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(31,'TK_20261015015',15,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(31,'TK_20261015016',16,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
insert into `mes_md_auto_code_record` (`rule_id`,`result`,`serial_no`,`input_char`,`creator`,`create_time`,`updater`,`update_time`,`deleted`) values(31,'TK_20261015017',17,NULL,'244','2026-10-15 08:00:00','244','2026-10-15 08:00:00',0);
ROLLBACK;
scripts/ecommerce-production-20261015/remote-result-applied.json
¶Ô±ÈÐÂÎļþ
ÎļþÌ«´ó
scripts/ecommerce-production-20261015/remote-result-preview.json
¶Ô±ÈÐÂÎļþ
ÎļþÌ«´ó
scripts/ecommerce-production-20261015/remote-verification.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,15 @@
{
  "passed": true,
  "host": "36.213.150.237:10000",
  "database": "mom-hm",
  "total": "2062353.180000",
  "production_plans": 13,
  "work_orders": 13,
  "quotations": 4,
  "contracts": 4,
  "sales_orders": 4,
  "receivable_plans": 4,
  "packaging_partial_quantity": 800,
  "new_actual_receipts": 0,
  "new_stock_or_sales_transactions": 0
}
scripts/ecommerce-production-20261015/result-applied.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,2621 @@
{
  "applied": true,
  "database": "localhost:3306/mom-hm",
  "total": "2062353.18",
  "groups": {
    "0": {
      "quotation_id": 558,
      "contract_id": 558,
      "order_id": 1071,
      "amount": "1475658.40",
      "receivable_plan_id": 59
    },
    "1": {
      "quotation_id": 559,
      "contract_id": 559,
      "order_id": 1072,
      "amount": "424723.00",
      "receivable_plan_id": 60
    },
    "2": {
      "quotation_id": 560,
      "contract_id": 560,
      "order_id": 1073,
      "amount": "133911.78",
      "receivable_plan_id": 61
    },
    "3": {
      "quotation_id": 561,
      "contract_id": 561,
      "order_id": 1074,
      "amount": "28060.00",
      "receivable_plan_id": 62
    }
  },
  "counts": {
    "mdm_item": 3,
    "mes_md_item": 3,
    "mes_pro_route": 1,
    "mes_pro_route_process": 7,
    "mes_pro_route_product": 5,
    "crm_sale_quotation": 4,
    "crm_contract": 4,
    "erp_sale_order": 4,
    "crm_receivable_plan": 4,
    "crm_permission": 12,
    "crm_sale_quotation_product": 13,
    "crm_contract_product": 13,
    "erp_sale_order_items": 13,
    "mes_md_auto_code_record": 30,
    "mes_pro_work_order": 13,
    "mes_pro_mps": 13,
    "mes_pro_work_order_process": 128,
    "mes_pro_work_order_bom": 76,
    "mes_pro_task": 3,
    "mes_pro_task_assignee": 3,
    "mes_pro_feedback": 1,
    "mes_pro_work_order_param_record": 3,
    "mes_pro_work_order_param_record_detail": 3
  },
  "links": [
    {
      "sheet": "营养保健",
      "row": 3,
      "code": "Q2100202",
      "name": "γ-氨基丁酸营养素饮品(蜜桃味)",
      "spec": "350ml(35ml×10)",
      "unit": "盒",
      "quantity": 19216,
      "price": 15.4,
      "amount": 295926.4,
      "due": null,
      "note": "半成品已生产完毕等通知发货",
      "mdm_id": 517,
      "mes_id": 517,
      "route": 23,
      "unit_id": 9,
      "due_date": "2026-10-23 18:00:00",
      "planned_start": "2026-10-15 09:00:00",
      "group": 0,
      "quotation_id": 558,
      "quotation_no": "QT20261015000001",
      "contract_id": 558,
      "contract_no": "HT20261015000001",
      "order_id": 1071,
      "order_no": "XSDD20261015000001",
      "order_item_id": 4213,
      "receivable_plan_id": 59,
      "mps_id": 3532,
      "mps_code": "MPS20261015001",
      "wo_id": 131,
      "wo_code": "WO_20261015004",
      "bom_count": 21,
      "task_ids": [
        1061,
        1062,
        1063
      ]
    },
    {
      "sheet": "营养保健",
      "row": 4,
      "code": "Q2100201",
      "name": "γ-氨基丁酸酸枣仁饮品(桃子味)",
      "spec": "350ml(35ml×10)",
      "unit": "盒",
      "quantity": 30000,
      "price": 14.9,
      "amount": 447000,
      "due": null,
      "note": null,
      "mdm_id": 512,
      "mes_id": 512,
      "route": 20,
      "unit_id": 9,
      "due_date": "2026-10-23 18:00:00",
      "planned_start": "2026-10-20 09:00:00",
      "group": 0,
      "quotation_id": 558,
      "quotation_no": "QT20261015000001",
      "contract_id": 558,
      "contract_no": "HT20261015000001",
      "order_id": 1071,
      "order_no": "XSDD20261015000001",
      "order_item_id": 4214,
      "receivable_plan_id": 59,
      "mps_id": 3533,
      "mps_code": "MPS20261015002",
      "wo_id": 132,
      "wo_code": "WO_20261015005",
      "bom_count": 18
    },
    {
      "sheet": "营养保健",
      "row": 5,
      "code": "U2100335",
      "name": "血蛋白营养素饮",
      "spec": "500ml(50ml*10)",
      "unit": "盒",
      "quantity": 10000,
      "price": 46.5,
      "amount": 465000,
      "due": null,
      "note": null,
      "mdm_id": 1541,
      "mes_id": 1541,
      "route": 56,
      "unit_id": 9,
      "due_date": "2026-10-27 18:00:00",
      "planned_start": "2026-10-22 09:00:00",
      "group": 0,
      "quotation_id": 558,
      "quotation_no": "QT20261015000001",
      "contract_id": 558,
      "contract_no": "HT20261015000001",
      "order_id": 1071,
      "order_no": "XSDD20261015000001",
      "order_item_id": 4215,
      "receivable_plan_id": 59,
      "mps_id": 3534,
      "mps_code": "MPS20261015003",
      "wo_id": 133,
      "wo_code": "WO_20261015006",
      "bom_count": 0
    },
    {
      "sheet": "营养保健",
      "row": 6,
      "code": "U2100336",
      "name": "血红素铁红枣饮",
      "spec": "300ml(30ml×10)",
      "unit": "盒",
      "quantity": 7992,
      "price": 33.5,
      "amount": 267732,
      "due": null,
      "note": "半成品已生产完毕等通知发货",
      "mdm_id": 1542,
      "mes_id": 1542,
      "route": 56,
      "unit_id": 9,
      "due_date": "2026-10-21 18:00:00",
      "planned_start": "2026-10-19 09:00:00",
      "group": 0,
      "quotation_id": 558,
      "quotation_no": "QT20261015000001",
      "contract_id": 558,
      "contract_no": "HT20261015000001",
      "order_id": 1071,
      "order_no": "XSDD20261015000001",
      "order_item_id": 4216,
      "receivable_plan_id": 59,
      "mps_id": 3535,
      "mps_code": "MPS20261015004",
      "wo_id": 134,
      "wo_code": "WO_20261015007",
      "bom_count": 0
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 3,
      "code": "Q2100197、Q2100196、81013526",
      "name": "红黑枸杞原浆礼盒-1800ml(30ml*60袋)",
      "spec": "1800ml",
      "unit": "盒",
      "quantity": 3033,
      "price": 63,
      "amount": 191079,
      "due": null,
      "note": null,
      "mdm_id": 502,
      "mes_id": 502,
      "route": 57,
      "unit_id": 9,
      "due_date": "2026-10-22 18:00:00",
      "planned_start": "2026-10-20 09:00:00",
      "group": 1,
      "quotation_id": 559,
      "quotation_no": "QT20261015000002",
      "contract_id": 559,
      "contract_no": "HT20261015000002",
      "order_id": 1072,
      "order_no": "XSDD20261015000002",
      "order_item_id": 4217,
      "receivable_plan_id": 60,
      "mps_id": 3536,
      "mps_code": "MPS20261015005",
      "wo_id": 135,
      "wo_code": "WO_20261015008",
      "bom_count": 6
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 5,
      "code": "Q2100314",
      "name": "黑红枸杞原浆-30ml",
      "spec": "30ml",
      "unit": "袋",
      "quantity": 100000,
      "price": 2.12,
      "amount": 212000,
      "due": null,
      "note": null,
      "mdm_id": 1510,
      "mes_id": 1510,
      "route": 18,
      "unit_id": 3,
      "due_date": "2026-10-30 18:00:00",
      "planned_start": "2026-10-21 09:00:00",
      "group": 1,
      "quotation_id": 559,
      "quotation_no": "QT20261015000002",
      "contract_id": 559,
      "contract_no": "HT20261015000002",
      "order_id": 1072,
      "order_no": "XSDD20261015000002",
      "order_item_id": 4218,
      "receivable_plan_id": 60,
      "mps_id": 3537,
      "mps_code": "MPS20261015006",
      "wo_id": 136,
      "wo_code": "WO_20261015009",
      "bom_count": 0
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 7,
      "code": "Q2100080",
      "name": "枸杞原浆-300ml",
      "spec": "300ml",
      "unit": "盒",
      "quantity": 1400,
      "price": 15.46,
      "amount": 21644,
      "due": null,
      "note": null,
      "mdm_id": 497,
      "mes_id": 497,
      "route": 36,
      "unit_id": 9,
      "due_date": "2026-10-19 18:00:00",
      "planned_start": "2026-10-16 09:00:00",
      "group": 1,
      "quotation_id": 559,
      "quotation_no": "QT20261015000002",
      "contract_id": 559,
      "contract_no": "HT20261015000002",
      "order_id": 1072,
      "order_no": "XSDD20261015000002",
      "order_item_id": 4219,
      "receivable_plan_id": 60,
      "mps_id": 3538,
      "mps_code": "MPS20261015007",
      "wo_id": 137,
      "wo_code": "WO_20261015010",
      "bom_count": 5
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 4,
      "code": "Q2100073",
      "name": "黑枸杞250克(50克*5)",
      "spec": "250克(50克*5)",
      "unit": "盒",
      "quantity": 168,
      "price": 122.74,
      "amount": 20620.32,
      "due": null,
      "note": null,
      "mdm_id": 485,
      "mes_id": 485,
      "route": 13,
      "unit_id": 9,
      "due_date": "2026-10-21 18:00:00",
      "planned_start": "2026-10-19 09:00:00",
      "group": 2,
      "quotation_id": 560,
      "quotation_no": "QT20261015000003",
      "contract_id": 560,
      "contract_no": "HT20261015000003",
      "order_id": 1073,
      "order_no": "XSDD20261015000003",
      "order_item_id": 4220,
      "receivable_plan_id": 61,
      "mps_id": 3539,
      "mps_code": "MPS20261015008",
      "wo_id": 138,
      "wo_code": "WO_20261015011",
      "bom_count": 8
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 6,
      "code": "Q2100077",
      "name": "黑枸杞 å¤§æžœ 500克(250克*2)特优级",
      "spec": "500克(250克*2)",
      "unit": "套",
      "quantity": 666,
      "price": 75.81,
      "amount": 50489.46,
      "due": null,
      "note": null,
      "mdm_id": 487,
      "mes_id": 487,
      "route": 13,
      "unit_id": 64,
      "due_date": "2026-10-26 18:00:00",
      "planned_start": "2026-10-22 09:00:00",
      "group": 2,
      "quotation_id": 560,
      "quotation_no": "QT20261015000003",
      "contract_id": 560,
      "contract_no": "HT20261015000003",
      "order_id": 1073,
      "order_no": "XSDD20261015000003",
      "order_item_id": 4221,
      "receivable_plan_id": 61,
      "mps_id": 3540,
      "mps_code": "MPS20261015009",
      "wo_id": 139,
      "wo_code": "WO_20261015012",
      "bom_count": 10
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 8,
      "code": "Q2100078",
      "name": "黑果枸杞-250克甲级",
      "spec": "250克",
      "unit": "瓶",
      "quantity": 1800,
      "price": 21.48,
      "amount": 38664,
      "due": null,
      "note": null,
      "mdm_id": 486,
      "mes_id": 486,
      "route": 13,
      "unit_id": 8,
      "due_date": "2026-10-28 18:00:00",
      "planned_start": "2026-10-26 09:00:00",
      "group": 2,
      "quotation_id": 560,
      "quotation_no": "QT20261015000003",
      "contract_id": 560,
      "contract_no": "HT20261015000003",
      "order_id": 1073,
      "order_no": "XSDD20261015000003",
      "order_item_id": 4222,
      "receivable_plan_id": 61,
      "mps_id": 3541,
      "mps_code": "MPS20261015010",
      "wo_id": 140,
      "wo_code": "WO_20261015013",
      "bom_count": 8
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 9,
      "code": 12100271,
      "name": "黑果枸杞-90克",
      "spec": "90克",
      "unit": "瓶",
      "quantity": 90,
      "price": 179.1,
      "amount": 16119,
      "due": null,
      "note": null,
      "mdm_id": 1998,
      "mes_id": 1998,
      "route": 13,
      "unit_id": 8,
      "due_date": "2026-10-29 18:00:00",
      "planned_start": "2026-10-27 09:00:00",
      "group": 2,
      "quotation_id": 560,
      "quotation_no": "QT20261015000003",
      "contract_id": 560,
      "contract_no": "HT20261015000003",
      "order_id": 1073,
      "order_no": "XSDD20261015000003",
      "order_item_id": 4223,
      "receivable_plan_id": 61,
      "mps_id": 3542,
      "mps_code": "MPS20261015011",
      "wo_id": 141,
      "wo_code": "WO_20261015014",
      "bom_count": 0
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 10,
      "code": "UC000017",
      "name": "雪菊",
      "spec": "50g",
      "unit": "瓶",
      "quantity": 180,
      "price": 44.55,
      "amount": 8019,
      "due": null,
      "note": null,
      "mdm_id": 1999,
      "mes_id": 1999,
      "route": 60,
      "unit_id": 8,
      "due_date": "2026-10-30 18:00:00",
      "planned_start": "2026-10-28 09:00:00",
      "group": 2,
      "quotation_id": 560,
      "quotation_no": "QT20261015000003",
      "contract_id": 560,
      "contract_no": "HT20261015000003",
      "order_id": 1073,
      "order_no": "XSDD20261015000003",
      "order_item_id": 4224,
      "receivable_plan_id": 61,
      "mps_id": 3543,
      "mps_code": "MPS20261015012",
      "wo_id": 142,
      "wo_code": "WO_20261015015",
      "bom_count": 0
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 11,
      "code": "U2100282",
      "name": "桑椹原浆",
      "spec": "500ml(50ml*10)",
      "unit": "盒",
      "quantity": 1000,
      "price": 28.06,
      "amount": 28060,
      "due": "10月15号左右发货",
      "note": null,
      "mdm_id": 2000,
      "mes_id": 2000,
      "route": 17,
      "unit_id": 9,
      "due_date": "2026-10-16 18:00:00",
      "planned_start": "2026-10-16 09:00:00",
      "group": 3,
      "quotation_id": 561,
      "quotation_no": "QT20261015000004",
      "contract_id": 561,
      "contract_no": "HT20261015000004",
      "order_id": 1074,
      "order_no": "XSDD20261015000004",
      "order_item_id": 4225,
      "receivable_plan_id": 62,
      "mps_id": 3544,
      "mps_code": "MPS20261015013",
      "wo_id": 143,
      "wo_code": "WO_20261015016",
      "bom_count": 0
    }
  ],
  "updates": [
    {
      "table": "mdm_item",
      "id": 517,
      "before": {
        "id": 517,
        "code": "Q2100202",
        "name": "γ氨基丁酸酸枣仁饮品(蜜桃味)",
        "bar_code": null,
        "specification": null,
        "category_id": 10,
        "unit_measure_id": 24,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:37:31",
        "updater": "1",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mes_md_item",
      "id": 517,
      "before": {
        "id": 517,
        "mdm_item_id": 517,
        "code": "Q2100202",
        "name": "γ氨基丁酸酸枣仁饮品(蜜桃味)",
        "specification": null,
        "unit_measure_id": 24,
        "item_type_id": 10,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "244",
        "create_time": "2026-09-17 09:37:36",
        "updater": "1",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mdm_item",
      "id": 517,
      "before": {
        "id": 517,
        "code": "Q2100202",
        "name": "γ氨基丁酸酸枣仁饮品(蜜桃味)",
        "bar_code": null,
        "specification": null,
        "category_id": 10,
        "unit_measure_id": 9,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:37:31",
        "updater": "1",
        "update_time": "2026-10-15 06:39:37",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "γ-氨基丁酸营养素饮品(蜜桃味)",
        "specification": "350ml(35ml×10)"
      }
    },
    {
      "table": "mes_md_item",
      "id": 517,
      "before": {
        "id": 517,
        "mdm_item_id": 517,
        "code": "Q2100202",
        "name": "γ氨基丁酸酸枣仁饮品(蜜桃味)",
        "specification": null,
        "unit_measure_id": 9,
        "item_type_id": 10,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "244",
        "create_time": "2026-09-17 09:37:36",
        "updater": "1",
        "update_time": "2026-10-15 06:39:37",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "γ-氨基丁酸营养素饮品(蜜桃味)",
        "specification": "350ml(35ml×10)"
      }
    },
    {
      "table": "mdm_item",
      "id": 512,
      "before": {
        "id": 512,
        "code": "Q2100201",
        "name": "γ氨基丁酸酸枣仁饮品(桃子味)",
        "bar_code": null,
        "specification": null,
        "category_id": 9,
        "unit_measure_id": 24,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:32:30",
        "updater": "1",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mes_md_item",
      "id": 512,
      "before": {
        "id": 512,
        "mdm_item_id": 512,
        "code": "Q2100201",
        "name": "γ氨基丁酸酸枣仁饮品(桃子味)",
        "specification": null,
        "unit_measure_id": 24,
        "item_type_id": 9,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "244",
        "create_time": "2026-09-17 09:31:54",
        "updater": "1",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mdm_item",
      "id": 512,
      "before": {
        "id": 512,
        "code": "Q2100201",
        "name": "γ氨基丁酸酸枣仁饮品(桃子味)",
        "bar_code": null,
        "specification": null,
        "category_id": 9,
        "unit_measure_id": 9,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:32:30",
        "updater": "1",
        "update_time": "2026-10-15 06:39:37",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "γ-氨基丁酸酸枣仁饮品(桃子味)",
        "specification": "350ml(35ml×10)"
      }
    },
    {
      "table": "mes_md_item",
      "id": 512,
      "before": {
        "id": 512,
        "mdm_item_id": 512,
        "code": "Q2100201",
        "name": "γ氨基丁酸酸枣仁饮品(桃子味)",
        "specification": null,
        "unit_measure_id": 9,
        "item_type_id": 9,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "244",
        "create_time": "2026-09-17 09:31:54",
        "updater": "1",
        "update_time": "2026-10-15 06:39:37",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "γ-氨基丁酸酸枣仁饮品(桃子味)",
        "specification": "350ml(35ml×10)"
      }
    },
    {
      "table": "mdm_item",
      "id": 1541,
      "before": {
        "id": 1541,
        "code": "U2100335",
        "name": "血蛋白营养素饮",
        "bar_code": null,
        "specification": "500ml(50ml×10)",
        "category_id": 6,
        "unit_measure_id": 9,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": null,
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第543行;结存0盒;",
        "creator": "stock-import-202609",
        "create_time": "2026-09-18 17:44:58",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "血蛋白营养素饮",
        "specification": "500ml(50ml*10)"
      }
    },
    {
      "table": "mes_md_item",
      "id": 1541,
      "before": {
        "id": 1541,
        "mdm_item_id": 1541,
        "code": "U2100335",
        "name": "血蛋白营养素饮",
        "specification": "500ml(50ml×10)",
        "unit_measure_id": 9,
        "item_type_id": 6,
        "status": 0,
        "safe_stock_flag": "b'\\x00'",
        "min_stock": null,
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第543行;结存0盒;",
        "creator": "stock-material-repair",
        "create_time": "2026-09-18 17:49:41",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "血蛋白营养素饮",
        "specification": "500ml(50ml*10)"
      }
    },
    {
      "table": "mdm_item",
      "id": 502,
      "before": {
        "id": 502,
        "code": "Q2100197",
        "name": "红黑枸杞原浆",
        "bar_code": null,
        "specification": "1.8L",
        "category_id": 9,
        "unit_measure_id": 24,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:22:34",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mes_md_item",
      "id": 502,
      "before": {
        "id": 502,
        "mdm_item_id": 502,
        "code": "Q2100197",
        "name": "红黑枸杞原浆",
        "specification": "1.8L",
        "unit_measure_id": 24,
        "item_type_id": 9,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:20:30",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mdm_item",
      "id": 502,
      "before": {
        "id": 502,
        "code": "Q2100197",
        "name": "红黑枸杞原浆",
        "bar_code": null,
        "specification": "1.8L",
        "category_id": 9,
        "unit_measure_id": 9,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:22:34",
        "updater": "stock-material-repair",
        "update_time": "2026-10-15 06:39:37",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "红黑枸杞原浆礼盒-1800ml(30ml*60袋)",
        "specification": "1800ml"
      }
    },
    {
      "table": "mes_md_item",
      "id": 502,
      "before": {
        "id": 502,
        "mdm_item_id": 502,
        "code": "Q2100197",
        "name": "红黑枸杞原浆",
        "specification": "1.8L",
        "unit_measure_id": 9,
        "item_type_id": 9,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:20:30",
        "updater": "stock-material-repair",
        "update_time": "2026-10-15 06:39:37",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "红黑枸杞原浆礼盒-1800ml(30ml*60袋)",
        "specification": "1800ml"
      }
    },
    {
      "table": "mdm_item",
      "id": 485,
      "before": {
        "id": 485,
        "code": "Q2100073",
        "name": "黑果枸杞",
        "bar_code": null,
        "specification": "250克(50克*5)",
        "category_id": 8,
        "unit_measure_id": 24,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:01:23",
        "updater": "1",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mes_md_item",
      "id": 485,
      "before": {
        "id": 485,
        "mdm_item_id": 485,
        "code": "Q2100073",
        "name": "黑果枸杞",
        "specification": "250克(50克*5)",
        "unit_measure_id": 24,
        "item_type_id": 8,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:01:08",
        "updater": "1",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mdm_item",
      "id": 485,
      "before": {
        "id": 485,
        "code": "Q2100073",
        "name": "黑果枸杞",
        "bar_code": null,
        "specification": "250克(50克*5)",
        "category_id": 8,
        "unit_measure_id": 9,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:01:23",
        "updater": "1",
        "update_time": "2026-10-15 06:39:37",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑枸杞250克(50克*5)",
        "specification": "250克(50克*5)"
      }
    },
    {
      "table": "mes_md_item",
      "id": 485,
      "before": {
        "id": 485,
        "mdm_item_id": 485,
        "code": "Q2100073",
        "name": "黑果枸杞",
        "specification": "250克(50克*5)",
        "unit_measure_id": 9,
        "item_type_id": 8,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:01:08",
        "updater": "1",
        "update_time": "2026-10-15 06:39:37",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑枸杞250克(50克*5)",
        "specification": "250克(50克*5)"
      }
    },
    {
      "table": "mdm_item",
      "id": 1510,
      "before": {
        "id": 1510,
        "code": "Q2100314",
        "name": "黑红枸杞原浆",
        "bar_code": null,
        "specification": "黑果枸杞原浆30ml,红枸杞原浆30ml",
        "category_id": 6,
        "unit_measure_id": 3,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": null,
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第844行;结存0袋;",
        "creator": "stock-import-202609",
        "create_time": "2026-09-18 17:13:29",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑红枸杞原浆-30ml",
        "specification": "30ml"
      }
    },
    {
      "table": "mes_md_item",
      "id": 1510,
      "before": {
        "id": 1510,
        "mdm_item_id": 1510,
        "code": "Q2100314",
        "name": "黑红枸杞原浆",
        "specification": "黑果枸杞原浆30ml,红枸杞原浆30ml",
        "unit_measure_id": 3,
        "item_type_id": 6,
        "status": 0,
        "safe_stock_flag": "b'\\x00'",
        "min_stock": null,
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第844行;结存0袋;",
        "creator": "stock-material-repair",
        "create_time": "2026-09-18 17:21:37",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑红枸杞原浆-30ml",
        "specification": "30ml"
      }
    },
    {
      "table": "mdm_item",
      "id": 487,
      "before": {
        "id": 487,
        "code": "Q2100077",
        "name": "黑果枸杞",
        "bar_code": null,
        "specification": "500克(特优)",
        "category_id": 8,
        "unit_measure_id": 24,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:06:01",
        "updater": "1",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 64
      }
    },
    {
      "table": "mes_md_item",
      "id": 487,
      "before": {
        "id": 487,
        "mdm_item_id": 487,
        "code": "Q2100077",
        "name": "黑果枸杞",
        "specification": "500克(特优)",
        "unit_measure_id": 24,
        "item_type_id": 8,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:03:25",
        "updater": "1",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 64
      }
    },
    {
      "table": "mdm_item",
      "id": 487,
      "before": {
        "id": 487,
        "code": "Q2100077",
        "name": "黑果枸杞",
        "bar_code": null,
        "specification": "500克(特优)",
        "category_id": 8,
        "unit_measure_id": 64,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:06:01",
        "updater": "1",
        "update_time": "2026-10-15 06:39:37",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑枸杞 å¤§æžœ 500克(250克*2)特优级",
        "specification": "500克(250克*2)"
      }
    },
    {
      "table": "mes_md_item",
      "id": 487,
      "before": {
        "id": 487,
        "mdm_item_id": 487,
        "code": "Q2100077",
        "name": "黑果枸杞",
        "specification": "500克(特优)",
        "unit_measure_id": 64,
        "item_type_id": 8,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:03:25",
        "updater": "1",
        "update_time": "2026-10-15 06:39:37",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑枸杞 å¤§æžœ 500克(250克*2)特优级",
        "specification": "500克(250克*2)"
      }
    },
    {
      "table": "mdm_item",
      "id": 497,
      "before": {
        "id": 497,
        "code": "Q2100080",
        "name": "枸杞原浆",
        "bar_code": null,
        "specification": "300ml",
        "category_id": 9,
        "unit_measure_id": 24,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:18:48",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mes_md_item",
      "id": 497,
      "before": {
        "id": 497,
        "mdm_item_id": 497,
        "code": "Q2100080",
        "name": "枸杞原浆",
        "specification": "300ml",
        "unit_measure_id": 24,
        "item_type_id": 9,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:14:49",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mdm_item",
      "id": 497,
      "before": {
        "id": 497,
        "code": "Q2100080",
        "name": "枸杞原浆",
        "bar_code": null,
        "specification": "300ml",
        "category_id": 9,
        "unit_measure_id": 9,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:18:48",
        "updater": "stock-material-repair",
        "update_time": "2026-10-15 06:39:37",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "枸杞原浆-300ml",
        "specification": "300ml"
      }
    },
    {
      "table": "mes_md_item",
      "id": 497,
      "before": {
        "id": 497,
        "mdm_item_id": 497,
        "code": "Q2100080",
        "name": "枸杞原浆",
        "specification": "300ml",
        "unit_measure_id": 9,
        "item_type_id": 9,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:14:49",
        "updater": "stock-material-repair",
        "update_time": "2026-10-15 06:39:37",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "枸杞原浆-300ml",
        "specification": "300ml"
      }
    },
    {
      "table": "mdm_item",
      "id": 486,
      "before": {
        "id": 486,
        "code": "Q2100078",
        "name": "黑果枸杞",
        "bar_code": null,
        "specification": "250克(甲级)",
        "category_id": 8,
        "unit_measure_id": 24,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:02:45",
        "updater": "1",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 8
      }
    },
    {
      "table": "mes_md_item",
      "id": 486,
      "before": {
        "id": 486,
        "mdm_item_id": 486,
        "code": "Q2100078",
        "name": "黑果枸杞",
        "specification": "250克(甲级)",
        "unit_measure_id": 24,
        "item_type_id": 8,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:02:17",
        "updater": "1",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 8
      }
    },
    {
      "table": "mdm_item",
      "id": 486,
      "before": {
        "id": 486,
        "code": "Q2100078",
        "name": "黑果枸杞",
        "bar_code": null,
        "specification": "250克(甲级)",
        "category_id": 8,
        "unit_measure_id": 8,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:02:45",
        "updater": "1",
        "update_time": "2026-10-15 06:39:37",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑果枸杞-250克甲级",
        "specification": "250克"
      }
    },
    {
      "table": "mes_md_item",
      "id": 486,
      "before": {
        "id": 486,
        "mdm_item_id": 486,
        "code": "Q2100078",
        "name": "黑果枸杞",
        "specification": "250克(甲级)",
        "unit_measure_id": 8,
        "item_type_id": 8,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:02:17",
        "updater": "1",
        "update_time": "2026-10-15 06:39:37",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑果枸杞-250克甲级",
        "specification": "250克"
      }
    },
    {
      "table": "mdm_item",
      "id": 1998,
      "before": {
        "id": 1998,
        "code": "12100271",
        "name": "黑果枸杞",
        "bar_code": null,
        "specification": "90克",
        "category_id": 13,
        "unit_measure_id": 8,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": null,
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": null,
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": "来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。",
        "creator": "244",
        "create_time": "2026-10-15 08:00:00",
        "updater": "244",
        "update_time": "2026-10-15 08:00:00",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑果枸杞-90克",
        "specification": "90克"
      }
    },
    {
      "table": "mes_md_item",
      "id": 1998,
      "before": {
        "id": 1998,
        "mdm_item_id": 1998,
        "code": "12100271",
        "name": "黑果枸杞",
        "specification": "90克",
        "unit_measure_id": 8,
        "item_type_id": null,
        "status": 0,
        "safe_stock_flag": "b'\\x00'",
        "min_stock": null,
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x00'",
        "remark": "来源10月15日电商未缴库计划",
        "creator": "244",
        "create_time": "2026-10-15 08:00:00",
        "updater": "244",
        "update_time": "2026-10-15 08:00:00",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑果枸杞-90克",
        "specification": "90克"
      }
    },
    {
      "table": "mdm_item",
      "id": 2000,
      "before": {
        "id": 2000,
        "code": "U2100282",
        "name": "桑椹原浆",
        "bar_code": null,
        "specification": "500ml(50ml×10)",
        "category_id": 9,
        "unit_measure_id": 9,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": null,
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": null,
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": "来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。",
        "creator": "244",
        "create_time": "2026-10-15 08:00:00",
        "updater": "244",
        "update_time": "2026-10-15 08:00:00",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "桑椹原浆",
        "specification": "500ml(50ml*10)"
      }
    },
    {
      "table": "mes_md_item",
      "id": 2000,
      "before": {
        "id": 2000,
        "mdm_item_id": 2000,
        "code": "U2100282",
        "name": "桑椹原浆",
        "specification": "500ml(50ml×10)",
        "unit_measure_id": 9,
        "item_type_id": null,
        "status": 0,
        "safe_stock_flag": "b'\\x00'",
        "min_stock": null,
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x00'",
        "remark": "来源10月15日电商未缴库计划",
        "creator": "244",
        "create_time": "2026-10-15 08:00:00",
        "updater": "244",
        "update_time": "2026-10-15 08:00:00",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "桑椹原浆",
        "specification": "500ml(50ml*10)"
      }
    },
    {
      "table": "crm_contract",
      "id": 558,
      "before": {
        "id": 558,
        "name": "总公司10月营养保健供货合同",
        "no": "HT20261015000001",
        "customer_id": 1613,
        "business_id": null,
        "contact_last_time": null,
        "owner_user_id": 291,
        "process_instance_id": null,
        "audit_status": 20,
        "order_date": "2026-10-15 08:20:00",
        "start_time": "2026-10-15 08:20:00",
        "end_time": "2026-11-30 18:00:00",
        "total_product_price": "1475658.400000",
        "discount_percent": "0.000000",
        "total_price": "1475658.400000",
        "deposit_price": "0.000000",
        "order_id": null,
        "order_no": null,
        "sign_contact_id": null,
        "sign_user_id": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
        "creator": "291",
        "create_time": "2026-10-15 08:20:00",
        "updater": "291",
        "update_time": "2026-10-15 08:20:00",
        "deleted": 0
      },
      "after": {
        "order_id": 1071,
        "order_no": "XSDD20261015000001"
      }
    },
    {
      "table": "crm_sale_quotation",
      "id": 558,
      "before": {
        "id": 558,
        "no": "QT20261015000001",
        "name": "总公司10月营养保健供货报价",
        "customer_id": 1613,
        "business_id": null,
        "contact_id": null,
        "owner_user_id": 291,
        "status": 10,
        "process_instance_id": null,
        "quotation_time": "2026-10-15 08:05:00",
        "valid_until": "2026-10-30 18:00:00",
        "total_product_price": "1475658.400000",
        "discount_percent": "0.00",
        "discount_price": "0.000000",
        "total_price": "1475658.400000",
        "tax_rate": null,
        "tax_price": "0.000000",
        "contract_id": null,
        "contract_no": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
        "creator": "291",
        "create_time": "2026-10-15 08:05:00",
        "updater": "291",
        "update_time": "2026-10-15 08:05:00",
        "deleted": "b'\\x00'",
        "tenant_id": 0
      },
      "after": {
        "contract_id": 558,
        "contract_no": "HT20261015000001"
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4213,
      "before": {
        "id": 4213,
        "order_id": 1071,
        "product_id": 517,
        "product_unit_id": 9,
        "product_price": "15.400000",
        "count": "19216.000000",
        "total_price": "295926.400000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100202;半成品已生产完毕等通知发货",
        "creator": "291",
        "create_time": "2026-10-15 08:40:00",
        "updater": "291",
        "update_time": "2026-10-15 08:40:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3532
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4214,
      "before": {
        "id": 4214,
        "order_id": 1071,
        "product_id": 512,
        "product_unit_id": 9,
        "product_price": "14.900000",
        "count": "30000.000000",
        "total_price": "447000.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100201;",
        "creator": "291",
        "create_time": "2026-10-15 08:40:00",
        "updater": "291",
        "update_time": "2026-10-15 08:40:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3533
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4215,
      "before": {
        "id": 4215,
        "order_id": 1071,
        "product_id": 1541,
        "product_unit_id": 9,
        "product_price": "46.500000",
        "count": "10000.000000",
        "total_price": "465000.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:U2100335;",
        "creator": "291",
        "create_time": "2026-10-15 08:40:00",
        "updater": "291",
        "update_time": "2026-10-15 08:40:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3534
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4216,
      "before": {
        "id": 4216,
        "order_id": 1071,
        "product_id": 1542,
        "product_unit_id": 9,
        "product_price": "33.500000",
        "count": "7992.000000",
        "total_price": "267732.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:U2100336;半成品已生产完毕等通知发货",
        "creator": "291",
        "create_time": "2026-10-15 08:40:00",
        "updater": "291",
        "update_time": "2026-10-15 08:40:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3535
      }
    },
    {
      "table": "crm_contract",
      "id": 559,
      "before": {
        "id": 559,
        "name": "总公司10月原浆供货供货合同",
        "no": "HT20261015000002",
        "customer_id": 1613,
        "business_id": null,
        "contact_last_time": null,
        "owner_user_id": 291,
        "process_instance_id": null,
        "audit_status": 20,
        "order_date": "2026-10-15 08:21:00",
        "start_time": "2026-10-15 08:21:00",
        "end_time": "2026-11-30 18:00:00",
        "total_product_price": "424723.000000",
        "discount_percent": "0.000000",
        "total_price": "424723.000000",
        "deposit_price": "0.000000",
        "order_id": null,
        "order_no": null,
        "sign_contact_id": null,
        "sign_user_id": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
        "creator": "291",
        "create_time": "2026-10-15 08:21:00",
        "updater": "291",
        "update_time": "2026-10-15 08:21:00",
        "deleted": 0
      },
      "after": {
        "order_id": 1072,
        "order_no": "XSDD20261015000002"
      }
    },
    {
      "table": "crm_sale_quotation",
      "id": 559,
      "before": {
        "id": 559,
        "no": "QT20261015000002",
        "name": "总公司10月原浆供货供货报价",
        "customer_id": 1613,
        "business_id": null,
        "contact_id": null,
        "owner_user_id": 291,
        "status": 10,
        "process_instance_id": null,
        "quotation_time": "2026-10-15 08:06:00",
        "valid_until": "2026-10-30 18:00:00",
        "total_product_price": "424723.000000",
        "discount_percent": "0.00",
        "discount_price": "0.000000",
        "total_price": "424723.000000",
        "tax_rate": null,
        "tax_price": "0.000000",
        "contract_id": null,
        "contract_no": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
        "creator": "291",
        "create_time": "2026-10-15 08:06:00",
        "updater": "291",
        "update_time": "2026-10-15 08:06:00",
        "deleted": "b'\\x00'",
        "tenant_id": 0
      },
      "after": {
        "contract_id": 559,
        "contract_no": "HT20261015000002"
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4217,
      "before": {
        "id": 4217,
        "order_id": 1072,
        "product_id": 502,
        "product_unit_id": 9,
        "product_price": "63.000000",
        "count": "3033.000000",
        "total_price": "191079.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100197、Q2100196、81013526;",
        "creator": "291",
        "create_time": "2026-10-15 08:41:00",
        "updater": "291",
        "update_time": "2026-10-15 08:41:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3536
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4218,
      "before": {
        "id": 4218,
        "order_id": 1072,
        "product_id": 1510,
        "product_unit_id": 3,
        "product_price": "2.120000",
        "count": "100000.000000",
        "total_price": "212000.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100314;",
        "creator": "291",
        "create_time": "2026-10-15 08:41:00",
        "updater": "291",
        "update_time": "2026-10-15 08:41:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3537
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4219,
      "before": {
        "id": 4219,
        "order_id": 1072,
        "product_id": 497,
        "product_unit_id": 9,
        "product_price": "15.460000",
        "count": "1400.000000",
        "total_price": "21644.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100080;",
        "creator": "291",
        "create_time": "2026-10-15 08:41:00",
        "updater": "291",
        "update_time": "2026-10-15 08:41:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3538
      }
    },
    {
      "table": "crm_contract",
      "id": 560,
      "before": {
        "id": 560,
        "name": "总公司10月枸杞及雪菊供货合同",
        "no": "HT20261015000003",
        "customer_id": 1613,
        "business_id": null,
        "contact_last_time": null,
        "owner_user_id": 291,
        "process_instance_id": null,
        "audit_status": 20,
        "order_date": "2026-10-15 08:22:00",
        "start_time": "2026-10-15 08:22:00",
        "end_time": "2026-11-30 18:00:00",
        "total_product_price": "133911.780000",
        "discount_percent": "0.000000",
        "total_price": "133911.780000",
        "deposit_price": "0.000000",
        "order_id": null,
        "order_no": null,
        "sign_contact_id": null,
        "sign_user_id": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
        "creator": "291",
        "create_time": "2026-10-15 08:22:00",
        "updater": "291",
        "update_time": "2026-10-15 08:22:00",
        "deleted": 0
      },
      "after": {
        "order_id": 1073,
        "order_no": "XSDD20261015000003"
      }
    },
    {
      "table": "crm_sale_quotation",
      "id": 560,
      "before": {
        "id": 560,
        "no": "QT20261015000003",
        "name": "总公司10月枸杞及雪菊供货报价",
        "customer_id": 1613,
        "business_id": null,
        "contact_id": null,
        "owner_user_id": 291,
        "status": 10,
        "process_instance_id": null,
        "quotation_time": "2026-10-15 08:07:00",
        "valid_until": "2026-10-30 18:00:00",
        "total_product_price": "133911.780000",
        "discount_percent": "0.00",
        "discount_price": "0.000000",
        "total_price": "133911.780000",
        "tax_rate": null,
        "tax_price": "0.000000",
        "contract_id": null,
        "contract_no": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
        "creator": "291",
        "create_time": "2026-10-15 08:07:00",
        "updater": "291",
        "update_time": "2026-10-15 08:07:00",
        "deleted": "b'\\x00'",
        "tenant_id": 0
      },
      "after": {
        "contract_id": 560,
        "contract_no": "HT20261015000003"
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4220,
      "before": {
        "id": 4220,
        "order_id": 1073,
        "product_id": 485,
        "product_unit_id": 9,
        "product_price": "122.740000",
        "count": "168.000000",
        "total_price": "20620.320000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100073;",
        "creator": "291",
        "create_time": "2026-10-15 08:42:00",
        "updater": "291",
        "update_time": "2026-10-15 08:42:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3539
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4221,
      "before": {
        "id": 4221,
        "order_id": 1073,
        "product_id": 487,
        "product_unit_id": 64,
        "product_price": "75.810000",
        "count": "666.000000",
        "total_price": "50489.460000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100077;",
        "creator": "291",
        "create_time": "2026-10-15 08:42:00",
        "updater": "291",
        "update_time": "2026-10-15 08:42:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3540
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4222,
      "before": {
        "id": 4222,
        "order_id": 1073,
        "product_id": 486,
        "product_unit_id": 8,
        "product_price": "21.480000",
        "count": "1800.000000",
        "total_price": "38664.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100078;",
        "creator": "291",
        "create_time": "2026-10-15 08:42:00",
        "updater": "291",
        "update_time": "2026-10-15 08:42:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3541
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4223,
      "before": {
        "id": 4223,
        "order_id": 1073,
        "product_id": 1998,
        "product_unit_id": 8,
        "product_price": "179.100000",
        "count": "90.000000",
        "total_price": "16119.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:12100271;",
        "creator": "291",
        "create_time": "2026-10-15 08:42:00",
        "updater": "291",
        "update_time": "2026-10-15 08:42:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3542
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4224,
      "before": {
        "id": 4224,
        "order_id": 1073,
        "product_id": 1999,
        "product_unit_id": 8,
        "product_price": "44.550000",
        "count": "180.000000",
        "total_price": "8019.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:UC000017;",
        "creator": "291",
        "create_time": "2026-10-15 08:42:00",
        "updater": "291",
        "update_time": "2026-10-15 08:42:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3543
      }
    },
    {
      "table": "crm_contract",
      "id": 561,
      "before": {
        "id": 561,
        "name": "总公司10月桑椹原浆供货合同",
        "no": "HT20261015000004",
        "customer_id": 1613,
        "business_id": null,
        "contact_last_time": null,
        "owner_user_id": 291,
        "process_instance_id": null,
        "audit_status": 20,
        "order_date": "2026-10-15 08:23:00",
        "start_time": "2026-10-15 08:23:00",
        "end_time": "2026-11-30 18:00:00",
        "total_product_price": "28060.000000",
        "discount_percent": "0.000000",
        "total_price": "28060.000000",
        "deposit_price": "0.000000",
        "order_id": null,
        "order_no": null,
        "sign_contact_id": null,
        "sign_user_id": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
        "creator": "291",
        "create_time": "2026-10-15 08:23:00",
        "updater": "291",
        "update_time": "2026-10-15 08:23:00",
        "deleted": 0
      },
      "after": {
        "order_id": 1074,
        "order_no": "XSDD20261015000004"
      }
    },
    {
      "table": "crm_sale_quotation",
      "id": 561,
      "before": {
        "id": 561,
        "no": "QT20261015000004",
        "name": "总公司10月桑椹原浆供货报价",
        "customer_id": 1613,
        "business_id": null,
        "contact_id": null,
        "owner_user_id": 291,
        "status": 10,
        "process_instance_id": null,
        "quotation_time": "2026-10-15 08:08:00",
        "valid_until": "2026-10-30 18:00:00",
        "total_product_price": "28060.000000",
        "discount_percent": "0.00",
        "discount_price": "0.000000",
        "total_price": "28060.000000",
        "tax_rate": null,
        "tax_price": "0.000000",
        "contract_id": null,
        "contract_no": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
        "creator": "291",
        "create_time": "2026-10-15 08:08:00",
        "updater": "291",
        "update_time": "2026-10-15 08:08:00",
        "deleted": "b'\\x00'",
        "tenant_id": 0
      },
      "after": {
        "contract_id": 561,
        "contract_no": "HT20261015000004"
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4225,
      "before": {
        "id": 4225,
        "order_id": 1074,
        "product_id": 2000,
        "product_unit_id": 9,
        "product_price": "28.060000",
        "count": "1000.000000",
        "total_price": "28060.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:U2100282;;原进度:10月15号左右发货",
        "creator": "291",
        "create_time": "2026-10-15 08:43:00",
        "updater": "291",
        "update_time": "2026-10-15 08:43:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3544
      }
    },
    {
      "table": "mes_pro_work_order",
      "id": 131,
      "before": {
        "id": 131,
        "code": "WO_20261015004",
        "name": "γ-氨基丁酸营养素饮品(蜜桃味)生产工单",
        "type": 1,
        "order_source_type": 1,
        "order_source_code": "XSDD20261015000001",
        "product_id": 517,
        "quantity": "19216.000000",
        "quantity_produced": "0.000000",
        "quantity_changed": "0.000000",
        "quantity_scheduled": "0.000000",
        "client_id": 1613,
        "vendor_id": null,
        "batch_code": null,
        "route_id": 23,
        "auto_finish_flag": 1,
        "request_date": "2026-10-20 18:00:00",
        "parent_id": 0,
        "finish_date": null,
        "cancel_date": null,
        "status": 1,
        "process_instance_id": null,
        "remark": "来源10月15日未缴库计划;计划开工10月15日;半成品已生产完毕等通知发货",
        "creator": "244",
        "create_time": "2026-10-15 09:10:00",
        "updater": "244",
        "update_time": "2026-10-15 09:10:00",
        "deleted": "b'\\x00'",
        "is_feedback_approve": 0,
        "process_definition_key": null,
        "feedback_role": null
      },
      "after": {
        "quantity_scheduled": 19216
      }
    },
    {
      "table": "mes_pro_work_order",
      "id": 131,
      "before": {
        "id": 131,
        "code": "WO_20261015004",
        "name": "γ-氨基丁酸营养素饮品(蜜桃味)生产工单",
        "type": 1,
        "order_source_type": 1,
        "order_source_code": "XSDD20261015000001",
        "product_id": 517,
        "quantity": "19216.000000",
        "quantity_produced": "0.000000",
        "quantity_changed": "0.000000",
        "quantity_scheduled": "19216.000000",
        "client_id": 1613,
        "vendor_id": null,
        "batch_code": null,
        "route_id": 23,
        "auto_finish_flag": 1,
        "request_date": "2026-10-20 18:00:00",
        "parent_id": 0,
        "finish_date": null,
        "cancel_date": null,
        "status": 1,
        "process_instance_id": null,
        "remark": "来源10月15日未缴库计划;计划开工10月15日;半成品已生产完毕等通知发货",
        "creator": "244",
        "create_time": "2026-10-15 09:10:00",
        "updater": "244",
        "update_time": "2026-10-15 06:39:38",
        "deleted": "b'\\x00'",
        "is_feedback_approve": 0,
        "process_definition_key": null,
        "feedback_role": null
      },
      "after": {
        "request_date": "2026-10-23 18:00:00"
      }
    },
    {
      "table": "mes_pro_mps",
      "id": 3532,
      "before": {
        "id": 3532,
        "code": "MPS20261015001",
        "status": 1,
        "sale_order_id": 1071,
        "sale_order_no": "XSDD20261015000001",
        "sale_order_item_id": 4213,
        "product_id": 517,
        "quantity": "19216.000000",
        "quantity_produced": "0.000000",
        "unit_measure_id": 9,
        "client_id": 1613,
        "request_date": "2026-10-20 18:00:00",
        "issue_date": "2026-10-15 09:10:00",
        "finish_date": null,
        "work_order_id": 131,
        "work_order_code": "WO_20261015004",
        "merge_flag": 0,
        "merge_batch_no": null,
        "remark": "来源:营养保健第3行;计划开工10月15日;原项目号:Q2100202;半成品已生产完毕等通知发货",
        "creator": "244",
        "create_time": "2026-10-15 09:00:00",
        "updater": "244",
        "update_time": "2026-10-15 09:00:00",
        "deleted": "b'\\x00'",
        "tenant_id": 0
      },
      "after": {
        "request_date": "2026-10-23 18:00:00"
      }
    }
  ],
  "sequences": {
    "crm:seq_no:QT20261015": 4,
    "crm:seq_no:HT20261015": 4,
    "erp:seq_no:XSDD20261015": 4,
    "mes:md:auto_code:30:20261015": 16,
    "mes:md:auto_code:65:20261015": 13,
    "mes:md:auto_code:31:20261015": 17,
    "mes:md:auto_code:33:20261015": 1
  },
  "protected_counts": {
    "crm_receivable": 5,
    "mes_wm_transaction": 1454,
    "mes_wm_material_stock": 976,
    "mes_wm_product_receipt": 4,
    "mes_wm_product_sales": 27
  }
}
scripts/ecommerce-production-20261015/result-preview.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,2621 @@
{
  "applied": false,
  "database": "localhost:3306/mom-hm",
  "total": "2062353.18",
  "groups": {
    "0": {
      "quotation_id": 554,
      "contract_id": 554,
      "order_id": 1067,
      "amount": "1475658.40",
      "receivable_plan_id": 55
    },
    "1": {
      "quotation_id": 555,
      "contract_id": 555,
      "order_id": 1068,
      "amount": "424723.00",
      "receivable_plan_id": 56
    },
    "2": {
      "quotation_id": 556,
      "contract_id": 556,
      "order_id": 1069,
      "amount": "133911.78",
      "receivable_plan_id": 57
    },
    "3": {
      "quotation_id": 557,
      "contract_id": 557,
      "order_id": 1070,
      "amount": "28060.00",
      "receivable_plan_id": 58
    }
  },
  "counts": {
    "mdm_item": 3,
    "mes_md_item": 3,
    "mes_pro_route": 1,
    "mes_pro_route_process": 7,
    "mes_pro_route_product": 5,
    "crm_sale_quotation": 4,
    "crm_contract": 4,
    "erp_sale_order": 4,
    "crm_receivable_plan": 4,
    "crm_permission": 12,
    "crm_sale_quotation_product": 13,
    "crm_contract_product": 13,
    "erp_sale_order_items": 13,
    "mes_md_auto_code_record": 30,
    "mes_pro_work_order": 13,
    "mes_pro_mps": 13,
    "mes_pro_work_order_process": 128,
    "mes_pro_work_order_bom": 76,
    "mes_pro_task": 3,
    "mes_pro_task_assignee": 3,
    "mes_pro_feedback": 1,
    "mes_pro_work_order_param_record": 3,
    "mes_pro_work_order_param_record_detail": 3
  },
  "links": [
    {
      "sheet": "营养保健",
      "row": 3,
      "code": "Q2100202",
      "name": "γ-氨基丁酸营养素饮品(蜜桃味)",
      "spec": "350ml(35ml×10)",
      "unit": "盒",
      "quantity": 19216,
      "price": 15.4,
      "amount": 295926.4,
      "due": null,
      "note": "半成品已生产完毕等通知发货",
      "mdm_id": 517,
      "mes_id": 517,
      "route": 23,
      "unit_id": 9,
      "due_date": "2026-10-23 18:00:00",
      "planned_start": "2026-10-15 09:00:00",
      "group": 0,
      "quotation_id": 554,
      "quotation_no": "QT20261015000001",
      "contract_id": 554,
      "contract_no": "HT20261015000001",
      "order_id": 1067,
      "order_no": "XSDD20261015000001",
      "order_item_id": 4200,
      "receivable_plan_id": 55,
      "mps_id": 3519,
      "mps_code": "MPS20261015001",
      "wo_id": 118,
      "wo_code": "WO_20261015004",
      "bom_count": 21,
      "task_ids": [
        1058,
        1059,
        1060
      ]
    },
    {
      "sheet": "营养保健",
      "row": 4,
      "code": "Q2100201",
      "name": "γ-氨基丁酸酸枣仁饮品(桃子味)",
      "spec": "350ml(35ml×10)",
      "unit": "盒",
      "quantity": 30000,
      "price": 14.9,
      "amount": 447000,
      "due": null,
      "note": null,
      "mdm_id": 512,
      "mes_id": 512,
      "route": 20,
      "unit_id": 9,
      "due_date": "2026-10-23 18:00:00",
      "planned_start": "2026-10-20 09:00:00",
      "group": 0,
      "quotation_id": 554,
      "quotation_no": "QT20261015000001",
      "contract_id": 554,
      "contract_no": "HT20261015000001",
      "order_id": 1067,
      "order_no": "XSDD20261015000001",
      "order_item_id": 4201,
      "receivable_plan_id": 55,
      "mps_id": 3520,
      "mps_code": "MPS20261015002",
      "wo_id": 119,
      "wo_code": "WO_20261015005",
      "bom_count": 18
    },
    {
      "sheet": "营养保健",
      "row": 5,
      "code": "U2100335",
      "name": "血蛋白营养素饮",
      "spec": "500ml(50ml*10)",
      "unit": "盒",
      "quantity": 10000,
      "price": 46.5,
      "amount": 465000,
      "due": null,
      "note": null,
      "mdm_id": 1541,
      "mes_id": 1541,
      "route": 56,
      "unit_id": 9,
      "due_date": "2026-10-27 18:00:00",
      "planned_start": "2026-10-22 09:00:00",
      "group": 0,
      "quotation_id": 554,
      "quotation_no": "QT20261015000001",
      "contract_id": 554,
      "contract_no": "HT20261015000001",
      "order_id": 1067,
      "order_no": "XSDD20261015000001",
      "order_item_id": 4202,
      "receivable_plan_id": 55,
      "mps_id": 3521,
      "mps_code": "MPS20261015003",
      "wo_id": 120,
      "wo_code": "WO_20261015006",
      "bom_count": 0
    },
    {
      "sheet": "营养保健",
      "row": 6,
      "code": "U2100336",
      "name": "血红素铁红枣饮",
      "spec": "300ml(30ml×10)",
      "unit": "盒",
      "quantity": 7992,
      "price": 33.5,
      "amount": 267732,
      "due": null,
      "note": "半成品已生产完毕等通知发货",
      "mdm_id": 1542,
      "mes_id": 1542,
      "route": 56,
      "unit_id": 9,
      "due_date": "2026-10-21 18:00:00",
      "planned_start": "2026-10-19 09:00:00",
      "group": 0,
      "quotation_id": 554,
      "quotation_no": "QT20261015000001",
      "contract_id": 554,
      "contract_no": "HT20261015000001",
      "order_id": 1067,
      "order_no": "XSDD20261015000001",
      "order_item_id": 4203,
      "receivable_plan_id": 55,
      "mps_id": 3522,
      "mps_code": "MPS20261015004",
      "wo_id": 121,
      "wo_code": "WO_20261015007",
      "bom_count": 0
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 3,
      "code": "Q2100197、Q2100196、81013526",
      "name": "红黑枸杞原浆礼盒-1800ml(30ml*60袋)",
      "spec": "1800ml",
      "unit": "盒",
      "quantity": 3033,
      "price": 63,
      "amount": 191079,
      "due": null,
      "note": null,
      "mdm_id": 502,
      "mes_id": 502,
      "route": 57,
      "unit_id": 9,
      "due_date": "2026-10-22 18:00:00",
      "planned_start": "2026-10-20 09:00:00",
      "group": 1,
      "quotation_id": 555,
      "quotation_no": "QT20261015000002",
      "contract_id": 555,
      "contract_no": "HT20261015000002",
      "order_id": 1068,
      "order_no": "XSDD20261015000002",
      "order_item_id": 4204,
      "receivable_plan_id": 56,
      "mps_id": 3523,
      "mps_code": "MPS20261015005",
      "wo_id": 122,
      "wo_code": "WO_20261015008",
      "bom_count": 6
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 5,
      "code": "Q2100314",
      "name": "黑红枸杞原浆-30ml",
      "spec": "30ml",
      "unit": "袋",
      "quantity": 100000,
      "price": 2.12,
      "amount": 212000,
      "due": null,
      "note": null,
      "mdm_id": 1510,
      "mes_id": 1510,
      "route": 18,
      "unit_id": 3,
      "due_date": "2026-10-30 18:00:00",
      "planned_start": "2026-10-21 09:00:00",
      "group": 1,
      "quotation_id": 555,
      "quotation_no": "QT20261015000002",
      "contract_id": 555,
      "contract_no": "HT20261015000002",
      "order_id": 1068,
      "order_no": "XSDD20261015000002",
      "order_item_id": 4205,
      "receivable_plan_id": 56,
      "mps_id": 3524,
      "mps_code": "MPS20261015006",
      "wo_id": 123,
      "wo_code": "WO_20261015009",
      "bom_count": 0
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 7,
      "code": "Q2100080",
      "name": "枸杞原浆-300ml",
      "spec": "300ml",
      "unit": "盒",
      "quantity": 1400,
      "price": 15.46,
      "amount": 21644,
      "due": null,
      "note": null,
      "mdm_id": 497,
      "mes_id": 497,
      "route": 36,
      "unit_id": 9,
      "due_date": "2026-10-19 18:00:00",
      "planned_start": "2026-10-16 09:00:00",
      "group": 1,
      "quotation_id": 555,
      "quotation_no": "QT20261015000002",
      "contract_id": 555,
      "contract_no": "HT20261015000002",
      "order_id": 1068,
      "order_no": "XSDD20261015000002",
      "order_item_id": 4206,
      "receivable_plan_id": 56,
      "mps_id": 3525,
      "mps_code": "MPS20261015007",
      "wo_id": 124,
      "wo_code": "WO_20261015010",
      "bom_count": 5
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 4,
      "code": "Q2100073",
      "name": "黑枸杞250克(50克*5)",
      "spec": "250克(50克*5)",
      "unit": "盒",
      "quantity": 168,
      "price": 122.74,
      "amount": 20620.32,
      "due": null,
      "note": null,
      "mdm_id": 485,
      "mes_id": 485,
      "route": 13,
      "unit_id": 9,
      "due_date": "2026-10-21 18:00:00",
      "planned_start": "2026-10-19 09:00:00",
      "group": 2,
      "quotation_id": 556,
      "quotation_no": "QT20261015000003",
      "contract_id": 556,
      "contract_no": "HT20261015000003",
      "order_id": 1069,
      "order_no": "XSDD20261015000003",
      "order_item_id": 4207,
      "receivable_plan_id": 57,
      "mps_id": 3526,
      "mps_code": "MPS20261015008",
      "wo_id": 125,
      "wo_code": "WO_20261015011",
      "bom_count": 8
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 6,
      "code": "Q2100077",
      "name": "黑枸杞 å¤§æžœ 500克(250克*2)特优级",
      "spec": "500克(250克*2)",
      "unit": "套",
      "quantity": 666,
      "price": 75.81,
      "amount": 50489.46,
      "due": null,
      "note": null,
      "mdm_id": 487,
      "mes_id": 487,
      "route": 13,
      "unit_id": 64,
      "due_date": "2026-10-26 18:00:00",
      "planned_start": "2026-10-22 09:00:00",
      "group": 2,
      "quotation_id": 556,
      "quotation_no": "QT20261015000003",
      "contract_id": 556,
      "contract_no": "HT20261015000003",
      "order_id": 1069,
      "order_no": "XSDD20261015000003",
      "order_item_id": 4208,
      "receivable_plan_id": 57,
      "mps_id": 3527,
      "mps_code": "MPS20261015009",
      "wo_id": 126,
      "wo_code": "WO_20261015012",
      "bom_count": 10
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 8,
      "code": "Q2100078",
      "name": "黑果枸杞-250克甲级",
      "spec": "250克",
      "unit": "瓶",
      "quantity": 1800,
      "price": 21.48,
      "amount": 38664,
      "due": null,
      "note": null,
      "mdm_id": 486,
      "mes_id": 486,
      "route": 13,
      "unit_id": 8,
      "due_date": "2026-10-28 18:00:00",
      "planned_start": "2026-10-26 09:00:00",
      "group": 2,
      "quotation_id": 556,
      "quotation_no": "QT20261015000003",
      "contract_id": 556,
      "contract_no": "HT20261015000003",
      "order_id": 1069,
      "order_no": "XSDD20261015000003",
      "order_item_id": 4209,
      "receivable_plan_id": 57,
      "mps_id": 3528,
      "mps_code": "MPS20261015010",
      "wo_id": 127,
      "wo_code": "WO_20261015013",
      "bom_count": 8
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 9,
      "code": 12100271,
      "name": "黑果枸杞-90克",
      "spec": "90克",
      "unit": "瓶",
      "quantity": 90,
      "price": 179.1,
      "amount": 16119,
      "due": null,
      "note": null,
      "mdm_id": 1998,
      "mes_id": 1998,
      "route": 13,
      "unit_id": 8,
      "due_date": "2026-10-29 18:00:00",
      "planned_start": "2026-10-27 09:00:00",
      "group": 2,
      "quotation_id": 556,
      "quotation_no": "QT20261015000003",
      "contract_id": 556,
      "contract_no": "HT20261015000003",
      "order_id": 1069,
      "order_no": "XSDD20261015000003",
      "order_item_id": 4210,
      "receivable_plan_id": 57,
      "mps_id": 3529,
      "mps_code": "MPS20261015011",
      "wo_id": 128,
      "wo_code": "WO_20261015014",
      "bom_count": 0
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 10,
      "code": "UC000017",
      "name": "雪菊",
      "spec": "50g",
      "unit": "瓶",
      "quantity": 180,
      "price": 44.55,
      "amount": 8019,
      "due": null,
      "note": null,
      "mdm_id": 1999,
      "mes_id": 1999,
      "route": 59,
      "unit_id": 8,
      "due_date": "2026-10-30 18:00:00",
      "planned_start": "2026-10-28 09:00:00",
      "group": 2,
      "quotation_id": 556,
      "quotation_no": "QT20261015000003",
      "contract_id": 556,
      "contract_no": "HT20261015000003",
      "order_id": 1069,
      "order_no": "XSDD20261015000003",
      "order_item_id": 4211,
      "receivable_plan_id": 57,
      "mps_id": 3530,
      "mps_code": "MPS20261015012",
      "wo_id": 129,
      "wo_code": "WO_20261015015",
      "bom_count": 0
    },
    {
      "sheet": "电商已下单10月份缴库产品",
      "row": 11,
      "code": "U2100282",
      "name": "桑椹原浆",
      "spec": "500ml(50ml*10)",
      "unit": "盒",
      "quantity": 1000,
      "price": 28.06,
      "amount": 28060,
      "due": "10月15号左右发货",
      "note": null,
      "mdm_id": 2000,
      "mes_id": 2000,
      "route": 17,
      "unit_id": 9,
      "due_date": "2026-10-16 18:00:00",
      "planned_start": "2026-10-16 09:00:00",
      "group": 3,
      "quotation_id": 557,
      "quotation_no": "QT20261015000004",
      "contract_id": 557,
      "contract_no": "HT20261015000004",
      "order_id": 1070,
      "order_no": "XSDD20261015000004",
      "order_item_id": 4212,
      "receivable_plan_id": 58,
      "mps_id": 3531,
      "mps_code": "MPS20261015013",
      "wo_id": 130,
      "wo_code": "WO_20261015016",
      "bom_count": 0
    }
  ],
  "updates": [
    {
      "table": "mdm_item",
      "id": 517,
      "before": {
        "id": 517,
        "code": "Q2100202",
        "name": "γ氨基丁酸酸枣仁饮品(蜜桃味)",
        "bar_code": null,
        "specification": null,
        "category_id": 10,
        "unit_measure_id": 24,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:37:31",
        "updater": "1",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mes_md_item",
      "id": 517,
      "before": {
        "id": 517,
        "mdm_item_id": 517,
        "code": "Q2100202",
        "name": "γ氨基丁酸酸枣仁饮品(蜜桃味)",
        "specification": null,
        "unit_measure_id": 24,
        "item_type_id": 10,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "244",
        "create_time": "2026-09-17 09:37:36",
        "updater": "1",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mdm_item",
      "id": 517,
      "before": {
        "id": 517,
        "code": "Q2100202",
        "name": "γ氨基丁酸酸枣仁饮品(蜜桃味)",
        "bar_code": null,
        "specification": null,
        "category_id": 10,
        "unit_measure_id": 9,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:37:31",
        "updater": "1",
        "update_time": "2026-10-15 06:38:48",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "γ-氨基丁酸营养素饮品(蜜桃味)",
        "specification": "350ml(35ml×10)"
      }
    },
    {
      "table": "mes_md_item",
      "id": 517,
      "before": {
        "id": 517,
        "mdm_item_id": 517,
        "code": "Q2100202",
        "name": "γ氨基丁酸酸枣仁饮品(蜜桃味)",
        "specification": null,
        "unit_measure_id": 9,
        "item_type_id": 10,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "244",
        "create_time": "2026-09-17 09:37:36",
        "updater": "1",
        "update_time": "2026-10-15 06:38:48",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "γ-氨基丁酸营养素饮品(蜜桃味)",
        "specification": "350ml(35ml×10)"
      }
    },
    {
      "table": "mdm_item",
      "id": 512,
      "before": {
        "id": 512,
        "code": "Q2100201",
        "name": "γ氨基丁酸酸枣仁饮品(桃子味)",
        "bar_code": null,
        "specification": null,
        "category_id": 9,
        "unit_measure_id": 24,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:32:30",
        "updater": "1",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mes_md_item",
      "id": 512,
      "before": {
        "id": 512,
        "mdm_item_id": 512,
        "code": "Q2100201",
        "name": "γ氨基丁酸酸枣仁饮品(桃子味)",
        "specification": null,
        "unit_measure_id": 24,
        "item_type_id": 9,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "244",
        "create_time": "2026-09-17 09:31:54",
        "updater": "1",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mdm_item",
      "id": 512,
      "before": {
        "id": 512,
        "code": "Q2100201",
        "name": "γ氨基丁酸酸枣仁饮品(桃子味)",
        "bar_code": null,
        "specification": null,
        "category_id": 9,
        "unit_measure_id": 9,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:32:30",
        "updater": "1",
        "update_time": "2026-10-15 06:38:48",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "γ-氨基丁酸酸枣仁饮品(桃子味)",
        "specification": "350ml(35ml×10)"
      }
    },
    {
      "table": "mes_md_item",
      "id": 512,
      "before": {
        "id": 512,
        "mdm_item_id": 512,
        "code": "Q2100201",
        "name": "γ氨基丁酸酸枣仁饮品(桃子味)",
        "specification": null,
        "unit_measure_id": 9,
        "item_type_id": 9,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "244",
        "create_time": "2026-09-17 09:31:54",
        "updater": "1",
        "update_time": "2026-10-15 06:38:48",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "γ-氨基丁酸酸枣仁饮品(桃子味)",
        "specification": "350ml(35ml×10)"
      }
    },
    {
      "table": "mdm_item",
      "id": 1541,
      "before": {
        "id": 1541,
        "code": "U2100335",
        "name": "血蛋白营养素饮",
        "bar_code": null,
        "specification": "500ml(50ml×10)",
        "category_id": 6,
        "unit_measure_id": 9,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": null,
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第543行;结存0盒;",
        "creator": "stock-import-202609",
        "create_time": "2026-09-18 17:44:58",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "血蛋白营养素饮",
        "specification": "500ml(50ml*10)"
      }
    },
    {
      "table": "mes_md_item",
      "id": 1541,
      "before": {
        "id": 1541,
        "mdm_item_id": 1541,
        "code": "U2100335",
        "name": "血蛋白营养素饮",
        "specification": "500ml(50ml×10)",
        "unit_measure_id": 9,
        "item_type_id": 6,
        "status": 0,
        "safe_stock_flag": "b'\\x00'",
        "min_stock": null,
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第543行;结存0盒;",
        "creator": "stock-material-repair",
        "create_time": "2026-09-18 17:49:41",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "血蛋白营养素饮",
        "specification": "500ml(50ml*10)"
      }
    },
    {
      "table": "mdm_item",
      "id": 502,
      "before": {
        "id": 502,
        "code": "Q2100197",
        "name": "红黑枸杞原浆",
        "bar_code": null,
        "specification": "1.8L",
        "category_id": 9,
        "unit_measure_id": 24,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:22:34",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mes_md_item",
      "id": 502,
      "before": {
        "id": 502,
        "mdm_item_id": 502,
        "code": "Q2100197",
        "name": "红黑枸杞原浆",
        "specification": "1.8L",
        "unit_measure_id": 24,
        "item_type_id": 9,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:20:30",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mdm_item",
      "id": 502,
      "before": {
        "id": 502,
        "code": "Q2100197",
        "name": "红黑枸杞原浆",
        "bar_code": null,
        "specification": "1.8L",
        "category_id": 9,
        "unit_measure_id": 9,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:22:34",
        "updater": "stock-material-repair",
        "update_time": "2026-10-15 06:38:48",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "红黑枸杞原浆礼盒-1800ml(30ml*60袋)",
        "specification": "1800ml"
      }
    },
    {
      "table": "mes_md_item",
      "id": 502,
      "before": {
        "id": 502,
        "mdm_item_id": 502,
        "code": "Q2100197",
        "name": "红黑枸杞原浆",
        "specification": "1.8L",
        "unit_measure_id": 9,
        "item_type_id": 9,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:20:30",
        "updater": "stock-material-repair",
        "update_time": "2026-10-15 06:38:48",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "红黑枸杞原浆礼盒-1800ml(30ml*60袋)",
        "specification": "1800ml"
      }
    },
    {
      "table": "mdm_item",
      "id": 485,
      "before": {
        "id": 485,
        "code": "Q2100073",
        "name": "黑果枸杞",
        "bar_code": null,
        "specification": "250克(50克*5)",
        "category_id": 8,
        "unit_measure_id": 24,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:01:23",
        "updater": "1",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mes_md_item",
      "id": 485,
      "before": {
        "id": 485,
        "mdm_item_id": 485,
        "code": "Q2100073",
        "name": "黑果枸杞",
        "specification": "250克(50克*5)",
        "unit_measure_id": 24,
        "item_type_id": 8,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:01:08",
        "updater": "1",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mdm_item",
      "id": 485,
      "before": {
        "id": 485,
        "code": "Q2100073",
        "name": "黑果枸杞",
        "bar_code": null,
        "specification": "250克(50克*5)",
        "category_id": 8,
        "unit_measure_id": 9,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:01:23",
        "updater": "1",
        "update_time": "2026-10-15 06:38:48",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑枸杞250克(50克*5)",
        "specification": "250克(50克*5)"
      }
    },
    {
      "table": "mes_md_item",
      "id": 485,
      "before": {
        "id": 485,
        "mdm_item_id": 485,
        "code": "Q2100073",
        "name": "黑果枸杞",
        "specification": "250克(50克*5)",
        "unit_measure_id": 9,
        "item_type_id": 8,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:01:08",
        "updater": "1",
        "update_time": "2026-10-15 06:38:48",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑枸杞250克(50克*5)",
        "specification": "250克(50克*5)"
      }
    },
    {
      "table": "mdm_item",
      "id": 1510,
      "before": {
        "id": 1510,
        "code": "Q2100314",
        "name": "黑红枸杞原浆",
        "bar_code": null,
        "specification": "黑果枸杞原浆30ml,红枸杞原浆30ml",
        "category_id": 6,
        "unit_measure_id": 3,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": null,
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第844行;结存0袋;",
        "creator": "stock-import-202609",
        "create_time": "2026-09-18 17:13:29",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑红枸杞原浆-30ml",
        "specification": "30ml"
      }
    },
    {
      "table": "mes_md_item",
      "id": 1510,
      "before": {
        "id": 1510,
        "mdm_item_id": 1510,
        "code": "Q2100314",
        "name": "黑红枸杞原浆",
        "specification": "黑果枸杞原浆30ml,红枸杞原浆30ml",
        "unit_measure_id": 3,
        "item_type_id": 6,
        "status": 0,
        "safe_stock_flag": "b'\\x00'",
        "min_stock": null,
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": "来源2026å¹´9月份盘点表(虫草核对确认).xls Sheet1第844行;结存0袋;",
        "creator": "stock-material-repair",
        "create_time": "2026-09-18 17:21:37",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑红枸杞原浆-30ml",
        "specification": "30ml"
      }
    },
    {
      "table": "mdm_item",
      "id": 487,
      "before": {
        "id": 487,
        "code": "Q2100077",
        "name": "黑果枸杞",
        "bar_code": null,
        "specification": "500克(特优)",
        "category_id": 8,
        "unit_measure_id": 24,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:06:01",
        "updater": "1",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 64
      }
    },
    {
      "table": "mes_md_item",
      "id": 487,
      "before": {
        "id": 487,
        "mdm_item_id": 487,
        "code": "Q2100077",
        "name": "黑果枸杞",
        "specification": "500克(特优)",
        "unit_measure_id": 24,
        "item_type_id": 8,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:03:25",
        "updater": "1",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 64
      }
    },
    {
      "table": "mdm_item",
      "id": 487,
      "before": {
        "id": 487,
        "code": "Q2100077",
        "name": "黑果枸杞",
        "bar_code": null,
        "specification": "500克(特优)",
        "category_id": 8,
        "unit_measure_id": 64,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:06:01",
        "updater": "1",
        "update_time": "2026-10-15 06:38:48",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑枸杞 å¤§æžœ 500克(250克*2)特优级",
        "specification": "500克(250克*2)"
      }
    },
    {
      "table": "mes_md_item",
      "id": 487,
      "before": {
        "id": 487,
        "mdm_item_id": 487,
        "code": "Q2100077",
        "name": "黑果枸杞",
        "specification": "500克(特优)",
        "unit_measure_id": 64,
        "item_type_id": 8,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:03:25",
        "updater": "1",
        "update_time": "2026-10-15 06:38:48",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑枸杞 å¤§æžœ 500克(250克*2)特优级",
        "specification": "500克(250克*2)"
      }
    },
    {
      "table": "mdm_item",
      "id": 497,
      "before": {
        "id": 497,
        "code": "Q2100080",
        "name": "枸杞原浆",
        "bar_code": null,
        "specification": "300ml",
        "category_id": 9,
        "unit_measure_id": 24,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:18:48",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mes_md_item",
      "id": 497,
      "before": {
        "id": 497,
        "mdm_item_id": 497,
        "code": "Q2100080",
        "name": "枸杞原浆",
        "specification": "300ml",
        "unit_measure_id": 24,
        "item_type_id": 9,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:14:49",
        "updater": "stock-material-repair",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 9
      }
    },
    {
      "table": "mdm_item",
      "id": 497,
      "before": {
        "id": 497,
        "code": "Q2100080",
        "name": "枸杞原浆",
        "bar_code": null,
        "specification": "300ml",
        "category_id": 9,
        "unit_measure_id": 9,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:18:48",
        "updater": "stock-material-repair",
        "update_time": "2026-10-15 06:38:48",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "枸杞原浆-300ml",
        "specification": "300ml"
      }
    },
    {
      "table": "mes_md_item",
      "id": 497,
      "before": {
        "id": 497,
        "mdm_item_id": 497,
        "code": "Q2100080",
        "name": "枸杞原浆",
        "specification": "300ml",
        "unit_measure_id": 9,
        "item_type_id": 9,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:14:49",
        "updater": "stock-material-repair",
        "update_time": "2026-10-15 06:38:48",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "枸杞原浆-300ml",
        "specification": "300ml"
      }
    },
    {
      "table": "mdm_item",
      "id": 486,
      "before": {
        "id": 486,
        "code": "Q2100078",
        "name": "黑果枸杞",
        "bar_code": null,
        "specification": "250克(甲级)",
        "category_id": 8,
        "unit_measure_id": 24,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:02:45",
        "updater": "1",
        "update_time": "2026-10-12 22:00:05",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 8
      }
    },
    {
      "table": "mes_md_item",
      "id": 486,
      "before": {
        "id": 486,
        "mdm_item_id": 486,
        "code": "Q2100078",
        "name": "黑果枸杞",
        "specification": "250克(甲级)",
        "unit_measure_id": 24,
        "item_type_id": 8,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:02:17",
        "updater": "1",
        "update_time": "2026-10-12 21:53:44",
        "deleted": "b'\\x00'"
      },
      "after": {
        "unit_measure_id": 8
      }
    },
    {
      "table": "mdm_item",
      "id": 486,
      "before": {
        "id": 486,
        "code": "Q2100078",
        "name": "黑果枸杞",
        "bar_code": null,
        "specification": "250克(甲级)",
        "category_id": 8,
        "unit_measure_id": 8,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": "CPK01",
        "brand_id": null,
        "item_type": 1,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": "100.000000",
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:02:45",
        "updater": "1",
        "update_time": "2026-10-15 06:38:48",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑果枸杞-250克甲级",
        "specification": "250克"
      }
    },
    {
      "table": "mes_md_item",
      "id": 486,
      "before": {
        "id": 486,
        "mdm_item_id": 486,
        "code": "Q2100078",
        "name": "黑果枸杞",
        "specification": "250克(甲级)",
        "unit_measure_id": 8,
        "item_type_id": 8,
        "status": 0,
        "safe_stock_flag": "b'\\x01'",
        "min_stock": "100.000000",
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x01'",
        "remark": null,
        "creator": "1",
        "create_time": "2026-09-17 09:02:17",
        "updater": "1",
        "update_time": "2026-10-15 06:38:48",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑果枸杞-250克甲级",
        "specification": "250克"
      }
    },
    {
      "table": "mdm_item",
      "id": 1998,
      "before": {
        "id": 1998,
        "code": "12100271",
        "name": "黑果枸杞",
        "bar_code": null,
        "specification": "90克",
        "category_id": 13,
        "unit_measure_id": 8,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": null,
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": null,
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": "来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。",
        "creator": "244",
        "create_time": "2026-10-15 08:00:00",
        "updater": "244",
        "update_time": "2026-10-15 08:00:00",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑果枸杞-90克",
        "specification": "90克"
      }
    },
    {
      "table": "mes_md_item",
      "id": 1998,
      "before": {
        "id": 1998,
        "mdm_item_id": 1998,
        "code": "12100271",
        "name": "黑果枸杞",
        "specification": "90克",
        "unit_measure_id": 8,
        "item_type_id": null,
        "status": 0,
        "safe_stock_flag": "b'\\x00'",
        "min_stock": null,
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x00'",
        "remark": "来源10月15日电商未缴库计划",
        "creator": "244",
        "create_time": "2026-10-15 08:00:00",
        "updater": "244",
        "update_time": "2026-10-15 08:00:00",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "黑果枸杞-90克",
        "specification": "90克"
      }
    },
    {
      "table": "mdm_item",
      "id": 2000,
      "before": {
        "id": 2000,
        "code": "U2100282",
        "name": "桑椹原浆",
        "bar_code": null,
        "specification": "500ml(50ml×10)",
        "category_id": 9,
        "unit_measure_id": 9,
        "unit_measure_id2": null,
        "unit_measure_rate1": null,
        "unit_measure_id3": null,
        "unit_measure_rate2": null,
        "warehouse_id": 18,
        "warehouse_code": null,
        "brand_id": null,
        "item_type": 3,
        "status": 0,
        "purchase_price": null,
        "sales_price": null,
        "cost_price": null,
        "min_price": null,
        "safety_stock": null,
        "min_stock": null,
        "max_stock": null,
        "min_order_qty": null,
        "lead_time": null,
        "is_batch_managed": "b'\\x01'",
        "is_serial_managed": "b'\\x00'",
        "barcode_rule_id": null,
        "expiry_day": null,
        "high_value": "b'\\x00'",
        "weight": null,
        "remark": "来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。",
        "creator": "244",
        "create_time": "2026-10-15 08:00:00",
        "updater": "244",
        "update_time": "2026-10-15 08:00:00",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "桑椹原浆",
        "specification": "500ml(50ml*10)"
      }
    },
    {
      "table": "mes_md_item",
      "id": 2000,
      "before": {
        "id": 2000,
        "mdm_item_id": 2000,
        "code": "U2100282",
        "name": "桑椹原浆",
        "specification": "500ml(50ml×10)",
        "unit_measure_id": 9,
        "item_type_id": null,
        "status": 0,
        "safe_stock_flag": "b'\\x00'",
        "min_stock": null,
        "max_stock": null,
        "high_value": "b'\\x00'",
        "batch_flag": "b'\\x00'",
        "remark": "来源10月15日电商未缴库计划",
        "creator": "244",
        "create_time": "2026-10-15 08:00:00",
        "updater": "244",
        "update_time": "2026-10-15 08:00:00",
        "deleted": "b'\\x00'"
      },
      "after": {
        "name": "桑椹原浆",
        "specification": "500ml(50ml*10)"
      }
    },
    {
      "table": "crm_contract",
      "id": 554,
      "before": {
        "id": 554,
        "name": "总公司10月营养保健供货合同",
        "no": "HT20261015000001",
        "customer_id": 1613,
        "business_id": null,
        "contact_last_time": null,
        "owner_user_id": 291,
        "process_instance_id": null,
        "audit_status": 20,
        "order_date": "2026-10-15 08:20:00",
        "start_time": "2026-10-15 08:20:00",
        "end_time": "2026-11-30 18:00:00",
        "total_product_price": "1475658.400000",
        "discount_percent": "0.000000",
        "total_price": "1475658.400000",
        "deposit_price": "0.000000",
        "order_id": null,
        "order_no": null,
        "sign_contact_id": null,
        "sign_user_id": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
        "creator": "291",
        "create_time": "2026-10-15 08:20:00",
        "updater": "291",
        "update_time": "2026-10-15 08:20:00",
        "deleted": 0
      },
      "after": {
        "order_id": 1067,
        "order_no": "XSDD20261015000001"
      }
    },
    {
      "table": "crm_sale_quotation",
      "id": 554,
      "before": {
        "id": 554,
        "no": "QT20261015000001",
        "name": "总公司10月营养保健供货报价",
        "customer_id": 1613,
        "business_id": null,
        "contact_id": null,
        "owner_user_id": 291,
        "status": 10,
        "process_instance_id": null,
        "quotation_time": "2026-10-15 08:05:00",
        "valid_until": "2026-10-30 18:00:00",
        "total_product_price": "1475658.400000",
        "discount_percent": "0.00",
        "discount_price": "0.000000",
        "total_price": "1475658.400000",
        "tax_rate": null,
        "tax_price": "0.000000",
        "contract_id": null,
        "contract_no": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
        "creator": "291",
        "create_time": "2026-10-15 08:05:00",
        "updater": "291",
        "update_time": "2026-10-15 08:05:00",
        "deleted": "b'\\x00'",
        "tenant_id": 0
      },
      "after": {
        "contract_id": 554,
        "contract_no": "HT20261015000001"
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4200,
      "before": {
        "id": 4200,
        "order_id": 1067,
        "product_id": 517,
        "product_unit_id": 9,
        "product_price": "15.400000",
        "count": "19216.000000",
        "total_price": "295926.400000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100202;半成品已生产完毕等通知发货",
        "creator": "291",
        "create_time": "2026-10-15 08:40:00",
        "updater": "291",
        "update_time": "2026-10-15 08:40:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3519
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4201,
      "before": {
        "id": 4201,
        "order_id": 1067,
        "product_id": 512,
        "product_unit_id": 9,
        "product_price": "14.900000",
        "count": "30000.000000",
        "total_price": "447000.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100201;",
        "creator": "291",
        "create_time": "2026-10-15 08:40:00",
        "updater": "291",
        "update_time": "2026-10-15 08:40:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3520
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4202,
      "before": {
        "id": 4202,
        "order_id": 1067,
        "product_id": 1541,
        "product_unit_id": 9,
        "product_price": "46.500000",
        "count": "10000.000000",
        "total_price": "465000.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:U2100335;",
        "creator": "291",
        "create_time": "2026-10-15 08:40:00",
        "updater": "291",
        "update_time": "2026-10-15 08:40:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3521
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4203,
      "before": {
        "id": 4203,
        "order_id": 1067,
        "product_id": 1542,
        "product_unit_id": 9,
        "product_price": "33.500000",
        "count": "7992.000000",
        "total_price": "267732.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:U2100336;半成品已生产完毕等通知发货",
        "creator": "291",
        "create_time": "2026-10-15 08:40:00",
        "updater": "291",
        "update_time": "2026-10-15 08:40:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3522
      }
    },
    {
      "table": "crm_contract",
      "id": 555,
      "before": {
        "id": 555,
        "name": "总公司10月原浆供货供货合同",
        "no": "HT20261015000002",
        "customer_id": 1613,
        "business_id": null,
        "contact_last_time": null,
        "owner_user_id": 291,
        "process_instance_id": null,
        "audit_status": 20,
        "order_date": "2026-10-15 08:21:00",
        "start_time": "2026-10-15 08:21:00",
        "end_time": "2026-11-30 18:00:00",
        "total_product_price": "424723.000000",
        "discount_percent": "0.000000",
        "total_price": "424723.000000",
        "deposit_price": "0.000000",
        "order_id": null,
        "order_no": null,
        "sign_contact_id": null,
        "sign_user_id": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
        "creator": "291",
        "create_time": "2026-10-15 08:21:00",
        "updater": "291",
        "update_time": "2026-10-15 08:21:00",
        "deleted": 0
      },
      "after": {
        "order_id": 1068,
        "order_no": "XSDD20261015000002"
      }
    },
    {
      "table": "crm_sale_quotation",
      "id": 555,
      "before": {
        "id": 555,
        "no": "QT20261015000002",
        "name": "总公司10月原浆供货供货报价",
        "customer_id": 1613,
        "business_id": null,
        "contact_id": null,
        "owner_user_id": 291,
        "status": 10,
        "process_instance_id": null,
        "quotation_time": "2026-10-15 08:06:00",
        "valid_until": "2026-10-30 18:00:00",
        "total_product_price": "424723.000000",
        "discount_percent": "0.00",
        "discount_price": "0.000000",
        "total_price": "424723.000000",
        "tax_rate": null,
        "tax_price": "0.000000",
        "contract_id": null,
        "contract_no": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
        "creator": "291",
        "create_time": "2026-10-15 08:06:00",
        "updater": "291",
        "update_time": "2026-10-15 08:06:00",
        "deleted": "b'\\x00'",
        "tenant_id": 0
      },
      "after": {
        "contract_id": 555,
        "contract_no": "HT20261015000002"
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4204,
      "before": {
        "id": 4204,
        "order_id": 1068,
        "product_id": 502,
        "product_unit_id": 9,
        "product_price": "63.000000",
        "count": "3033.000000",
        "total_price": "191079.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100197、Q2100196、81013526;",
        "creator": "291",
        "create_time": "2026-10-15 08:41:00",
        "updater": "291",
        "update_time": "2026-10-15 08:41:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3523
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4205,
      "before": {
        "id": 4205,
        "order_id": 1068,
        "product_id": 1510,
        "product_unit_id": 3,
        "product_price": "2.120000",
        "count": "100000.000000",
        "total_price": "212000.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100314;",
        "creator": "291",
        "create_time": "2026-10-15 08:41:00",
        "updater": "291",
        "update_time": "2026-10-15 08:41:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3524
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4206,
      "before": {
        "id": 4206,
        "order_id": 1068,
        "product_id": 497,
        "product_unit_id": 9,
        "product_price": "15.460000",
        "count": "1400.000000",
        "total_price": "21644.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100080;",
        "creator": "291",
        "create_time": "2026-10-15 08:41:00",
        "updater": "291",
        "update_time": "2026-10-15 08:41:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3525
      }
    },
    {
      "table": "crm_contract",
      "id": 556,
      "before": {
        "id": 556,
        "name": "总公司10月枸杞及雪菊供货合同",
        "no": "HT20261015000003",
        "customer_id": 1613,
        "business_id": null,
        "contact_last_time": null,
        "owner_user_id": 291,
        "process_instance_id": null,
        "audit_status": 20,
        "order_date": "2026-10-15 08:22:00",
        "start_time": "2026-10-15 08:22:00",
        "end_time": "2026-11-30 18:00:00",
        "total_product_price": "133911.780000",
        "discount_percent": "0.000000",
        "total_price": "133911.780000",
        "deposit_price": "0.000000",
        "order_id": null,
        "order_no": null,
        "sign_contact_id": null,
        "sign_user_id": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
        "creator": "291",
        "create_time": "2026-10-15 08:22:00",
        "updater": "291",
        "update_time": "2026-10-15 08:22:00",
        "deleted": 0
      },
      "after": {
        "order_id": 1069,
        "order_no": "XSDD20261015000003"
      }
    },
    {
      "table": "crm_sale_quotation",
      "id": 556,
      "before": {
        "id": 556,
        "no": "QT20261015000003",
        "name": "总公司10月枸杞及雪菊供货报价",
        "customer_id": 1613,
        "business_id": null,
        "contact_id": null,
        "owner_user_id": 291,
        "status": 10,
        "process_instance_id": null,
        "quotation_time": "2026-10-15 08:07:00",
        "valid_until": "2026-10-30 18:00:00",
        "total_product_price": "133911.780000",
        "discount_percent": "0.00",
        "discount_price": "0.000000",
        "total_price": "133911.780000",
        "tax_rate": null,
        "tax_price": "0.000000",
        "contract_id": null,
        "contract_no": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
        "creator": "291",
        "create_time": "2026-10-15 08:07:00",
        "updater": "291",
        "update_time": "2026-10-15 08:07:00",
        "deleted": "b'\\x00'",
        "tenant_id": 0
      },
      "after": {
        "contract_id": 556,
        "contract_no": "HT20261015000003"
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4207,
      "before": {
        "id": 4207,
        "order_id": 1069,
        "product_id": 485,
        "product_unit_id": 9,
        "product_price": "122.740000",
        "count": "168.000000",
        "total_price": "20620.320000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100073;",
        "creator": "291",
        "create_time": "2026-10-15 08:42:00",
        "updater": "291",
        "update_time": "2026-10-15 08:42:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3526
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4208,
      "before": {
        "id": 4208,
        "order_id": 1069,
        "product_id": 487,
        "product_unit_id": 64,
        "product_price": "75.810000",
        "count": "666.000000",
        "total_price": "50489.460000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100077;",
        "creator": "291",
        "create_time": "2026-10-15 08:42:00",
        "updater": "291",
        "update_time": "2026-10-15 08:42:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3527
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4209,
      "before": {
        "id": 4209,
        "order_id": 1069,
        "product_id": 486,
        "product_unit_id": 8,
        "product_price": "21.480000",
        "count": "1800.000000",
        "total_price": "38664.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:Q2100078;",
        "creator": "291",
        "create_time": "2026-10-15 08:42:00",
        "updater": "291",
        "update_time": "2026-10-15 08:42:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3528
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4210,
      "before": {
        "id": 4210,
        "order_id": 1069,
        "product_id": 1998,
        "product_unit_id": 8,
        "product_price": "179.100000",
        "count": "90.000000",
        "total_price": "16119.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:12100271;",
        "creator": "291",
        "create_time": "2026-10-15 08:42:00",
        "updater": "291",
        "update_time": "2026-10-15 08:42:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3529
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4211,
      "before": {
        "id": 4211,
        "order_id": 1069,
        "product_id": 1999,
        "product_unit_id": 8,
        "product_price": "44.550000",
        "count": "180.000000",
        "total_price": "8019.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:UC000017;",
        "creator": "291",
        "create_time": "2026-10-15 08:42:00",
        "updater": "291",
        "update_time": "2026-10-15 08:42:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3530
      }
    },
    {
      "table": "crm_contract",
      "id": 557,
      "before": {
        "id": 557,
        "name": "总公司10月桑椹原浆供货合同",
        "no": "HT20261015000004",
        "customer_id": 1613,
        "business_id": null,
        "contact_last_time": null,
        "owner_user_id": 291,
        "process_instance_id": null,
        "audit_status": 20,
        "order_date": "2026-10-15 08:23:00",
        "start_time": "2026-10-15 08:23:00",
        "end_time": "2026-11-30 18:00:00",
        "total_product_price": "28060.000000",
        "discount_percent": "0.000000",
        "total_price": "28060.000000",
        "deposit_price": "0.000000",
        "order_id": null,
        "order_no": null,
        "sign_contact_id": null,
        "sign_user_id": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。 æœˆç»“,2026å¹´11月30日回款;未录实际收款。",
        "creator": "291",
        "create_time": "2026-10-15 08:23:00",
        "updater": "291",
        "update_time": "2026-10-15 08:23:00",
        "deleted": 0
      },
      "after": {
        "order_id": 1070,
        "order_no": "XSDD20261015000004"
      }
    },
    {
      "table": "crm_sale_quotation",
      "id": 557,
      "before": {
        "id": 557,
        "no": "QT20261015000004",
        "name": "总公司10月桑椹原浆供货报价",
        "customer_id": 1613,
        "business_id": null,
        "contact_id": null,
        "owner_user_id": 291,
        "status": 10,
        "process_instance_id": null,
        "quotation_time": "2026-10-15 08:08:00",
        "valid_until": "2026-10-30 18:00:00",
        "total_product_price": "28060.000000",
        "discount_percent": "0.00",
        "discount_price": "0.000000",
        "total_price": "28060.000000",
        "tax_rate": null,
        "tax_price": "0.000000",
        "contract_id": null,
        "contract_no": null,
        "remark": "来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。",
        "creator": "291",
        "create_time": "2026-10-15 08:08:00",
        "updater": "291",
        "update_time": "2026-10-15 08:08:00",
        "deleted": "b'\\x00'",
        "tenant_id": 0
      },
      "after": {
        "contract_id": 557,
        "contract_no": "HT20261015000004"
      }
    },
    {
      "table": "erp_sale_order_items",
      "id": 4212,
      "before": {
        "id": 4212,
        "order_id": 1070,
        "product_id": 2000,
        "product_unit_id": 9,
        "product_price": "28.060000",
        "count": "1000.000000",
        "total_price": "28060.000000",
        "tax_percent": null,
        "tax_price": "0.000000",
        "remark": "原项目号:U2100282;;原进度:10月15号左右发货",
        "creator": "291",
        "create_time": "2026-10-15 08:43:00",
        "updater": "291",
        "update_time": "2026-10-15 08:43:00",
        "deleted": "b'\\x00'",
        "out_count": "0.000000",
        "need_production": 1,
        "mps_id": null
      },
      "after": {
        "mps_id": 3531
      }
    },
    {
      "table": "mes_pro_work_order",
      "id": 118,
      "before": {
        "id": 118,
        "code": "WO_20261015004",
        "name": "γ-氨基丁酸营养素饮品(蜜桃味)生产工单",
        "type": 1,
        "order_source_type": 1,
        "order_source_code": "XSDD20261015000001",
        "product_id": 517,
        "quantity": "19216.000000",
        "quantity_produced": "0.000000",
        "quantity_changed": "0.000000",
        "quantity_scheduled": "0.000000",
        "client_id": 1613,
        "vendor_id": null,
        "batch_code": null,
        "route_id": 23,
        "auto_finish_flag": 1,
        "request_date": "2026-10-20 18:00:00",
        "parent_id": 0,
        "finish_date": null,
        "cancel_date": null,
        "status": 1,
        "process_instance_id": null,
        "remark": "来源10月15日未缴库计划;计划开工10月15日;半成品已生产完毕等通知发货",
        "creator": "244",
        "create_time": "2026-10-15 09:10:00",
        "updater": "244",
        "update_time": "2026-10-15 09:10:00",
        "deleted": "b'\\x00'",
        "is_feedback_approve": 0,
        "process_definition_key": null,
        "feedback_role": null
      },
      "after": {
        "quantity_scheduled": 19216
      }
    },
    {
      "table": "mes_pro_work_order",
      "id": 118,
      "before": {
        "id": 118,
        "code": "WO_20261015004",
        "name": "γ-氨基丁酸营养素饮品(蜜桃味)生产工单",
        "type": 1,
        "order_source_type": 1,
        "order_source_code": "XSDD20261015000001",
        "product_id": 517,
        "quantity": "19216.000000",
        "quantity_produced": "0.000000",
        "quantity_changed": "0.000000",
        "quantity_scheduled": "19216.000000",
        "client_id": 1613,
        "vendor_id": null,
        "batch_code": null,
        "route_id": 23,
        "auto_finish_flag": 1,
        "request_date": "2026-10-20 18:00:00",
        "parent_id": 0,
        "finish_date": null,
        "cancel_date": null,
        "status": 1,
        "process_instance_id": null,
        "remark": "来源10月15日未缴库计划;计划开工10月15日;半成品已生产完毕等通知发货",
        "creator": "244",
        "create_time": "2026-10-15 09:10:00",
        "updater": "244",
        "update_time": "2026-10-15 06:38:49",
        "deleted": "b'\\x00'",
        "is_feedback_approve": 0,
        "process_definition_key": null,
        "feedback_role": null
      },
      "after": {
        "request_date": "2026-10-23 18:00:00"
      }
    },
    {
      "table": "mes_pro_mps",
      "id": 3519,
      "before": {
        "id": 3519,
        "code": "MPS20261015001",
        "status": 1,
        "sale_order_id": 1067,
        "sale_order_no": "XSDD20261015000001",
        "sale_order_item_id": 4200,
        "product_id": 517,
        "quantity": "19216.000000",
        "quantity_produced": "0.000000",
        "unit_measure_id": 9,
        "client_id": 1613,
        "request_date": "2026-10-20 18:00:00",
        "issue_date": "2026-10-15 09:10:00",
        "finish_date": null,
        "work_order_id": 118,
        "work_order_code": "WO_20261015004",
        "merge_flag": 0,
        "merge_batch_no": null,
        "remark": "来源:营养保健第3行;计划开工10月15日;原项目号:Q2100202;半成品已生产完毕等通知发货",
        "creator": "244",
        "create_time": "2026-10-15 09:00:00",
        "updater": "244",
        "update_time": "2026-10-15 09:00:00",
        "deleted": "b'\\x00'",
        "tenant_id": 0
      },
      "after": {
        "request_date": "2026-10-23 18:00:00"
      }
    }
  ],
  "sequences": {
    "crm:seq_no:QT20261015": 4,
    "crm:seq_no:HT20261015": 4,
    "erp:seq_no:XSDD20261015": 4,
    "mes:md:auto_code:30:20261015": 16,
    "mes:md:auto_code:65:20261015": 13,
    "mes:md:auto_code:31:20261015": 17,
    "mes:md:auto_code:33:20261015": 1
  },
  "protected_counts": {
    "crm_receivable": 5,
    "mes_wm_transaction": 1454,
    "mes_wm_material_stock": 976,
    "mes_wm_product_receipt": 4,
    "mes_wm_product_sales": 27
  }
}
scripts/ecommerce-production-20261015/schema.json
¶Ô±ÈÐÂÎļþ
ÎļþÌ«´ó
scripts/ecommerce-production-20261015/seed.py
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,216 @@
"""Source-backed local import. Default is a transactional rollback rehearsal."""
from audit import connect,dump,P
import sys,json,re,math,socket
from decimal import Decimal,ROUND_CEILING,ROUND_HALF_UP
from datetime import datetime,timedelta,date
from collections import defaultdict
sys.stdout.reconfigure(encoding='utf-8')
D=Decimal;APPLY='--apply' in sys.argv
source=json.loads((P/'source.json').read_text(encoding='utf-8'))
schema=json.loads((P/'schema.json').read_text(encoding='utf-8'))
fields={t:{r['Field']:r for r in rows} for t,rows in schema.items()}
TODAY=date(2026,10,15);BASE=datetime(2026,10,15,8,0)
inserted=defaultdict(list);updates=[];log=[];links=[];sequences={}
NOTE='来源:10月15日电商未缴库计划;按表列订单数量及结算单价执行,未另加税额。'
def redis(*args):
 with socket.create_connection(('127.0.0.1',6379),timeout=5) as sock:
  f=sock.makefile('rb')
  def command(parts):
   data=[str(x).encode() for x in parts];sock.sendall(b'*'+str(len(data)).encode()+b'\r\n'+b''.join(b'$'+str(len(x)).encode()+b'\r\n'+x+b'\r\n' for x in data))
   line=f.readline();kind=line[:1];v=line[1:-2]
   if kind==b'-':raise RuntimeError(v.decode())
   if kind==b'$':return None if int(v)<0 else f.read(int(v)+2)[:-2].decode()
   return int(v) if kind==b':' else v.decode()
  command(['SELECT',5]);return command(args)
def number(table,col,prefix,width,rule=None):
 q.execute('select `'+col+'` value from `'+table+'` where `'+col+'` like %s',(prefix+'%',))
 floor=max([int(r['value'][len(prefix):]) for r in q.fetchall() if r['value'][len(prefix):].isdigit()] or [0])
 key=('mes:md:auto_code:'+str(rule)+':20261015') if rule else ('erp:seq_no:' if table=='erp_sale_order' else 'crm:seq_no:')+prefix
 if key not in sequences:sequences[key]=max(floor,int(redis('GET',key) or 0))
 if APPLY:
  n=redis('EVAL',"local x=tonumber(redis.call('GET',KEYS[1]) or '0'); if x<tonumber(ARGV[1]) then redis.call('SET',KEYS[1],ARGV[1]); end; local n=redis.call('INCR',KEYS[1]); redis.call('EXPIRE',KEYS[1],172800); return n",1,key,max(floor,sequences[key]))
 else:n=sequences[key]+1
 sequences[key]=n;result=prefix+str(n).zfill(width)
 if rule:ins('mes_md_auto_code_record',{'rule_id':rule,'result':result,'serial_no':n},244,BASE)
 return result
def ins(table,values,user=244,at=BASE):
 v=dict(values);f=fields[table]
 for key,value in [('creator',str(user)),('updater',str(user)),('create_time',at),('update_time',at),('deleted',0),('tenant_id',0)]:
  if key in f:v.setdefault(key,value)
 assert not set(v)-set(f),(table,set(v)-set(f))
 for key,val in v.items():
  if isinstance(val,str):
   match=re.match(r'varchar\((\d+)\)',f[key]['Type']);assert not match or len(val)<=int(match[1]),(table,key,len(val))
 keys=list(v);sql='insert into `'+table+'` (`'+'`,`'.join(keys)+'`) values('+','.join(['%s']*len(keys))+')'
 q.execute(sql,list(v.values()));rid=q.lastrowid;inserted[table].append(rid);log.append(q.mogrify(sql,list(v.values()))+';');return rid
def change(table,rid,values):
 q.execute('select * from `'+table+'` where id=%s for update',(rid,));before=q.fetchone();assert before
 sql='update `'+table+'` set '+','.join('`'+k+'`=%s' for k in values)+' where id=%s'
 args=list(values.values())+[rid];q.execute(sql,args);log.append(q.mogrify(sql,args)+';');updates.append({'table':table,'id':rid,'before':before,'after':values})
def fetch(table):q.execute('select * from `'+table+'` where deleted=0');return q.fetchall()
def money(v):return D(str(v)).quantize(D('.01'),rounding=ROUND_HALF_UP)
def truth(v):return int(v in (True,1,b'\x01',"b'\\x01'"))
def next_work(dt):
 while dt.weekday()>4 or dt.date() in holidays:dt=(dt+timedelta(days=1)).replace(hour=9,minute=0,second=0)
 return dt
def add_hours(start,hours):
 now=start;remaining=hours*60
 while remaining:
  now=next_work(now);end=now.replace(hour=18,minute=0,second=0);available=int((end-now).total_seconds()/60)
  if available<=0:now=next_work((now+timedelta(days=1)).replace(hour=9,minute=0,second=0));continue
  take=min(remaining,available);now+=timedelta(minutes=take);remaining-=take
  if remaining:now=next_work((now+timedelta(days=1)).replace(hour=9,minute=0,second=0))
 return now
c=connect()
try:
 with c.cursor() as q:
  q.execute('select get_lock(%s,10) ok',('ecommerce-production-20261015',));assert q.fetchone()['ok']==1
  q.execute('select count(*) n from crm_sale_quotation where deleted=0 and remark like %s',('%来源:10月15日电商未缴库计划%',));assert q.fetchone()['n']==0,'Already imported'
  assert len(source)==13 and sum(money(r['amount']) for r in source)==D('2062353.18')
  for r in source:assert money(D(str(r['quantity']))*D(str(r['price'])))==money(r['amount'])
  a={t:fetch(t) for t in ['mdm_item','mes_md_item','mes_pro_route','mes_pro_route_product','mes_pro_route_process','mes_md_product_bom','mes_pd_process_param_template','mes_pd_process_param_template_detail','mes_md_workstation','mes_md_workstation_machine','mes_dv_machinery','mes_cal_holiday','mes_pro_task']}
  holidays={r['day'].date() for r in a['mes_cal_holiday'] if r['type']==2}
  assert not any(TODAY<=d<=date(2026,10,31) for d in holidays)
  q.execute('select id,name from crm_customer where id=1613 and deleted=0');assert q.fetchone()['name']=='总公司'
  before_counts={}
  for t in ['crm_receivable','mes_wm_transaction','mes_wm_material_stock','mes_wm_product_receipt','mes_wm_product_sales']:
   q.execute('select count(*) n from `'+t+'`');before_counts[t]=q.fetchone()['n']
  dump('protected-counts-before.json',before_counts)
  mdm={r['id']:r for r in a['mdm_item']};mes={r['mdm_item_id']:r for r in a['mes_md_item']};by_code={r['code']:r for r in mdm.values()}
  units={'盒':9,'袋':3,'瓶':8,'套':64}
  # New source SKUs use their exact source code. Never substitute a differently sized product.
  for code,base,name,spec,unit in [('12100271',538,'黑果枸杞','90克',8),('UC000017',965,'雪菊','50g',8),('U2100282',501,'桑椹原浆','500ml(50ml×10)',9)]:
   if code in by_code:continue
   q.execute('select greatest((select max(id) from mdm_item),(select max(id) from mes_md_item))+1 id');pid=q.fetchone()['id']
   parent=mdm[base];mid=ins('mdm_item',{'id':pid,'code':code,'name':name,'specification':spec,'category_id':parent['category_id'],'unit_measure_id':unit,'item_type':3,'status':0,'is_batch_managed':1,'is_serial_managed':0,'high_value':0,'warehouse_id':parent.get('warehouse_id'),'remark':'来源10月15日电商未缴库计划;配方及投料BOM待工艺维护,不套用其他规格配方。'},244)
   base_mes=mes[base];v={k:base_mes[k] for k in ['category_id','item_type','status'] if k in base_mes}
   ins('mes_md_item',{'id':pid,'mdm_item_id':pid,'code':code,'name':name,'specification':spec,'unit_measure_id':unit,**v,'remark':'来源10月15日电商未缴库计划'},244)
   mdm[pid]={**parent,'id':pid,'code':code,'name':name,'specification':spec,'unit_measure_id':unit};mes[pid]={'id':pid,'mdm_item_id':pid,'code':code,'name':name,'specification':spec,'unit_measure_id':unit};by_code[code]=mdm[pid]
  # Snow chrysanthemum needs a packaging flow, not the unrelated berry processing recipe.
  flower=next((r for r in a['mes_pro_route'] if r['code']=='RT-FLOWER-BOTTLE-PACK'),None)
  if flower:flower_id=flower['id']
  else:
   flower_id=ins('mes_pro_route',{'code':'RT-FLOWER-BOTTLE-PACK','name':'花类瓶装分装包装工艺路线','status':0,'remark':'用于50g雪菊分装包装;工序沿用现有基础工序,不新增配方参数。'})
   for n,process in enumerate([1,2,3,10,11,12,13]):
    original=next(r for r in a['mes_pro_route_process'] if r['process_id']==process)
    data={k:original.get(k) for k in ['param_template_id','yield_rate','color_code']}
    data.update(route_id=flower_id,process_id=process,sort=(n+1)*10,next_process_id=([1,2,3,10,11,12,13][n+1] if n<6 else None),link_type=3,key_flag=int(process==10),check_flag=int(process==12),backflush_flag=0)
    rid=ins('mes_pro_route_process',data);a['mes_pro_route_process'].append({'id':rid,**data})
  assignments=[('Q2100202',23,20,0),('Q2100201',20,23,0),('U2100335',56,27,0),('U2100336',56,21,0),('Q2100197',57,22,1),('Q2100073',13,21,2),('Q2100314',18,30,1),('Q2100077',13,26,2),('Q2100080',36,19,1),('Q2100078',13,28,2),('12100271',13,29,2),('UC000017',flower_id,30,2),('U2100282',17,16,3)]
  planned_start_days=[15,20,22,19,20,19,21,22,16,26,27,28,16]
  groups=['营养保健','原浆供货','枸杞及雪菊','桑椹原浆']
  grouped=defaultdict(list)
  for i,(code,route,day,group) in enumerate(assignments):
   row=source[i];item=by_code[code];pid=item['id'];mid=mes[pid]['id'];unit=units[row['unit']]
   # Packaging counts are 1 source finished package; preserve historical document units.
   if item['unit_measure_id']!=unit:
    assert item['unit_measure_id']==24
    change('mdm_item',pid,{'unit_measure_id':unit});change('mes_md_item',mid,{'unit_measure_id':unit});item['unit_measure_id']=unit;mes[pid]['unit_measure_id']=unit
   for table,rid in [('mdm_item',pid),('mes_md_item',mid)]:
    if (table=='mdm_item' and (item.get('name')!=row['name'] or item.get('specification')!=row['spec'])):
     change(table,rid,{'name':row['name'],'specification':row['spec']})
    elif table=='mes_md_item' and (mes[pid].get('name')!=row['name'] or mes[pid].get('specification')!=row['spec']):change(table,rid,{'name':row['name'],'specification':row['spec']})
   row={**row,'mdm_id':pid,'mes_id':mid,'route':route,'unit_id':unit,'due_date':datetime(2026,10,day,18),'planned_start':datetime(2026,10,planned_start_days[i],9),'group':group};grouped[group].append(row)
   if not any(r['item_id']==mid and r['route_id']==route for r in a['mes_pro_route_product']):ins('mes_pro_route_product',{'route_id':route,'item_id':mid,'remark':'按10月15日计划产品配置;配方及投料沿用产品自身BOM,不套用其他规格。'})
  group_refs={}
  for group,rows in grouped.items():
   amount=sum(money(r['amount']) for r in rows);count=sum(D(str(r['quantity'])) for r in rows)
   quote_no=number('crm_sale_quotation','no','QT20261015',6)
   quote=ins('crm_sale_quotation',{'no':quote_no,'name':'总公司10月'+groups[group]+'供货报价','customer_id':1613,'owner_user_id':291,'status':10,'quotation_time':BASE+timedelta(minutes=5+group),'valid_until':datetime(2026,10,30,18),'total_product_price':amount,'discount_percent':0,'discount_price':0,'total_price':amount,'tax_price':0,'remark':NOTE},291,BASE+timedelta(minutes=5+group))
   contract_no=number('crm_contract','no','HT20261015',6)
   contract=ins('crm_contract',{'no':contract_no,'name':'总公司10月'+groups[group]+'供货合同','customer_id':1613,'owner_user_id':291,'audit_status':20,'order_date':BASE+timedelta(minutes=20+group),'start_time':BASE+timedelta(minutes=20+group),'end_time':datetime(2026,11,30,18),'total_product_price':amount,'total_price':amount,'discount_percent':0,'deposit_price':0,'remark':NOTE+' æœˆç»“,2026å¹´11月30日回款;未录实际收款。'},291,BASE+timedelta(minutes=20+group))
   sale_no=number('erp_sale_order','no','XSDD20261015',6)
   order=ins('erp_sale_order',{'no':sale_no,'status':20,'customer_id':1613,'contract_id':contract,'contract_no':contract_no,'sale_user_id':291,'order_time':BASE+timedelta(minutes=40+group),'total_count':count,'total_product_price':amount,'total_tax_price':0,'total_price':amount,'discount_percent':0,'discount_price':0,'deposit_price':0,'out_count':0,'out_status':0,'production_status':0,'remark':NOTE+' æœªç¼´åº“、未发货。'},291,BASE+timedelta(minutes=40+group))
   change('crm_contract',contract,{'order_id':order,'order_no':sale_no});change('crm_sale_quotation',quote,{'contract_id':contract,'contract_no':contract_no})
   rp=ins('crm_receivable_plan',{'period':1,'customer_id':1613,'contract_id':contract,'owner_user_id':291,'return_time':datetime(2026,11,30,16),'return_type':8,'price':amount,'remind_days':3,'remind_time':datetime(2026,11,27,9),'remark':'总公司10月供货月结,11月30日一次回款;仅建计划,尚未收款。'},291,BASE+timedelta(minutes=25+group))
   for biz,bid in [(9,quote),(5,contract),(8,rp)]:ins('crm_permission',{'biz_type':biz,'biz_id':bid,'user_id':291,'level':1},291)
   for row in rows:
    value={'item_id':row['mdm_id'],'item_unit_id':row['unit_id'],'item_price':D(str(row['price'])),'count':row['quantity'],'total_price':money(row['amount'])}
    ins('crm_sale_quotation_product',{'quotation_id':quote,**value,'quotation_price':D(str(row['price'])),'tax_price':0},291,BASE+timedelta(minutes=10+group))
    ins('crm_contract_product',{'contract_id':contract,**value,'contract_price':D(str(row['price']))},291,BASE+timedelta(minutes=20+group))
    provenance='原项目号:'+str(row['code'])+';'+(row['note'] or '')+(';原进度:'+str(row['due']) if row['due'] else '')
    line=ins('erp_sale_order_items',{'order_id':order,'product_id':row['mdm_id'],'product_unit_id':row['unit_id'],'product_price':D(str(row['price'])),'count':row['quantity'],'total_price':money(row['amount']),'tax_price':0,'out_count':0,'need_production':1,'remark':provenance},291,BASE+timedelta(minutes=40+group))
    wo_code=number('mes_pro_work_order','code','WO_20261015',3,30)
    wo=ins('mes_pro_work_order',{'code':wo_code,'name':row['name']+'生产工单','type':1,'order_source_type':1,'order_source_code':sale_no,'product_id':row['mes_id'],'quantity':row['quantity'],'quantity_produced':0,'quantity_scheduled':0,'quantity_changed':0,'client_id':1613,'route_id':row['route'],'request_date':row['due_date'],'parent_id':0,'status':1,'auto_finish_flag':1,'is_feedback_approve':0,'remark':'来源10月15日未缴库计划;计划开工'+row['planned_start'].strftime('%m月%d日')+';'+(row['note'] or '待排产;未提前报工')},244,BASE+timedelta(hours=1,minutes=10))
    mps_code=number('mes_pro_mps','code','MPS20261015',3,65)
    mps=ins('mes_pro_mps',{'code':mps_code,'status':1,'sale_order_id':order,'sale_order_no':sale_no,'sale_order_item_id':line,'product_id':row['mes_id'],'quantity':row['quantity'],'quantity_produced':0,'unit_measure_id':row['unit_id'],'client_id':1613,'request_date':row['due_date'],'issue_date':BASE+timedelta(hours=1,minutes=10),'work_order_id':wo,'work_order_code':wo_code,'merge_flag':0,'remark':'来源:'+row['sheet']+'第'+str(row['row'])+'行;计划开工'+row['planned_start'].strftime('%m月%d日')+';'+provenance},244,BASE+timedelta(hours=1))
    change('erp_sale_order_items',line,{'mps_id':mps})
    processes=sorted([r for r in a['mes_pro_route_process'] if r['route_id']==row['route']],key=lambda r:r['sort'])
    # The two specified semi-finished products need only their remaining packaging stages.
    if row['note'] and '半成品已生产完毕' in row['note']:processes=[r for r in processes if r['process_id'] in (11,12,13)]
    assert processes
    for n,p in enumerate(processes):
     v={k:p.get(k) for k in ['process_id','param_template_id','yield_rate','color_code','key_flag','check_flag','backflush_flag','output_item_id','prepare_time','wait_time']}
     for k in ['key_flag','check_flag','backflush_flag']:v[k]=truth(v[k])
     v.update(work_order_id=wo,sort=(n+1)*10,link_type=3,next_process_id=processes[n+1]['process_id'] if n+1<len(processes) else None)
     ins('mes_pro_work_order_process',v)
    bom=[r for r in a['mes_md_product_bom'] if r['item_id']==row['mes_id']]
    for b in bom:ins('mes_pro_work_order_bom',{'work_order_id':wo,'item_id':b['bom_item_id'],'quantity':D(str(b['quantity']))*D(str(row['quantity']))})
    links.append({**row,'quotation_id':quote,'quotation_no':quote_no,'contract_id':contract,'contract_no':contract_no,'order_id':order,'order_no':sale_no,'order_item_id':line,'receivable_plan_id':rp,'mps_id':mps,'mps_code':mps_code,'wo_id':wo,'wo_code':wo_code,'bom_count':len(bom),'processes':processes})
   group_refs[group]={'quotation_id':quote,'contract_id':contract,'order_id':order,'amount':amount,'receivable_plan_id':rp}
  # One actual in-progress packaging job today; future jobs remain pending scheduling.
  current=next(r for r in links if r['mdm_id']==517)
  stations={r['process_id']:r for r in a['mes_md_workstation'] if r['status']==0}
  station_machines=defaultdict(set)
  for r in a['mes_md_workstation_machine']:station_machines[r['workstation_id']].add(r['machinery_id'])
  for m in a['mes_dv_machinery']:
   if m.get('workstation_id'):station_machines[m['workstation_id']].add(m['id'])
  machines={r['id']:r for r in a['mes_dv_machinery']}
  existing=[t for t in a['mes_pro_task'] if t['status'] not in (4,5)]
  first_station=stations[11]['id'];busy=[t['end_time'] for t in existing if t['workstation_id']==first_station and t['end_time']]
  start=max([datetime(2026,10,15,9)]+busy)
  assert start.date()==TODAY and start<datetime.now(),('Cannot mark a future task in progress',start)
  cumulative=D(1);targets={}
  for p in reversed(current['processes']):
   targets[p['process_id']]=(D(current['quantity'])/cumulative).to_integral_value(rounding=ROUND_CEILING)
   cumulative*=D(str(p.get('yield_rate') or 1))
  task_ids=[]
  for n,p in enumerate(current['processes']):
   station=stations[p['process_id']];resources=[machines[mid] for mid in station_machines[station['id']] if machines[mid]['status'] in (1,2)]
   assert resources and all(m['production_efficiency'] and m['production_efficiency']>0 for m in resources)
   capacity=sum(D(str(m['production_efficiency']))*D(m.get('conveyor_belt') or 1) for m in resources)
   amount=targets[p['process_id']];hours=int((amount/capacity).to_integral_value(rounding=ROUND_CEILING));hours=max(hours,1)
   for t in existing:
    if t['workstation_id']==station['id'] and t['end_time'] and t['end_time']>start:start=t['end_time']
   start=next_work(start);end=add_hours(start,hours);assert end.date()<=date(2026,10,30)
   code=number('mes_pro_task','code','TK_20261015',3,31)
   done=D(800) if n==0 else D(0);assert done<amount
   task=ins('mes_pro_task',{'code':code,'name':current['name']+'-'+str(p['process_id']),'work_order_id':current['wo_id'],'workstation_id':station['id'],'route_id':current['route'],'process_id':p['process_id'],'param_template_id':p.get('param_template_id'),'item_id':current['mes_id'],'quantity':amount,'produced_quantity':done,'qualify_quantity':done,'unqualify_quantity':0,'changed_quantity':0,'client_id':1613,'start_time':start,'end_time':end,'duration':hours,'status':2 if n==0 else 0,'first_feedback_time':datetime.now().replace(microsecond=0) if n==0 else None,'last_feedback_time':datetime.now().replace(microsecond=0) if n==0 else None,'remark':'半成品已生产完毕;本次仅排剩余包装、检验及缴库,尚未成品入库。'})
   task_ids.append(task)
   ins('mes_pro_task_assignee',{'task_id':task,'user_id':244})
   if n==0:
    code=number('mes_pro_feedback','code','FB_20261015',3,33)
    ins('mes_pro_feedback',{'code':code,'type':1,'feedback_time':datetime.now().replace(microsecond=0),'workstation_id':station['id'],'route_id':current['route'],'process_id':p['process_id'],'work_order_id':current['wo_id'],'task_id':task,'item_id':current['mes_id'],'scheduled_quantity':amount,'feedback_quantity':done,'qualified_quantity':done,'unqualified_quantity':0,'uncheck_quantity':0,'labor_scrap_quantity':0,'material_scrap_quantity':0,'other_scrap_quantity':0,'feedback_user_id':244,'approve_user_id':244,'status':4,'remark':'按本次录入要求记录今日包装部分完成800盒;非末道工序,不增加成品库存。'},244,datetime.now().replace(microsecond=0))
   if p.get('param_template_id'):
    template=next(r for r in a['mes_pd_process_param_template'] if r['id']==p['param_template_id'])
    record=ins('mes_pro_work_order_param_record',{'work_order_id':current['wo_id'],'task_id':task,'template_id':template['id'],'template_code':template['template_code'],'template_name':template['template_name'],'record_no':'TASK-'+str(task),'remark':'排产生成参数快照;实际参数待现场填写。'})
    for detail in a['mes_pd_process_param_template_detail']:
     if detail['template_id']==template['id']:ins('mes_pro_work_order_param_record_detail',{'record_id':record,'template_detail_id':detail['id'],'param_code':detail['param_code'],'param_name':detail['param_name'],'param_type':detail['param_type'],'required':truth(detail['required']),'unit_measure_id':detail.get('unit_measure_id'),'remark':detail.get('remark')})
   start=end
  change('mes_pro_work_order',current['wo_id'],{'quantity_scheduled':current['quantity']})
  if start>current['due_date']:
   current['due_date']=start.replace(hour=18,minute=0,second=0)
   change('mes_pro_work_order',current['wo_id'],{'request_date':current['due_date']})
   change('mes_pro_mps',current['mps_id'],{'request_date':current['due_date']})
  current['task_ids']=task_ids
  assert sum(g['amount'] for g in group_refs.values())==D('2062353.18')
  for row in links:
   assert row['due_date'].weekday()<5 and row['planned_start'].weekday()<5 and TODAY<=row['planned_start'].date()<=row['due_date'].date()<=date(2026,10,30)
   q.execute('select m.quantity,m.unit_measure_id,l.count,l.product_unit_id,l.mps_id from mes_pro_mps m join erp_sale_order_items l on l.id=m.sale_order_item_id where m.id=%s',(row['mps_id'],));v=q.fetchone();assert v['quantity']==v['count']==D(row['quantity']) and v['unit_measure_id']==v['product_unit_id']==row['unit_id'] and v['mps_id']==row['mps_id']
  for t,count in before_counts.items():q.execute('select count(*) n from `'+t+'`');assert q.fetchone()['n']==count,(t,'unexpected inventory or receipt change')
  result={'applied':APPLY,'database':'localhost:3306/mom-hm','total':D('2062353.18'),'groups':group_refs,'counts':{t:len(v) for t,v in inserted.items()},'links':[{k:v for k,v in r.items() if k!='processes'} for r in links],'updates':updates,'sequences':sequences,'protected_counts':before_counts}
  dump('result-applied.json' if APPLY else 'result-preview.json',result)
  (P/('applied.sql' if APPLY else 'preview.sql')).write_text('START TRANSACTION;\n'+'\n'.join(log)+'\n'+('COMMIT;' if APPLY else 'ROLLBACK;'),encoding='utf-8')
  if APPLY:c.commit()
  else:c.rollback()
  print(json.dumps({'applied':APPLY,'amount':str(result['total']),'counts':result['counts'],'current_work_order':current['wo_code'],'packaging_quantity':800,'pending_work_orders':12,'missing_bom_products':[r['name'] for r in links if not r['bom_count']]},ensure_ascii=False))
finally:
 c.rollback()
 with c.cursor() as q:q.execute('select release_lock(%s)',('ecommerce-production-20261015',))
 c.close()
scripts/ecommerce-production-20261015/source.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,171 @@
[
  {
    "sheet": "营养保健",
    "row": 3,
    "code": "Q2100202",
    "name": "γ-氨基丁酸营养素饮品(蜜桃味)",
    "spec": "350ml(35ml×10)",
    "unit": "盒",
    "quantity": 19216,
    "price": 15.4,
    "amount": 295926.4,
    "due": null,
    "note": "半成品已生产完毕等通知发货"
  },
  {
    "sheet": "营养保健",
    "row": 4,
    "code": "Q2100201",
    "name": "γ-氨基丁酸酸枣仁饮品(桃子味)",
    "spec": "350ml(35ml×10)",
    "unit": "盒",
    "quantity": 30000,
    "price": 14.9,
    "amount": 447000,
    "due": null,
    "note": null
  },
  {
    "sheet": "营养保健",
    "row": 5,
    "code": "U2100335",
    "name": "血蛋白营养素饮",
    "spec": "500ml(50ml*10)",
    "unit": "盒",
    "quantity": 10000,
    "price": 46.5,
    "amount": 465000,
    "due": null,
    "note": null
  },
  {
    "sheet": "营养保健",
    "row": 6,
    "code": "U2100336",
    "name": "血红素铁红枣饮",
    "spec": "300ml(30ml×10)",
    "unit": "盒",
    "quantity": 7992,
    "price": 33.5,
    "amount": 267732,
    "due": null,
    "note": "半成品已生产完毕等通知发货"
  },
  {
    "sheet": "电商已下单10月份缴库产品",
    "row": 3,
    "code": "Q2100197、Q2100196、81013526",
    "name": "红黑枸杞原浆礼盒-1800ml(30ml*60袋)",
    "spec": "1800ml",
    "unit": "盒",
    "quantity": 3033,
    "price": 63,
    "amount": 191079,
    "due": null,
    "note": null
  },
  {
    "sheet": "电商已下单10月份缴库产品",
    "row": 4,
    "code": "Q2100073",
    "name": "黑枸杞250克(50克*5)",
    "spec": "250克(50克*5)",
    "unit": "盒",
    "quantity": 168,
    "price": 122.74,
    "amount": 20620.32,
    "due": null,
    "note": null
  },
  {
    "sheet": "电商已下单10月份缴库产品",
    "row": 5,
    "code": "Q2100314",
    "name": "黑红枸杞原浆-30ml",
    "spec": "30ml",
    "unit": "袋",
    "quantity": 100000,
    "price": 2.12,
    "amount": 212000,
    "due": null,
    "note": null
  },
  {
    "sheet": "电商已下单10月份缴库产品",
    "row": 6,
    "code": "Q2100077",
    "name": "黑枸杞 å¤§æžœ 500克(250克*2)特优级",
    "spec": "500克(250克*2)",
    "unit": "套",
    "quantity": 666,
    "price": 75.81,
    "amount": 50489.46,
    "due": null,
    "note": null
  },
  {
    "sheet": "电商已下单10月份缴库产品",
    "row": 7,
    "code": "Q2100080",
    "name": "枸杞原浆-300ml",
    "spec": "300ml",
    "unit": "盒",
    "quantity": 1400,
    "price": 15.46,
    "amount": 21644,
    "due": null,
    "note": null
  },
  {
    "sheet": "电商已下单10月份缴库产品",
    "row": 8,
    "code": "Q2100078",
    "name": "黑果枸杞-250克甲级",
    "spec": "250克",
    "unit": "瓶",
    "quantity": 1800,
    "price": 21.48,
    "amount": 38664,
    "due": null,
    "note": null
  },
  {
    "sheet": "电商已下单10月份缴库产品",
    "row": 9,
    "code": 12100271,
    "name": "黑果枸杞-90克",
    "spec": "90克",
    "unit": "瓶",
    "quantity": 90,
    "price": 179.1,
    "amount": 16119,
    "due": null,
    "note": null
  },
  {
    "sheet": "电商已下单10月份缴库产品",
    "row": 10,
    "code": "UC000017",
    "name": "雪菊",
    "spec": "50g",
    "unit": "瓶",
    "quantity": 180,
    "price": 44.55,
    "amount": 8019,
    "due": null,
    "note": null
  },
  {
    "sheet": "电商已下单10月份缴库产品",
    "row": 11,
    "code": "U2100282",
    "name": "桑椹原浆",
    "spec": "500ml(50ml*10)",
    "unit": "盒",
    "quantity": 1000,
    "price": 28.06,
    "amount": 28060,
    "due": "10月15号左右发货",
    "note": null
  }
]
scripts/ecommerce-production-20261015/sync-export.json
¶Ô±ÈÐÂÎļþ
ÎļþÌ«´ó
scripts/ecommerce-production-20261015/sync_remote.py
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,180 @@
"""Copy only this import to the authorized remote database; map every business FK."""
from pathlib import Path
import sys,json,re
from decimal import Decimal as D
sys.stdout.reconfigure(encoding='utf-8')
sys.path.insert(0,str(Path('scripts/iqc-import-20261012/deps').resolve()))
import pymysql
P=Path(__file__).parent;E=json.loads((P/'sync-export.json').read_text(encoding='utf-8'));data=E['data'];refs=E['references'];APPLY='--apply' in sys.argv
c=pymysql.connect(host='36.213.150.237',port=10000,user='root',password=sys.stdin.readline().strip(),database='mom-hm',charset='utf8mb4',cursorclass=pymysql.cursors.DictCursor,connect_timeout=15,read_timeout=90,autocommit=False)
maps={};before=[];sqls=[];created={};schemas={};deferred=[];code_map={};result={}
def dump(name,v):(P/name).write_text(json.dumps(v,ensure_ascii=False,indent=2,default=str),encoding='utf-8')
def rows(table):q.execute('select * from `'+table+'` where deleted=0');return q.fetchall()
def schema(table):
 if table not in schemas:q.execute('show full columns from `'+table+'`');schemas[table]={r['Field']:r for r in q.fetchall()}
 return schemas[table]
def raw_update(table,rid,values):
 q.execute('select * from `'+table+'` where id=%s for update',(rid,));before.append({'table':table,'row':q.fetchone()})
 sql='update `'+table+'` set '+','.join('`'+k+'`=%s' for k in values)+' where id=%s';args=list(values.values())+[rid]
 q.execute(sql,args);sqls.append(q.mogrify(sql,args)+';')
def insert(table,values,source_id=None):
 v={k:z for k,z in values.items() if k!='id'};f=schema(table);assert not set(v)-set(f),(table,'missing columns',set(v)-set(f))
 for k,z in list(v.items()):
  if isinstance(z,str) and z in ("b'\\x00'","b'\\x01'"):v[k]=int(z=="b'\\x01'")
  if isinstance(v[k],str):
   m=re.match(r'varchar\((\d+)\)',f[k]['Type']);assert not m or len(v[k])<=int(m[1]),(table,k,len(v[k]),m[1])
 sql='insert into `'+table+'` (`'+'`,`'.join(v)+'`) values('+','.join(['%s']*len(v))+')';args=list(v.values());q.execute(sql,args);rid=q.lastrowid
 created.setdefault(table,[]).append(rid);sqls.append(q.mogrify(sql,args)+';')
 if source_id is not None:maps.setdefault(table,{})[source_id]=rid
 return rid
def mapped(table,rid):
 if rid is None:return None
 if rid==0:return 0
 assert rid in maps.get(table,{}),(table,'unmapped reference',rid)
 return maps[table][rid]
FK={
 'crm_sale_quotation':{'customer_id':'crm_customer','owner_user_id':'system_users','contract_id':'crm_contract'},
 'crm_contract':{'customer_id':'crm_customer','owner_user_id':'system_users','sign_user_id':'system_users','order_id':'erp_sale_order'},
 'erp_sale_order':{'customer_id':'crm_customer','contract_id':'crm_contract','sale_user_id':'system_users'},
 'crm_receivable_plan':{'customer_id':'crm_customer','contract_id':'crm_contract','owner_user_id':'system_users'},
 'crm_sale_quotation_product':{'quotation_id':'crm_sale_quotation','item_id':'mdm_item','item_unit_id':'mdm_unit_measure'},
 'crm_contract_product':{'contract_id':'crm_contract','item_id':'mdm_item','item_unit_id':'mdm_unit_measure'},
 'erp_sale_order_items':{'order_id':'erp_sale_order','product_id':'mdm_item','product_unit_id':'mdm_unit_measure','mps_id':'mes_pro_mps'},
 'mes_pro_work_order':{'product_id':'mes_md_item','route_id':'mes_pro_route','client_id':'crm_customer'},
 'mes_pro_mps':{'sale_order_id':'erp_sale_order','sale_order_item_id':'erp_sale_order_items','product_id':'mes_md_item','unit_measure_id':'mes_md_unit_measure','client_id':'crm_customer','work_order_id':'mes_pro_work_order'},
 'mes_pro_work_order_process':{'work_order_id':'mes_pro_work_order','process_id':'mes_pro_process','param_template_id':'mes_pd_process_param_template','next_process_id':'mes_pro_process'},
 'mes_pro_work_order_bom':{'work_order_id':'mes_pro_work_order','item_id':'mes_md_item','process_id':'mes_pro_process'},
 'mes_pro_task':{'work_order_id':'mes_pro_work_order','workstation_id':'mes_md_workstation','route_id':'mes_pro_route','process_id':'mes_pro_process','param_template_id':'mes_pd_process_param_template','item_id':'mes_md_item','client_id':'crm_customer'},
 'mes_pro_feedback':{'work_order_id':'mes_pro_work_order','task_id':'mes_pro_task','workstation_id':'mes_md_workstation','route_id':'mes_pro_route','process_id':'mes_pro_process','item_id':'mes_md_item','feedback_user_id':'system_users','approve_user_id':'system_users'},
 'mes_pro_work_order_param_record':{'work_order_id':'mes_pro_work_order','task_id':'mes_pro_task','template_id':'mes_pd_process_param_template'},
 'mes_pro_work_order_param_record_detail':{'record_id':'mes_pro_work_order_param_record','unit_measure_id':'mes_md_unit_measure'},
 'mes_pro_task_assignee':{'task_id':'mes_pro_task','user_id':'system_users'},
 'mes_pro_route_process':{'route_id':'mes_pro_route','process_id':'mes_pro_process','param_template_id':'mes_pd_process_param_template','next_process_id':'mes_pro_process'},
 'mes_pro_route_product':{'route_id':'mes_pro_route','item_id':'mes_md_item'}}
def prepare(table,row):
 v=dict(row)
 for k,t in FK.get(table,{}).items():
  if v.get(k) is not None:
   if v[k] not in maps.get(t,{}):deferred.append((table,row['id'],k,t,v[k]));v[k]=None
   else:v[k]=mapped(t,v[k])
 for k in ['creator','updater']:
  if str(v.get(k,'')).isdigit():v[k]=str(mapped('system_users',int(v[k])))
 if v.get('output_item_id'):v['output_item_id']=','.join(str(mapped('mes_md_item',int(i.strip()))) for i in v['output_item_id'].split(','))
 if table=='mes_pro_work_order_param_record':v['record_no']='TASK-'+str(v['task_id'])
 if table=='mes_pro_work_order_param_record_detail':
  # Template detail ids are explicitly verified below against parameter code and template.
  v['template_detail_id']=mapped('mes_pd_process_param_template_detail',v.get('template_detail_id'))
 return v
try:
 with c.cursor() as q:
  q.execute('select database() db,get_lock(%s,15) locked',('ecommerce-production-sync-20261015',));state=q.fetchone();assert state['db']=='mom-hm' and state['locked']==1
  q.execute('select count(*) n from crm_sale_quotation where deleted=0 and remark like %s',('%来源:10月15日电商未缴库计划%',));assert q.fetchone()['n']==0,'Remote import already exists; do not duplicate'
  # Inspect field width before any writes. Widen only the known template/snapshot mismatch.
  f=schema('mes_pro_work_order_param_record_detail')['remark'];width=int(re.search(r'\((\d+)\)',f['Type']).group(1))
  if width<500:
   if not APPLY:print('Schema prerequisite: remark varchar(255) -> varchar(500)')
   else:
    dump('remote-schema-before.json',f)
    q.execute("alter table mes_pro_work_order_param_record_detail modify column remark varchar(500) character set utf8mb4 collate utf8mb4_unicode_ci null comment '备注(参数快照)'")
    schemas.pop('mes_pro_work_order_param_record_detail',None)
  protected={}
  for t in ['crm_receivable','mes_wm_transaction','mes_wm_material_stock','mes_wm_product_receipt','mes_wm_product_sales']:
   q.execute('select count(*) n from `'+t+'`');protected[t]=q.fetchone()['n']
  # Match shared masters by stable code (units by trimmed name), never by local primary key alone.
  for table,key in [('system_users','nickname'),('crm_customer','name'),('mdm_unit_measure','name'),('mes_md_unit_measure','name'),('mes_pro_process','code'),('mes_md_workstation','code'),('mes_dv_machinery','code'),('mes_pd_process_param_template','template_code'),('mes_md_auto_code_rule','code'),('mes_pro_route','code'),('mdm_item','code'),('mes_md_item','code')]:
   remote=rows(table);lookup={}
   for v in remote:lookup.setdefault(str(v.get(key) or '').strip(),[]).append(v)
   maps.setdefault(table,{})
   for local in refs[table]:
    match=lookup.get(str(local.get(key) or '').strip(),[])
    if len(match)==1:maps[table][local['id']]=match[0]['id']
   if table in ['system_users','mdm_unit_measure','mes_md_unit_measure']:
    # Users/unit ids may share names; exact identity is safe when both id and name agree.
    for local in refs[table]:
     exact=next((v for v in remote if v['id']==local['id'] and str(v.get(key) or '').strip()==str(local.get(key) or '').strip()),None)
     if exact:maps[table][local['id']]=exact['id']
  assert mapped('crm_customer',1613)
  for uid in [244,291]:assert mapped('system_users',uid)
  new_codes={'12100271','UC000017','U2100282'}
  original_updates=E['local_result']['updates']
  for table in ['mdm_item','mes_md_item']:
   for row in data[table]:
    rid=maps.get(table,{}).get(row['id'])
    if rid:
     values={k:row[k] for k in ['name','specification','unit_measure_id']}
     unit_table='mdm_unit_measure' if table=='mdm_item' else 'mes_md_unit_measure';values['unit_measure_id']=mapped(unit_table,row['unit_measure_id'])
     q.execute('select * from `'+table+'` where id=%s for update',(rid,));remote=q.fetchone()
     diff={k:v for k,v in values.items() if remote.get(k)!=v}
     if diff:
      originals=[x['before'] for x in original_updates if x['table']==table and x['id']==row['id']]
      assert originals or row['code'] in new_codes,(table,row['code'],'no authorized source change')
      for k in diff:
       permitted=[o.get(k) for o in originals]+[row.get(k)]
       assert remote.get(k) in permitted,(table,row['code'],k,'remote changed independently',remote.get(k),permitted)
      raw_update(table,rid,diff)
    else:
     assert row['code'] in new_codes,(table,row['code'],'missing existing master')
     v=dict(row);v['unit_measure_id']=mapped('mdm_unit_measure' if table=='mdm_item' else 'mes_md_unit_measure',row['unit_measure_id'])
     if table=='mes_md_item':v['mdm_item_id']=mapped('mdm_item',row['mdm_item_id'])
     insert(table,v,row['id'])
  for row in data['mes_pro_route']:
   if row['id'] not in maps['mes_pro_route']:insert('mes_pro_route',row,row['id'])
  for row in data['mes_pro_route_process']:
   v=prepare('mes_pro_route_process',row);q.execute('select id from mes_pro_route_process where route_id=%s and process_id=%s and deleted=0',(v['route_id'],v['process_id']));existing=q.fetchone()
   if not existing:insert('mes_pro_route_process',v,row['id'])
   else:maps.setdefault('mes_pro_route_process',{})[row['id']]=existing['id']
  for row in data['mes_pro_route_product']:
   v=prepare('mes_pro_route_product',row);q.execute('select id from mes_pro_route_product where route_id=%s and item_id=%s and deleted=0',(v['route_id'],v['item_id']));existing=q.fetchone()
   if not existing:insert('mes_pro_route_product',v,row['id'])
  # Verify parameter detail references using template + code, including the full source remark.
  q.execute('select * from mes_pd_process_param_template_detail where deleted=0');remote_details=q.fetchall()
  audit=json.loads((P/'audit.json').read_text(encoding='utf-8'));maps['mes_pd_process_param_template_detail']={}
  for record in data['mes_pro_work_order_param_record_detail']:
   src=next(x for x in audit['mes_pd_process_param_template_detail'] if x['id']==record['template_detail_id'])
   matches=[x for x in remote_details if x['template_id']==mapped('mes_pd_process_param_template',src['template_id']) and x['param_code']==src['param_code']]
   assert len(matches)==1,('parameter detail mismatch',src['id']);maps['mes_pd_process_param_template_detail'][src['id']]=matches[0]['id']
  # Check codes before writes; unrelated remote documents must never be replaced.
  code_tables={'crm_sale_quotation':'no','crm_contract':'no','erp_sale_order':'no','mes_pro_work_order':'code','mes_pro_mps':'code','mes_pro_task':'code','mes_pro_feedback':'code'}
  for table,col in code_tables.items():
   for row in data[table]:
    q.execute('select id from `'+table+'` where `'+col+'`=%s',(row[col],));assert not q.fetchone(),(table,row[col],'code conflict; regenerate against remote before sync')
  for table in ['crm_sale_quotation','crm_contract','erp_sale_order','crm_receivable_plan','crm_sale_quotation_product','crm_contract_product','erp_sale_order_items','mes_pro_work_order','mes_pro_mps','mes_pro_work_order_process','mes_pro_work_order_bom','mes_pro_task','mes_pro_feedback','mes_pro_work_order_param_record','mes_pro_task_assignee','mes_pro_work_order_param_record_detail']:
   for row in data[table]:insert(table,prepare(table,row),row['id'])
  for table,local_id,key,target,local_fk in deferred:raw_update(table,mapped(table,local_id),{key:mapped(target,local_fk)})
  for row in data['crm_permission']:
   table={9:'crm_sale_quotation',5:'crm_contract',8:'crm_receivable_plan'}[row['biz_type']]
   v=dict(row);v['biz_id']=mapped(table,row['biz_id']);v['user_id']=mapped('system_users',row['user_id']);insert('crm_permission',v,row['id'])
  for row in data['mes_md_auto_code_record']:
   v=dict(row);v['rule_id']=mapped('mes_md_auto_code_rule',row['rule_id']);q.execute('select id from mes_md_auto_code_record where rule_id=%s and result=%s and deleted=0',(v['rule_id'],v['result']));reservation=q.fetchone()
   if reservation:maps.setdefault('mes_md_auto_code_record',{})[row['id']]=reservation['id']
   else:insert('mes_md_auto_code_record',v,row['id'])
  # Cross-check every product and every financial chain within the same transaction.
  for row in data['mes_pro_mps']:
   q.execute('select m.quantity,m.unit_measure_id,l.count,l.product_unit_id,l.mps_id,w.quantity wo_qty,w.parent_id from mes_pro_mps m join erp_sale_order_items l on l.id=m.sale_order_item_id join mes_pro_work_order w on w.id=m.work_order_id where m.id=%s',(mapped('mes_pro_mps',row['id']),));v=q.fetchone();assert v['quantity']==v['count']==v['wo_qty']==D(str(row['quantity'])) and v['unit_measure_id']==v['product_unit_id'] and v['mps_id']==mapped('mes_pro_mps',row['id']) and v['parent_id']==0
  total=D(0)
  for group in E['local_result']['groups'].values():
   values=[]
   for table,field,totalfield in [('crm_sale_quotation','quotation_id','total_price'),('crm_contract','contract_id','total_price'),('erp_sale_order','order_id','total_price'),('crm_receivable_plan','receivable_plan_id','price')]:
    q.execute('select `'+totalfield+'` amount from `'+table+'` where id=%s',(mapped(table,group[field]),));values.append(q.fetchone()['amount'])
   assert all(x==D(group['amount']) for x in values);total+=values[0]
  assert total==D('2062353.18')
  for table,count in protected.items():q.execute('select count(*) n from `'+table+'`');assert q.fetchone()['n']==count,(table,'unrelated inventory/receipt changed')
  # Inspect active resource collisions rather than silently overwriting an online schedule.
  new_tasks=created['mes_pro_task'];q.execute('select * from mes_pro_task where deleted=0 and (status is null or status not in (4,5))');active=q.fetchall()
  for t in active:
   if t['id'] not in new_tasks:continue
   for other in active:
    if other['id']==t['id'] or other['workstation_id']!=t['workstation_id']:continue
    assert not (other['start_time'] and other['end_time'] and t['start_time']<other['end_time'] and other['start_time']<t['end_time']),('online resource conflict',t['code'],other['code'])
  result={'applied':APPLY,'host':'36.213.150.237:10000','database':'mom-hm','total':str(total),'maps':maps,'created':created,'protected_counts':protected,'source_codes':{t:[x[col] for x in data[t]] for t,col in code_tables.items()}}
  dump('remote-before-apply.json' if APPLY else 'remote-before-preview.json',before)
  dump('remote-result-applied.json' if APPLY else 'remote-result-preview.json',result)
  (P/('remote-applied.sql' if APPLY else 'remote-preview.sql')).write_text('START TRANSACTION;\n'+'\n'.join(sqls)+'\n'+('COMMIT;' if APPLY else 'ROLLBACK;'),encoding='utf-8')
  if APPLY:c.commit()
  else:c.rollback()
  print(json.dumps({'applied':APPLY,'counts':{t:len(v) for t,v in created.items()},'total':str(total)},ensure_ascii=False))
finally:
 c.rollback()
 with c.cursor() as q:q.execute('select release_lock(%s)',('ecommerce-production-sync-20261015',))
 c.close()
scripts/ecommerce-production-20261015/verification.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,140 @@
{
  "passed": true,
  "total": "2062353.18",
  "plans": [
    {
      "product": "γ-氨基丁酸营养素饮品(蜜桃味)",
      "quantity": 19216,
      "unit": "盒",
      "due": "2026-10-23 18:00:00",
      "mps": "MPS20261015001",
      "work_order": "WO_20261015004",
      "scheduled_quantity": "19216.000000",
      "bom_count": 21
    },
    {
      "product": "γ-氨基丁酸酸枣仁饮品(桃子味)",
      "quantity": 30000,
      "unit": "盒",
      "due": "2026-10-23 18:00:00",
      "mps": "MPS20261015002",
      "work_order": "WO_20261015005",
      "scheduled_quantity": "0.000000",
      "bom_count": 18
    },
    {
      "product": "血蛋白营养素饮",
      "quantity": 10000,
      "unit": "盒",
      "due": "2026-10-27 18:00:00",
      "mps": "MPS20261015003",
      "work_order": "WO_20261015006",
      "scheduled_quantity": "0.000000",
      "bom_count": 0
    },
    {
      "product": "血红素铁红枣饮",
      "quantity": 7992,
      "unit": "盒",
      "due": "2026-10-21 18:00:00",
      "mps": "MPS20261015004",
      "work_order": "WO_20261015007",
      "scheduled_quantity": "0.000000",
      "bom_count": 0
    },
    {
      "product": "红黑枸杞原浆礼盒-1800ml(30ml*60袋)",
      "quantity": 3033,
      "unit": "盒",
      "due": "2026-10-22 18:00:00",
      "mps": "MPS20261015005",
      "work_order": "WO_20261015008",
      "scheduled_quantity": "0.000000",
      "bom_count": 6
    },
    {
      "product": "黑红枸杞原浆-30ml",
      "quantity": 100000,
      "unit": "袋",
      "due": "2026-10-30 18:00:00",
      "mps": "MPS20261015006",
      "work_order": "WO_20261015009",
      "scheduled_quantity": "0.000000",
      "bom_count": 0
    },
    {
      "product": "枸杞原浆-300ml",
      "quantity": 1400,
      "unit": "盒",
      "due": "2026-10-19 18:00:00",
      "mps": "MPS20261015007",
      "work_order": "WO_20261015010",
      "scheduled_quantity": "0.000000",
      "bom_count": 5
    },
    {
      "product": "黑枸杞250克(50克*5)",
      "quantity": 168,
      "unit": "盒",
      "due": "2026-10-21 18:00:00",
      "mps": "MPS20261015008",
      "work_order": "WO_20261015011",
      "scheduled_quantity": "0.000000",
      "bom_count": 8
    },
    {
      "product": "黑枸杞 å¤§æžœ 500克(250克*2)特优级",
      "quantity": 666,
      "unit": "套",
      "due": "2026-10-26 18:00:00",
      "mps": "MPS20261015009",
      "work_order": "WO_20261015012",
      "scheduled_quantity": "0.000000",
      "bom_count": 10
    },
    {
      "product": "黑果枸杞-250克甲级",
      "quantity": 1800,
      "unit": "瓶",
      "due": "2026-10-28 18:00:00",
      "mps": "MPS20261015010",
      "work_order": "WO_20261015013",
      "scheduled_quantity": "0.000000",
      "bom_count": 8
    },
    {
      "product": "黑果枸杞-90克",
      "quantity": 90,
      "unit": "瓶",
      "due": "2026-10-29 18:00:00",
      "mps": "MPS20261015011",
      "work_order": "WO_20261015014",
      "scheduled_quantity": "0.000000",
      "bom_count": 0
    },
    {
      "product": "雪菊",
      "quantity": 180,
      "unit": "瓶",
      "due": "2026-10-30 18:00:00",
      "mps": "MPS20261015012",
      "work_order": "WO_20261015015",
      "scheduled_quantity": "0.000000",
      "bom_count": 0
    },
    {
      "product": "桑椹原浆",
      "quantity": 1000,
      "unit": "盒",
      "due": "2026-10-16 18:00:00",
      "mps": "MPS20261015013",
      "work_order": "WO_20261015016",
      "scheduled_quantity": "0.000000",
      "bom_count": 0
    }
  ],
  "groups": 4,
  "today_packaged": 800,
  "finished_goods_produced": 0,
  "no_actual_receipts_or_warehousing": true
}
scripts/ecommerce-production-20261015/verify.py
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,54 @@
from audit import connect,dump,P
import json,sys,urllib.request
from decimal import Decimal as D
sys.stdout.reconfigure(encoding='utf-8')
r=json.loads((P/'result-applied.json').read_text(encoding='utf-8'));assert r['applied']
c=connect();checks=[]
try:
 with c.cursor() as q:
  for row in r['links']:
   q.execute('select m.*,w.quantity wo_quantity,w.quantity_produced wo_produced,w.parent_id,w.status wo_status,w.quantity_scheduled,w.order_source_code,w.request_date wo_due,l.count sale_quantity,l.product_unit_id,l.mps_id from mes_pro_mps m join mes_pro_work_order w on w.id=m.work_order_id join erp_sale_order_items l on l.id=m.sale_order_item_id where m.id=%s and m.deleted=0',(row['mps_id'],));v=q.fetchone()
   assert v['quantity']==v['wo_quantity']==v['sale_quantity']==D(str(row['quantity']))
   assert v['quantity_produced']==v['wo_produced']==0 and v['parent_id']==0 and v['status']==v['wo_status']==1
   assert v['mps_id']==v['id'] and v['sale_order_no']==v['order_source_code']==row['order_no']
   assert v['unit_measure_id']==v['product_unit_id']==row['unit_id']
   assert v['request_date']==v['wo_due'] and v['request_date'].weekday()<5
   checks.append({'product':row['name'],'quantity':row['quantity'],'unit':row['unit'],'due':str(v['request_date']),'mps':row['mps_code'],'work_order':row['wo_code'],'scheduled_quantity':str(v['quantity_scheduled']),'bom_count':row['bom_count']})
  total=D(0)
  for g in r['groups'].values():
   q.execute('select * from crm_contract where id=%s',(g['contract_id'],));contract=q.fetchone()
   q.execute('select * from erp_sale_order where id=%s',(g['order_id'],));order=q.fetchone()
   q.execute('select * from crm_sale_quotation where id=%s',(g['quotation_id'],));quote=q.fetchone()
   q.execute('select * from crm_receivable_plan where id=%s',(g['receivable_plan_id'],));plan=q.fetchone()
   amount=D(g['amount']);assert contract['total_price']==order['total_price']==quote['total_price']==plan['price']==amount
   assert all(x['customer_id']==1613 for x in [contract,order,quote,plan])
   assert quote['contract_id']==contract['id']==order['contract_id']==plan['contract_id']
   assert contract['order_id']==order['id'] and order['out_count']==0 and order['production_status']==0
   assert plan['return_time'].strftime('%Y-%m-%d')=='2026-11-30' and plan['receivable_id'] is None
   for t,col in [('crm_sale_quotation_product','quotation_id'),('crm_contract_product','contract_id'),('erp_sale_order_items','order_id')]:
    q.execute('select sum(total_price) amount from '+t+' where '+col+'=%s and deleted=0',({'quotation_id':quote['id'],'contract_id':contract['id'],'order_id':order['id']}[col],));assert q.fetchone()['amount']==amount
   total+=amount
  assert total==D('2062353.18')
  for table,count in r['protected_counts'].items():q.execute('select count(*) n from `'+table+'`');assert q.fetchone()['n']==count
  ids=r['counts']['mes_pro_task'];current=next(x for x in r['links'] if x.get('task_ids'))
  q.execute('select * from mes_pro_task where work_order_id=%s and deleted=0 order by start_time',(current['wo_id'],));tasks=q.fetchall();assert len(tasks)==3
  assert tasks[0]['status']==2 and tasks[0]['produced_quantity']==800 and all(x['produced_quantity']==0 for x in tasks[1:])
  assert all(t['start_time'].weekday()<5 and t['end_time'].weekday()<5 for t in tasks)
  assert all(tasks[i]['end_time']<=tasks[i+1]['start_time'] for i in range(len(tasks)-1))
  q.execute('select sum(feedback_quantity) qty from mes_pro_feedback where work_order_id=%s and deleted=0',(current['wo_id'],));assert q.fetchone()['qty']==800
  dump('verification.json',{'passed':True,'total':str(total),'plans':checks,'groups':4,'today_packaged':800,'finished_goods_produced':0,'no_actual_receipts_or_warehousing':True})
  lines=['# 10月15日至月底生产及销售录入清单','','客户:总公司;合计:2,062,353.18元;4组销售单据,13项产品。','回款:11月30日一次月结,仅建立回款计划。','今天:蜜桃味营养素饮品包装部分完成800盒,尚未形成末道成品;其余12工单待排产,不提前报工。','','| äº§å“ | æ•°é‡ | å•位 | è®¡åˆ’开工 | äº¤æœŸ | å·¥å• |','|---|---:|---|---|---|---|']
  for row,check in zip(r['links'],checks):lines.append('|'+ '|'.join(map(str,[row['name'],row['quantity'],row['unit'],row['planned_start'][:10],check['due'][:10],row['wo_code']]))+'|')
  lines+=['','以下产品现有BOM不完整,未套用其他规格或虚构投料:'+ '、'.join(row['name'] for row in r['links'] if not row['bom_count'])+'。','原表中的项目号、进度备注均保留在对应单据;168盒、90瓶、180瓶等小批量保持原数,没有为了凑数量上调。','价格按表列结算单价及金额执行,未额外假设税率或追加税款。','新增了表内原编码缺失的3款成品;规范了相关成品的包装单位和规格,历史单据数量金额未改动。','工作日校对参考:https://www.gov.cn/zhengce/content/202511/content_7047090.htm']
  (P/'录入清单.md').write_text('\n'.join(lines)+'\n',encoding='utf-8')
finally:c.rollback();c.close()
api=[]
for path in ['/crm/contract/get?id='+str(g['contract_id']) for g in r['groups'].values()]+['/mes/pro/task/gantt-list?status=1&type=1']:
 request=urllib.request.Request('http://127.0.0.1:48080/admin-api'+path,headers={'Authorization':'Bearer test1','tenant-id':'1'})
 with urllib.request.urlopen(request,timeout=25) as response:result=json.load(response)
 assert result['code']==0,(path,result)
 if 'gantt-list' in path:
  nodes=result['data'];all_ids={n['id'] for n in nodes};assert all(n.get('parent') in (None,'',0,'0') or n['parent'] in all_ids for n in nodes)
 api.append({'path':path,'ok':True})
dump('api-verification.json',api)
print(json.dumps({'passed':True,'plans':13,'work_orders':13,'sales_chains':4,'amount':'2062353.18','today_partial_packaging':800,'api_checks':len(api)},ensure_ascii=False))
scripts/ecommerce-production-20261015/verify_remote.py
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,42 @@
from pathlib import Path
import sys,json
from decimal import Decimal as D
sys.stdout.reconfigure(encoding='utf-8');sys.path.insert(0,str(Path('scripts/iqc-import-20261012/deps').resolve()))
import pymysql
P=Path(__file__).parent;r=json.loads((P/'remote-result-applied.json').read_text(encoding='utf-8'));e=json.loads((P/'sync-export.json').read_text(encoding='utf-8'))
assert r['applied']
def mid(table,value):return r['maps'][table][str(value)]
c=pymysql.connect(host='36.213.150.237',port=10000,user='root',password=sys.stdin.readline().strip(),database='mom-hm',charset='utf8mb4',cursorclass=pymysql.cursors.DictCursor,connect_timeout=15,read_timeout=60)
try:
 with c.cursor() as q:
  for table,ids in r['created'].items():
   q.execute('select count(*) n from `'+table+'` where id in ('+','.join(['%s']*len(ids))+')',ids);assert q.fetchone()['n']==len(ids),(table,'missing committed rows')
  for item in e['data']['mes_pro_mps']:
   q.execute('select m.*,w.product_id wo_product,w.quantity wo_qty,w.parent_id,w.order_source_code,l.count sale_qty,l.product_id sale_product,l.mps_id,l.product_unit_id from mes_pro_mps m join mes_pro_work_order w on w.id=m.work_order_id join erp_sale_order_items l on l.id=m.sale_order_item_id where m.id=%s',(mid('mes_pro_mps',item['id']),));v=q.fetchone()
   assert v['quantity']==v['wo_qty']==v['sale_qty']==D(str(item['quantity']))
   assert v['wo_product']==v['product_id']==mid('mes_md_item',item['product_id'])
   q.execute('select mdm_item_id from mes_md_item where id=%s',(v['product_id'],));assert q.fetchone()['mdm_item_id']==v['sale_product']
   assert v['mps_id']==v['id'] and v['sale_order_no']==v['order_source_code']==item['sale_order_no'] and v['parent_id']==0
   assert v['quantity_produced']==0 and v['request_date'].weekday()<5
   q.execute('select name from mes_md_unit_measure where id=%s',(v['unit_measure_id'],));mu=q.fetchone()['name'].strip()
   q.execute('select name from mdm_unit_measure where id=%s',(v['product_unit_id'],));assert q.fetchone()['name'].strip()==mu
  total=D(0)
  for g in e['local_result']['groups'].values():
   q.execute('select * from crm_contract where id=%s',(mid('crm_contract',g['contract_id']),));ct=q.fetchone()
   q.execute('select * from crm_sale_quotation where id=%s',(mid('crm_sale_quotation',g['quotation_id']),));qt=q.fetchone()
   q.execute('select * from erp_sale_order where id=%s',(mid('erp_sale_order',g['order_id']),));so=q.fetchone()
   q.execute('select * from crm_receivable_plan where id=%s',(mid('crm_receivable_plan',g['receivable_plan_id']),));rp=q.fetchone()
   assert ct['id']==qt['contract_id']==so['contract_id']==rp['contract_id'] and ct['order_id']==so['id']
   assert all(x['customer_id']==mid('crm_customer',1613) for x in [ct,qt,so,rp])
   assert ct['total_price']==qt['total_price']==so['total_price']==rp['price']==D(g['amount']);total+=ct['total_price']
   assert rp['return_time'].strftime('%Y-%m-%d')=='2026-11-30' and rp['receivable_id'] is None
   assert so['out_count']==0 and so['production_status']==0
  assert total==D('2062353.18')
  for item in e['data']['mes_pro_task']:
   q.execute('select * from mes_pro_task where id=%s',(mid('mes_pro_task',item['id']),));t=q.fetchone()
   assert t['status']==item['status'] and t['quantity']==D(str(item['quantity'])) and t['produced_quantity']==D(str(item['produced_quantity']))
   assert t['work_order_id']==mid('mes_pro_work_order',item['work_order_id']) and t['start_time'].strftime('%Y-%m-%d %H:%M:%S')==item['start_time']
  for table,count in r['protected_counts'].items():q.execute('select count(*) n from `'+table+'`');assert q.fetchone()['n']==count
  checks={'passed':True,'host':r['host'],'database':r['database'],'total':str(total),'production_plans':13,'work_orders':13,'quotations':4,'contracts':4,'sales_orders':4,'receivable_plans':4,'packaging_partial_quantity':800,'new_actual_receipts':0,'new_stock_or_sales_transactions':0}
  (P/'remote-verification.json').write_text(json.dumps(checks,ensure_ascii=False,indent=2),encoding='utf-8');print(json.dumps(checks,ensure_ascii=False))
finally:c.close()
scripts/fill-receivable-plan-remark-20261015.py
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,43 @@
import sys, json
from pathlib import Path
from datetime import datetime
from decimal import Decimal
sys.stdout.reconfigure(encoding='utf-8')
sys.path.insert(0, str(Path(__file__).parent / 'iqc-import-20261012/deps'))
import pymysql
apply = '--apply' in sys.argv
with pymysql.connect(host='36.213.150.237', port=10000, user='root', password=sys.stdin.readline().strip(), database='mom-hm', charset='utf8mb4', connect_timeout=15, cursorclass=pymysql.cursors.DictCursor) as conn:
    with conn.cursor() as q:
        q.execute('SELECT DATABASE() db')
        assert q.fetchone()['db'] == 'mom-hm'
        q.execute('SELECT * FROM crm_receivable_plan WHERE deleted=0 AND id IN (43,44,45,46,47,48,49,50) ORDER BY id' + (' FOR UPDATE' if apply else ''))
        before=q.fetchall()
        assert len(before)==8
        changes=[]
        for row in before:
            q.execute('SELECT COALESCE(SUM(price),0) paid FROM crm_receivable WHERE deleted=0 AND audit_status=20 AND (plan_id=%s OR id=%s)', (row['id'],row['receivable_id']))
            paid=Decimal(q.fetchone()['paid'])
            remain=max(Decimal(row['price'])-paid,Decimal('0'))
            due=row['return_time'].strftime('%Y-%m-%d') if row['return_time'] else None
            date_text=f'计划回款日期{due}' if due else '计划日期待确认'
            remark=f'尚未回款余额{remain:.2f}元;已回款{paid:.2f}元。{date_text};实际到账情况待核对'
            changes.append({'id':row['id'],'before':row['remark'],'after':remark})
        print(json.dumps({'changes':changes},ensure_ascii=False))
        if apply:
            assert all(not (x['remark'] or '').strip() for x in before), '仅填充此前清空的8条备注,避免覆盖新内容'
            out=Path(__file__).parent/'receivable-plan-remark-20261015'
            out.mkdir(exist_ok=True)
            stamp=datetime.now().strftime('%Y%m%d%H%M%S')
            (out/f'fill-before-{stamp}.json').write_text(json.dumps(before,ensure_ascii=False,default=str,indent=2),encoding='utf-8')
            for change in changes:
                q.execute('UPDATE crm_receivable_plan SET remark=%s,update_time=update_time WHERE id=%s AND deleted=0', (change['after'],change['id']))
                assert q.rowcount==1
            q.execute('SELECT * FROM crm_receivable_plan WHERE deleted=0 AND id IN (43,44,45,46,47,48,49,50) ORDER BY id')
            after=q.fetchall()
            assert len(after)==len(before)
            for a,b,change in zip(after,before,changes):
                assert a['remark']==change['after']
                assert {k:v for k,v in a.items() if k!='remark'}=={k:v for k,v in b.items() if k!='remark'}
            conn.commit()
            (out/f'fill-result-{stamp}.json').write_text(json.dumps(changes,ensure_ascii=False,indent=2),encoding='utf-8')
            print(json.dumps({'updated':len(changes),'onlyRemarkChanged':True}))
scripts/link-scheduling-stations-20261015.py
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,22 @@
import sys,json
from pathlib import Path
from datetime import datetime
sys.stdout.reconfigure(encoding='utf-8')
sys.path.insert(0,str(Path(__file__).parent/'iqc-import-20261012/deps'))
import pymysql
with pymysql.connect(host='36.213.150.237',port=10000,user='root',password=sys.stdin.readline().strip(),database='mom-hm',charset='utf8mb4',connect_timeout=15,cursorclass=pymysql.cursors.DictCursor) as c:
 with c.cursor() as q:
  q.execute('SELECT DATABASE() db');assert q.fetchone()['db']=='mom-hm'
  q.execute('SELECT * FROM mes_md_workstation_machine WHERE deleted=0 ORDER BY id FOR UPDATE');before=q.fetchall()
  out=Path(__file__).parent/'schedule-diagnosis-20261015'
  (out/('station-links-before-'+datetime.now().strftime('%Y%m%d%H%M%S')+'.json')).write_text(json.dumps(before,ensure_ascii=False,default=str,indent=2),encoding='utf-8')
  changes=[]
  for sid,mid in [(42,14),(43,15)]:
   q.execute('SELECT * FROM mes_md_workstation WHERE id=%s AND deleted=0',(sid,));s=q.fetchone()
   q.execute('SELECT * FROM mes_dv_machinery WHERE id=%s AND deleted=0 FOR UPDATE',(mid,));m=q.fetchone()
   assert s['workshop_id']==m['workshop_id']==2 and s['status']==0 and m['status']==1 and m['production_efficiency']>0
   assert (sid,mid) not in {(r['workstation_id'],r['machinery_id']) for r in before}
   q.execute('INSERT INTO mes_md_workstation_machine (workstation_id,machinery_id,quantity,remark,create_time,update_time,deleted) VALUES (%s,%s,1,%s,NOW(),NOW(),0)',(sid,mid,'根据同车间现有设备功能配置;与其他工作站共用同一实体设备,排产按设备编号校验占用冲突'))
   changes.append({'workstation':s['name'],'machine':m['name'],'capacity':str(m['production_efficiency'])})
  c.commit()
  print(json.dumps({'committed':True,'links':changes},ensure_ascii=False))
scripts/prepare-scheduling-machines-20261015.py
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,53 @@
import sys,json
from pathlib import Path
from datetime import datetime
from collections import defaultdict
sys.stdout.reconfigure(encoding='utf-8')
sys.path.insert(0,str(Path(__file__).parent/'iqc-import-20261012/deps'))
import pymysql
apply='--apply' in sys.argv
tables=['mes_pro_work_order','mes_pro_work_order_process','mes_pro_route_product','mes_pro_route_process','mes_md_workstation','mes_md_workstation_machine','mes_dv_machinery','mes_pro_task']
with pymysql.connect(host='36.213.150.237',port=10000,user='root',password=sys.stdin.readline().strip(),database='mom-hm',charset='utf8mb4',connect_timeout=15,cursorclass=pymysql.cursors.DictCursor) as c:
 with c.cursor() as q:
  q.execute('SELECT DATABASE() db');assert q.fetchone()['db']=='mom-hm'
  data={}
  for t in tables:
   q.execute('SELECT * FROM '+t+' WHERE deleted=0 ORDER BY id'+(' FOR UPDATE' if apply else ''))
   data[t]=q.fetchall()
  links=defaultdict(set)
  for r in data['mes_md_workstation_machine']:links[r['workstation_id']].add(r['machinery_id'])
  for m in data['mes_dv_machinery']:
   if m['workstation_id']:links[m['workstation_id']].add(m['id'])
  needed_processes=set()
  orders=[o for o in data['mes_pro_work_order'] if o['status']==1 and o['type']==1]
  for o in orders:
   processes=[p for p in data['mes_pro_work_order_process'] if p['work_order_id']==o['id']]
   if not processes:
    route=o['route_id']
    if not route:
     relations=[r for r in data['mes_pro_route_product'] if r.get('item_id')==o['product_id']]
     route=relations[0]['route_id'] if relations else None
    processes=[p for p in data['mes_pro_route_process'] if p['route_id']==route]
   needed_processes.update(p['process_id'] for p in processes)
  needed=set().union(*(links[s['id']] for s in data['mes_md_workstation'] if s['status']==0 and s['process_id'] in needed_processes))
  active=[t for t in data['mes_pro_task'] if t['status'] not in (4,5)]
  occupied=set().union(*(links[t['workstation_id']] for t in active)) if active else set()
  changes=[m for m in data['mes_dv_machinery'] if m['id'] in needed-occupied and m['status']==2]
  print(json.dumps({'confirmedOrders':len(orders),'neededMachines':len(needed),'preservedOccupied':sorted(needed&occupied),'changeToStopped':[{'id':m['id'],'name':m['name']} for m in changes]},ensure_ascii=False))
  if apply:
   out=Path(__file__).parent/'schedule-diagnosis-20261015';out.mkdir(exist_ok=True)
   stamp=datetime.now().strftime('%Y%m%d%H%M%S')
   (out/f'machines-before-{stamp}.json').write_text(json.dumps(changes,ensure_ascii=False,default=str,indent=2),encoding='utf-8')
   for m in changes:
    q.execute('UPDATE mes_dv_machinery SET status=1,update_time=NOW() WHERE id=%s AND deleted=0 AND status=2',(m['id'],));assert q.rowcount==1
   q.execute('SELECT * FROM mes_dv_machinery WHERE deleted=0 ORDER BY id')
   after={m['id']:m for m in q.fetchall()}
   changed={m['id'] for m in changes}
   for old in data['mes_dv_machinery']:
    new=after[old['id']]
    if old['id'] in changed:
     assert new['status']==1
     assert {k:v for k,v in old.items() if k not in ('status','update_time')}=={k:v for k,v in new.items() if k not in ('status','update_time')}
    else:assert new==old
   c.commit()
   print(json.dumps({'updated':len(changes),'preservedOccupied':len(needed&occupied),'verified':True}))
scripts/receivable-plan-remark-20261015/before-20261015145428.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,42 @@
[
  {
    "id": 43,
    "remark": "未录入实际回款",
    "update_time": "2026-10-08 08:22:00"
  },
  {
    "id": 44,
    "remark": "未录入实际回款",
    "update_time": "2026-10-08 08:22:00"
  },
  {
    "id": 45,
    "remark": "未录入实际回款",
    "update_time": "2026-10-09 08:22:00"
  },
  {
    "id": 46,
    "remark": "未录入实际回款",
    "update_time": "2026-10-09 08:22:00"
  },
  {
    "id": 47,
    "remark": "未录入实际回款",
    "update_time": "2026-10-12 08:22:00"
  },
  {
    "id": 48,
    "remark": "未录入实际回款",
    "update_time": "2026-10-12 08:22:00"
  },
  {
    "id": 49,
    "remark": "未录入实际回款",
    "update_time": "2026-10-14 08:22:00"
  },
  {
    "id": 50,
    "remark": "未录入实际回款",
    "update_time": "2026-10-14 08:22:00"
  }
]
scripts/receivable-plan-remark-20261015/fill-before-20261015145725.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,154 @@
[
  {
    "id": 43,
    "period": 1,
    "customer_id": 1353,
    "contract_id": 546,
    "owner_user_id": 291,
    "return_time": "2026-10-15 16:00:00",
    "return_type": 8,
    "price": "27052.200000",
    "receivable_id": null,
    "remind_days": 3,
    "remind_time": "2026-10-12 16:00:00",
    "remark": "",
    "creator": "291",
    "create_time": "2026-10-08 08:22:00",
    "updater": "291",
    "update_time": "2026-10-08 08:22:00",
    "deleted": 0
  },
  {
    "id": 44,
    "period": 2,
    "customer_id": 1353,
    "contract_id": 546,
    "owner_user_id": 291,
    "return_time": "2026-11-09 16:00:00",
    "return_type": 8,
    "price": "63121.800000",
    "receivable_id": null,
    "remind_days": 3,
    "remind_time": "2026-11-06 16:00:00",
    "remark": "",
    "creator": "291",
    "create_time": "2026-10-08 08:22:00",
    "updater": "291",
    "update_time": "2026-10-08 08:22:00",
    "deleted": 0
  },
  {
    "id": 45,
    "period": 1,
    "customer_id": 1381,
    "contract_id": 547,
    "owner_user_id": 291,
    "return_time": "2026-10-16 16:00:00",
    "return_type": 8,
    "price": "16204.200000",
    "receivable_id": null,
    "remind_days": 3,
    "remind_time": "2026-10-13 16:00:00",
    "remark": "",
    "creator": "291",
    "create_time": "2026-10-09 08:22:00",
    "updater": "291",
    "update_time": "2026-10-09 08:22:00",
    "deleted": 0
  },
  {
    "id": 46,
    "period": 2,
    "customer_id": 1381,
    "contract_id": 547,
    "owner_user_id": 291,
    "return_time": "2026-11-09 16:00:00",
    "return_type": 8,
    "price": "37809.800000",
    "receivable_id": null,
    "remind_days": 3,
    "remind_time": "2026-11-06 16:00:00",
    "remark": "",
    "creator": "291",
    "create_time": "2026-10-09 08:22:00",
    "updater": "291",
    "update_time": "2026-10-09 08:22:00",
    "deleted": 0
  },
  {
    "id": 47,
    "period": 1,
    "customer_id": 1359,
    "contract_id": 548,
    "owner_user_id": 291,
    "return_time": "2026-10-19 16:00:00",
    "return_type": 8,
    "price": "1152.600000",
    "receivable_id": null,
    "remind_days": 3,
    "remind_time": "2026-10-16 16:00:00",
    "remark": "",
    "creator": "291",
    "create_time": "2026-10-12 08:22:00",
    "updater": "291",
    "update_time": "2026-10-12 08:22:00",
    "deleted": 0
  },
  {
    "id": 48,
    "period": 2,
    "customer_id": 1359,
    "contract_id": 548,
    "owner_user_id": 291,
    "return_time": "2026-11-11 16:00:00",
    "return_type": 8,
    "price": "2689.400000",
    "receivable_id": null,
    "remind_days": 3,
    "remind_time": "2026-11-09 16:00:00",
    "remark": "",
    "creator": "291",
    "create_time": "2026-10-12 08:22:00",
    "updater": "291",
    "update_time": "2026-10-12 08:22:00",
    "deleted": 0
  },
  {
    "id": 49,
    "period": 1,
    "customer_id": 1358,
    "contract_id": 549,
    "owner_user_id": 291,
    "return_time": "2026-10-21 16:00:00",
    "return_type": 8,
    "price": "10712.400000",
    "receivable_id": null,
    "remind_days": 3,
    "remind_time": "2026-10-19 16:00:00",
    "remark": "",
    "creator": "291",
    "create_time": "2026-10-14 08:22:00",
    "updater": "291",
    "update_time": "2026-10-14 08:22:00",
    "deleted": 0
  },
  {
    "id": 50,
    "period": 2,
    "customer_id": 1358,
    "contract_id": 549,
    "owner_user_id": 291,
    "return_time": "2026-11-13 16:00:00",
    "return_type": 8,
    "price": "24995.600000",
    "receivable_id": null,
    "remind_days": 3,
    "remind_time": "2026-11-10 16:00:00",
    "remark": "",
    "creator": "291",
    "create_time": "2026-10-14 08:22:00",
    "updater": "291",
    "update_time": "2026-10-14 08:22:00",
    "deleted": 0
  }
]
scripts/receivable-plan-remark-20261015/fill-result-20261015145725.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,42 @@
[
  {
    "id": 43,
    "before": "",
    "after": "尚未回款余额27052.20元;已回款0.00元。计划回款日期2026-10-15;实际到账情况待核对"
  },
  {
    "id": 44,
    "before": "",
    "after": "尚未回款余额63121.80元;已回款0.00元。计划回款日期2026-11-09;实际到账情况待核对"
  },
  {
    "id": 45,
    "before": "",
    "after": "尚未回款余额16204.20元;已回款0.00元。计划回款日期2026-10-16;实际到账情况待核对"
  },
  {
    "id": 46,
    "before": "",
    "after": "尚未回款余额37809.80元;已回款0.00元。计划回款日期2026-11-09;实际到账情况待核对"
  },
  {
    "id": 47,
    "before": "",
    "after": "尚未回款余额1152.60元;已回款0.00元。计划回款日期2026-10-19;实际到账情况待核对"
  },
  {
    "id": 48,
    "before": "",
    "after": "尚未回款余额2689.40元;已回款0.00元。计划回款日期2026-11-11;实际到账情况待核对"
  },
  {
    "id": 49,
    "before": "",
    "after": "尚未回款余额10712.40元;已回款0.00元。计划回款日期2026-10-21;实际到账情况待核对"
  },
  {
    "id": 50,
    "before": "",
    "after": "尚未回款余额24995.60元;已回款0.00元。计划回款日期2026-11-13;实际到账情况待核对"
  }
]
scripts/schedule-diagnosis-20261015/complete-route-before-20261015152516.json
¶Ô±ÈÐÂÎļþ
ÎļþÌ«´ó
scripts/schedule-diagnosis-20261015/complete-route-plan.json
¶Ô±ÈÐÂÎļþ
ÎļþÌ«´ó
scripts/schedule-diagnosis-20261015/complete-route-result-20261015152516.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,41 @@
{
  "newProductBomRows": 248,
  "productsConfigured": 46,
  "newRouteInputs": 254,
  "explicitOutputs": 338,
  "routesToEnable": [
    2,
    3,
    4,
    6,
    8,
    9,
    10,
    11,
    13,
    14,
    25,
    26,
    27,
    28,
    29,
    30,
    31,
    32,
    40,
    41,
    42,
    43,
    44,
    45,
    46,
    47,
    48,
    49,
    50,
    51,
    52,
    57
  ],
  "totalRoutes": 57
}
scripts/schedule-diagnosis-20261015/machines-before-20261015151133.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,569 @@
[
  {
    "id": 14,
    "code": "TRT-GZ-SB-002",
    "name": "冷热罐",
    "brand": "保定市沃盛食品机械销售有限公司",
    "specification": "WSLRG-1200L",
    "machinery_type_id": 26,
    "workshop_id": 2,
    "status": 2,
    "last_mainten_time": "2026-10-11 09:23:17",
    "last_check_time": "2026-10-11 07:07:43",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 10:01:56",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "800.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 15,
    "code": "TRT-GZ-SB-003",
    "name": "可倾式夹层锅",
    "brand": "南京福能机械设备有限公司",
    "specification": "KF-IVI",
    "machinery_type_id": 26,
    "workshop_id": 2,
    "status": 2,
    "last_mainten_time": "2026-10-11 10:31:18",
    "last_check_time": "2026-10-11 16:38:28",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 10:04:05",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "500.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 18,
    "code": "TRT-GZ-SB-006",
    "name": "全自动12头灌装机",
    "brand": "济南瑞霸机械设备制造有限公司",
    "specification": "RB-12",
    "machinery_type_id": 26,
    "workshop_id": 2,
    "status": 2,
    "last_mainten_time": "2026-10-11 10:08:30",
    "last_check_time": "2026-10-11 10:48:11",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 10:15:52",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "4800.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 20,
    "code": "TRT-GZ-SB-008",
    "name": "全自动圆瓶贴标机",
    "brand": "济南瑞霸机械设备制造有限公司",
    "specification": "RB-TB",
    "machinery_type_id": 26,
    "workshop_id": 2,
    "status": 2,
    "last_mainten_time": "2026-10-11 15:33:36",
    "last_check_time": "2026-10-11 14:09:53",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 10:31:03",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "4000.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 21,
    "code": "TRT-GZ-SB-009",
    "name": "风干机",
    "brand": "济南瑞霸机械设备制造有限公司",
    "specification": "RB-ZS",
    "machinery_type_id": 26,
    "workshop_id": 2,
    "status": 2,
    "last_mainten_time": "2026-10-10 17:13:39",
    "last_check_time": "2026-10-11 08:24:05",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 10:38:18",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "3600.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 23,
    "code": "TRT-GZ-SB-011",
    "name": "果膏罐调配线",
    "brand": "上海沃迪智能装备股份有限公司",
    "specification": "PT-200TS",
    "machinery_type_id": 26,
    "workshop_id": 2,
    "status": 2,
    "last_mainten_time": "2026-10-11 17:23:22",
    "last_check_time": "2026-10-11 14:53:58",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 10:50:53",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "2000.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 25,
    "code": "TRT-GZ-SB-013",
    "name": "水浴式灭菌柜",
    "brand": "江苏神农灭菌设备有限公司",
    "specification": "SG-6.0",
    "machinery_type_id": 26,
    "workshop_id": 2,
    "status": 2,
    "last_mainten_time": "2026-10-10 09:36:32",
    "last_check_time": "2026-10-11 13:04:15",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 10:53:09",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "1800.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 26,
    "code": "TRT-GZ-SB-014",
    "name": "翻转吹干机",
    "brand": "上海沃迪智能装备股份有限公司",
    "specification": "TWHEB-19028",
    "machinery_type_id": 26,
    "workshop_id": 2,
    "status": 2,
    "last_mainten_time": "2026-10-09 10:22:59",
    "last_check_time": "2026-10-11 11:02:50",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 10:53:49",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "3600.00",
    "conveyor_belt": 2,
    "workstation_id": null
  },
  {
    "id": 31,
    "code": "TRT-GZ-SB-019",
    "name": "水浴杀菌槽",
    "brand": "上海沃迪智能装备股份有限公司",
    "specification": "TW10C",
    "machinery_type_id": 26,
    "workshop_id": 2,
    "status": 2,
    "last_mainten_time": "2026-10-10 10:51:03",
    "last_check_time": "2026-10-11 16:02:11",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 11:25:07",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "2000.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 32,
    "code": "TRT-GZ-SB-020",
    "name": "三合一玻璃瓶灌装设备",
    "brand": "廊坊市大浩包装机械有限公司",
    "specification": "DGP16/16/6",
    "machinery_type_id": 26,
    "workshop_id": 2,
    "status": 2,
    "last_mainten_time": "2026-10-11 15:38:10",
    "last_check_time": "2026-10-11 11:29:26",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 11:29:14",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "4000.00",
    "conveyor_belt": 2,
    "workstation_id": null
  },
  {
    "id": 34,
    "code": "TRT-GZ-SB-022",
    "name": "均质机",
    "brand": "上海申鹿均质机有限公司",
    "specification": "SRH1000-45",
    "machinery_type_id": 26,
    "workshop_id": 2,
    "status": 2,
    "last_mainten_time": "2026-09-30 17:31:15",
    "last_check_time": "2026-10-11 13:22:42",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 11:32:29",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "3000.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 35,
    "code": "TRT-SP-SB-001",
    "name": "多斗电子组合称",
    "brand": "广州海川智能机械股份有限公司",
    "specification": "AC-6B10-2B",
    "machinery_type_id": 26,
    "workshop_id": 3,
    "status": 2,
    "last_mainten_time": "2026-10-11 15:49:12",
    "last_check_time": "2026-10-12 11:23:43",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 11:35:48",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "2400.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 41,
    "code": "TRT-SP-SB-007",
    "name": "塑料薄膜连续封口机",
    "brand": "华联机械集团",
    "specification": "FRB-7701",
    "machinery_type_id": 26,
    "workshop_id": 3,
    "status": 2,
    "last_mainten_time": "2026-10-11 15:13:58",
    "last_check_time": "2026-10-11 10:26:45",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 11:41:21",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "1800.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 43,
    "code": "TRT-SP-SB-009",
    "name": "微波杀菌机",
    "brand": "杭州多了信电器",
    "specification": "WBSJJ",
    "machinery_type_id": 26,
    "workshop_id": 3,
    "status": 2,
    "last_mainten_time": "2026-10-08 17:03:29",
    "last_check_time": "2026-10-11 08:11:53",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 12:02:30",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "1200.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 44,
    "code": "TRT-SP-SB-010",
    "name": "静电毛发分离器",
    "brand": "大连信达食品机械有限公司",
    "specification": "JF720",
    "machinery_type_id": 26,
    "workshop_id": 3,
    "status": 2,
    "last_mainten_time": "2026-10-11 17:21:07",
    "last_check_time": "2026-10-11 11:42:52",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 12:10:15",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "600.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 45,
    "code": "TRT-SP-SB-011",
    "name": "金属探测器",
    "brand": "上海博文科技",
    "specification": "DF-A",
    "machinery_type_id": 26,
    "workshop_id": 3,
    "status": 2,
    "last_mainten_time": "2026-10-11 15:44:57",
    "last_check_time": "2026-10-11 16:27:36",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 12:28:34",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "3600.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 46,
    "code": "TRT-SP-SB-012",
    "name": "风力选别机",
    "brand": "大连信达食品机械有限公司",
    "specification": "FX700",
    "machinery_type_id": 26,
    "workshop_id": 3,
    "status": 2,
    "last_mainten_time": "2026-10-11 17:27:41",
    "last_check_time": "2026-10-11 14:54:27",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 12:29:08",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "800.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 48,
    "code": "TRT-SP-SB-014",
    "name": "全自动打包机",
    "brand": "/",
    "specification": "MH-101B",
    "machinery_type_id": 26,
    "workshop_id": 3,
    "status": 2,
    "last_mainten_time": "2026-10-08 10:44:50",
    "last_check_time": "2026-10-11 14:46:13",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 12:35:33",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "600.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 49,
    "code": "TRT-SP-SB-015",
    "name": "半自动捆扎机",
    "brand": "/",
    "specification": "AS-13N",
    "machinery_type_id": 26,
    "workshop_id": 3,
    "status": 2,
    "last_mainten_time": "2026-10-08 15:19:59",
    "last_check_time": "2026-10-11 08:53:15",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 12:37:01",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "300.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 53,
    "code": "TRT-SP-SB-019",
    "name": "多斗电子组合称",
    "brand": "江苏南通恒力科技股份有限公司",
    "specification": "ZH-10W",
    "machinery_type_id": 26,
    "workshop_id": 3,
    "status": 2,
    "last_mainten_time": "2026-10-11 09:57:15",
    "last_check_time": "2026-10-12 14:18:52",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 12:47:47",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "3000.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 56,
    "code": "TRT-SP-SB-022",
    "name": "真空包装机",
    "brand": "东莞市埃尔压缩机",
    "specification": "DZ-60012S",
    "machinery_type_id": 26,
    "workshop_id": 3,
    "status": 2,
    "last_mainten_time": "2026-10-11 17:04:22",
    "last_check_time": "2026-10-11 10:56:20",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 13:02:57",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "900.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 84,
    "code": "TRT-GT-SB-012",
    "name": "槽型混合机",
    "brand": "南京福能机械设备有限公司",
    "specification": "CH-100L",
    "machinery_type_id": 26,
    "workshop_id": 5,
    "status": 2,
    "last_mainten_time": "2026-10-11 15:49:29",
    "last_check_time": "2026-10-11 09:58:36",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 14:47:14",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "300.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 86,
    "code": "TRT-GT-SB-014",
    "name": "三维混合机",
    "brand": "南京福能机械设备有限公司",
    "specification": "SYH-200L",
    "machinery_type_id": 26,
    "workshop_id": 5,
    "status": 2,
    "last_mainten_time": "2026-10-11 16:42:38",
    "last_check_time": "2026-10-11 08:39:33",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 14:49:27",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "300.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 92,
    "code": "TRT-TQ-SB-002",
    "name": "提取罐",
    "brand": "浙江天联机械有限公司",
    "specification": "ZG-2.4",
    "machinery_type_id": 26,
    "workshop_id": 6,
    "status": 2,
    "last_mainten_time": "2026-10-11 14:08:05",
    "last_check_time": "2026-10-11 09:54:12",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 15:23:25",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "400.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 93,
    "code": "TRT-TQ-SB-003",
    "name": "提取罐",
    "brand": "浙江天联机械有限公司",
    "specification": "ZG-3.8",
    "machinery_type_id": 26,
    "workshop_id": 6,
    "status": 2,
    "last_mainten_time": "2026-10-11 16:27:16",
    "last_check_time": "2026-10-11 09:57:12",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 15:26:21",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "600.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 124,
    "code": "TRT-SC-SB-001",
    "name": "叉车",
    "brand": "诺力叉车",
    "specification": "3000kg",
    "machinery_type_id": 27,
    "workshop_id": 9,
    "status": 2,
    "last_mainten_time": "2026-10-09 10:28:20",
    "last_check_time": "2026-10-11 08:03:15",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 17:14:23",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "300.00",
    "conveyor_belt": 1,
    "workstation_id": null
  },
  {
    "id": 130,
    "code": "TRT-SC-SB-007",
    "name": "虫草清洗机",
    "brand": "深圳市世铎自动化设备有限公司",
    "specification": "SZSDCCQXG-01",
    "machinery_type_id": 26,
    "workshop_id": 9,
    "status": 2,
    "last_mainten_time": "2026-10-08 09:39:10",
    "last_check_time": "2026-10-11 10:18:27",
    "remark": null,
    "creator": "243",
    "create_time": "2026-09-17 17:45:55",
    "updater": "244",
    "update_time": "2026-10-14 20:25:21",
    "deleted": "b'\\x00'",
    "production_efficiency": "200.00",
    "conveyor_belt": 1,
    "workstation_id": null
  }
]
scripts/schedule-diagnosis-20261015/route-config-plan.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,206 @@
{
  "inputAdded": 6,
  "explicitOutputsAdded": 338,
  "routesToEnable": [
    25,
    27,
    28,
    29,
    30,
    31,
    32,
    57
  ],
  "blockedRoutes": [
    {
      "routeId": 2,
      "routeName": "有机黑果枸杞工艺路线(STP-SG-003-01)",
      "missingProductIds": [
        987,
        988,
        989
      ]
    },
    {
      "routeId": 3,
      "routeName": "黑果枸杞工艺路线(STP-DY-007-00)",
      "missingProductIds": [
        1152,
        1153,
        979,
        1151
      ]
    },
    {
      "routeId": 4,
      "routeName": "冻干枸杞工艺路线(STP-SG-002-04)",
      "missingProductIds": [
        1122,
        974
      ]
    },
    {
      "routeId": 6,
      "routeName": "沙棘原浆罐头工艺路线(瓶装)(STP-GT-015-04)",
      "missingProductIds": [
        985,
        986
      ]
    },
    {
      "routeId": 8,
      "routeName": "黑果枸杞原浆罐头工艺路线(瓶装)(STP-GT-016-04)",
      "missingProductIds": [
        984
      ]
    },
    {
      "routeId": 9,
      "routeName": "即食藜麦粉R型工艺路线(STP-GY-001-06)",
      "missingProductIds": [
        1155
      ]
    },
    {
      "routeId": 10,
      "routeName": "黑果枸杞袋泡茶工艺路线(STP-DY-001-02)",
      "missingProductIds": [
        973
      ]
    },
    {
      "routeId": 11,
      "routeName": "枸杞原浆罐头工艺路线(STP-GT-009-07)",
      "missingProductIds": [
        976,
        1508,
        1509,
        983
      ]
    },
    {
      "routeId": 13,
      "routeName": "黑果枸杞工艺路线(STP-SG-001-09)",
      "missingProductIds": [
        1544,
        975,
        2004
      ]
    },
    {
      "routeId": 14,
      "routeName": "黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05)",
      "missingProductIds": [
        1154
      ]
    },
    {
      "routeId": 26,
      "routeName": "西梅原浆工艺路线(STP-YL-011-00)",
      "missingProductIds": [
        1543
      ]
    },
    {
      "routeId": 40,
      "routeName": "黑果枸杞原浆罐头50ml瓶装工艺路线(STP-GT-016-04)",
      "missingProductIds": [
        1540
      ]
    },
    {
      "routeId": 41,
      "routeName": "有机黑果枸杞小包装产出路线(STP-SG-003-01)",
      "missingProductIds": [
        776,
        1013
      ]
    },
    {
      "routeId": 42,
      "routeName": "黑果枸杞小包装产出路线(STP-DY-007-00)",
      "missingProductIds": [
        860
      ]
    },
    {
      "routeId": 43,
      "routeName": "冻干枸杞小包装产出路线(STP-SG-002-04)",
      "missingProductIds": [
        992
      ]
    },
    {
      "routeId": 44,
      "routeName": "沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04)",
      "missingProductIds": [
        663,
        815,
        639
      ]
    },
    {
      "routeId": 45,
      "routeName": "黑果枸杞原浆罐头(袋装)小包装产出路线(STP-GT-016-04)",
      "missingProductIds": [
        643
      ]
    },
    {
      "routeId": 46,
      "routeName": "黑果枸杞原浆罐头(瓶装)小包装产出路线(STP-GT-016-04)",
      "missingProductIds": [
        1157,
        807
      ]
    },
    {
      "routeId": 47,
      "routeName": "枸杞原浆罐头小包装产出路线(STP-GT-009-07)",
      "missingProductIds": [
        649,
        835,
        811,
        628
      ]
    },
    {
      "routeId": 48,
      "routeName": "黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05)",
      "missingProductIds": [
        963
      ]
    },
    {
      "routeId": 49,
      "routeName": "铁棍山药粉小包装产出路线(STP-FB-005-00)",
      "missingProductIds": [
        613
      ]
    },
    {
      "routeId": 50,
      "routeName": "桑葚原浆(袋装)小包装产出路线(STP-YL-006-00)",
      "missingProductIds": [
        641
      ]
    },
    {
      "routeId": 51,
      "routeName": "益生元西梅饮小包装产出路线(STP-YL-008-00)",
      "missingProductIds": [
        669
      ]
    },
    {
      "routeId": 52,
      "routeName": "西梅原浆小包装产出路线(STP-YL-011-00)",
      "missingProductIds": [
        1158
      ]
    }
  ],
  "missingProductCount": 46,
  "referenceRows": 340,
  "nativeOutputFallback": "多产品共用路线按工单产品产出,避免固定SKU串料"
}
scripts/schedule-diagnosis-20261015/route-material-snapshot.json
¶Ô±ÈÐÂÎļþ
ÎļþÌ«´ó
scripts/schedule-diagnosis-20261015/snapshot.json
¶Ô±ÈÐÂÎļþ
ÎļþÌ«´ó
scripts/schedule-diagnosis-20261015/station-links-before-20261015152951.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,626 @@
[
  {
    "id": 1,
    "workstation_id": 11,
    "machinery_id": 36,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:46:36",
    "updater": "244",
    "update_time": "2026-10-13 11:46:36",
    "deleted": "b'\\x00'"
  },
  {
    "id": 52,
    "workstation_id": 2,
    "machinery_id": 124,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:47:00",
    "updater": "244",
    "update_time": "2026-10-13 11:47:00",
    "deleted": "b'\\x00'"
  },
  {
    "id": 53,
    "workstation_id": 3,
    "machinery_id": 53,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:47:45",
    "updater": "244",
    "update_time": "2026-10-13 11:47:45",
    "deleted": "b'\\x00'"
  },
  {
    "id": 54,
    "workstation_id": 4,
    "machinery_id": 46,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:48:30",
    "updater": "244",
    "update_time": "2026-10-13 11:48:30",
    "deleted": "b'\\x00'"
  },
  {
    "id": 55,
    "workstation_id": 5,
    "machinery_id": 44,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:49:15",
    "updater": "244",
    "update_time": "2026-10-13 11:49:15",
    "deleted": "b'\\x00'"
  },
  {
    "id": 56,
    "workstation_id": 6,
    "machinery_id": 45,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:50:00",
    "updater": "244",
    "update_time": "2026-10-13 11:50:00",
    "deleted": "b'\\x00'"
  },
  {
    "id": 57,
    "workstation_id": 8,
    "machinery_id": 43,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:50:45",
    "updater": "244",
    "update_time": "2026-10-13 11:50:45",
    "deleted": "b'\\x00'"
  },
  {
    "id": 58,
    "workstation_id": 10,
    "machinery_id": 56,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:51:30",
    "updater": "244",
    "update_time": "2026-10-13 11:51:30",
    "deleted": "b'\\x00'"
  },
  {
    "id": 59,
    "workstation_id": 10,
    "machinery_id": 41,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:52:15",
    "updater": "244",
    "update_time": "2026-10-13 11:52:15",
    "deleted": "b'\\x00'"
  },
  {
    "id": 60,
    "workstation_id": 10,
    "machinery_id": 35,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:53:00",
    "updater": "244",
    "update_time": "2026-10-13 11:53:00",
    "deleted": "b'\\x00'"
  },
  {
    "id": 61,
    "workstation_id": 11,
    "machinery_id": 131,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:53:45",
    "updater": "244",
    "update_time": "2026-10-13 11:53:45",
    "deleted": "b'\\x00'"
  },
  {
    "id": 62,
    "workstation_id": 11,
    "machinery_id": 132,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:54:30",
    "updater": "244",
    "update_time": "2026-10-13 11:54:30",
    "deleted": "b'\\x00'"
  },
  {
    "id": 63,
    "workstation_id": 12,
    "machinery_id": 133,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:55:15",
    "updater": "244",
    "update_time": "2026-10-13 11:55:15",
    "deleted": "b'\\x00'"
  },
  {
    "id": 64,
    "workstation_id": 13,
    "machinery_id": 129,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:56:00",
    "updater": "244",
    "update_time": "2026-10-13 11:56:00",
    "deleted": "b'\\x00'"
  },
  {
    "id": 65,
    "workstation_id": 13,
    "machinery_id": 128,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:56:45",
    "updater": "244",
    "update_time": "2026-10-13 11:56:45",
    "deleted": "b'\\x00'"
  },
  {
    "id": 66,
    "workstation_id": 14,
    "machinery_id": 110,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:57:30",
    "updater": "244",
    "update_time": "2026-10-13 11:57:30",
    "deleted": "b'\\x00'"
  },
  {
    "id": 67,
    "workstation_id": 15,
    "machinery_id": 71,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:58:15",
    "updater": "244",
    "update_time": "2026-10-13 11:58:15",
    "deleted": "b'\\x00'"
  },
  {
    "id": 68,
    "workstation_id": 16,
    "machinery_id": 120,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:59:00",
    "updater": "244",
    "update_time": "2026-10-13 11:59:00",
    "deleted": "b'\\x00'"
  },
  {
    "id": 69,
    "workstation_id": 17,
    "machinery_id": 121,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 11:59:45",
    "updater": "244",
    "update_time": "2026-10-13 11:59:45",
    "deleted": "b'\\x00'"
  },
  {
    "id": 70,
    "workstation_id": 18,
    "machinery_id": 30,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:00:30",
    "updater": "244",
    "update_time": "2026-10-13 12:00:30",
    "deleted": "b'\\x00'"
  },
  {
    "id": 71,
    "workstation_id": 19,
    "machinery_id": 13,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:01:15",
    "updater": "244",
    "update_time": "2026-10-13 12:01:15",
    "deleted": "b'\\x00'"
  },
  {
    "id": 72,
    "workstation_id": 20,
    "machinery_id": 15,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:02:00",
    "updater": "244",
    "update_time": "2026-10-13 12:02:00",
    "deleted": "b'\\x00'"
  },
  {
    "id": 73,
    "workstation_id": 21,
    "machinery_id": 14,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:02:45",
    "updater": "244",
    "update_time": "2026-10-13 12:02:45",
    "deleted": "b'\\x00'"
  },
  {
    "id": 74,
    "workstation_id": 22,
    "machinery_id": 34,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:03:30",
    "updater": "244",
    "update_time": "2026-10-13 12:03:30",
    "deleted": "b'\\x00'"
  },
  {
    "id": 75,
    "workstation_id": 23,
    "machinery_id": 31,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:04:15",
    "updater": "244",
    "update_time": "2026-10-13 12:04:15",
    "deleted": "b'\\x00'"
  },
  {
    "id": 76,
    "workstation_id": 24,
    "machinery_id": 18,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:05:00",
    "updater": "244",
    "update_time": "2026-10-13 12:05:00",
    "deleted": "b'\\x00'"
  },
  {
    "id": 77,
    "workstation_id": 24,
    "machinery_id": 32,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:05:45",
    "updater": "244",
    "update_time": "2026-10-13 12:05:45",
    "deleted": "b'\\x00'"
  },
  {
    "id": 78,
    "workstation_id": 25,
    "machinery_id": 25,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:06:30",
    "updater": "244",
    "update_time": "2026-10-13 12:06:30",
    "deleted": "b'\\x00'"
  },
  {
    "id": 79,
    "workstation_id": 26,
    "machinery_id": 21,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:07:15",
    "updater": "244",
    "update_time": "2026-10-13 12:07:15",
    "deleted": "b'\\x00'"
  },
  {
    "id": 80,
    "workstation_id": 26,
    "machinery_id": 26,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:08:00",
    "updater": "244",
    "update_time": "2026-10-13 12:08:00",
    "deleted": "b'\\x00'"
  },
  {
    "id": 81,
    "workstation_id": 27,
    "machinery_id": 20,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:08:45",
    "updater": "244",
    "update_time": "2026-10-13 12:08:45",
    "deleted": "b'\\x00'"
  },
  {
    "id": 82,
    "workstation_id": 28,
    "machinery_id": 68,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:09:30",
    "updater": "244",
    "update_time": "2026-10-13 12:09:30",
    "deleted": "b'\\x00'"
  },
  {
    "id": 83,
    "workstation_id": 29,
    "machinery_id": 114,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:10:15",
    "updater": "244",
    "update_time": "2026-10-13 12:10:15",
    "deleted": "b'\\x00'"
  },
  {
    "id": 84,
    "workstation_id": 30,
    "machinery_id": 84,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:11:00",
    "updater": "244",
    "update_time": "2026-10-13 12:11:00",
    "deleted": "b'\\x00'"
  },
  {
    "id": 85,
    "workstation_id": 30,
    "machinery_id": 86,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:11:45",
    "updater": "244",
    "update_time": "2026-10-13 12:11:45",
    "deleted": "b'\\x00'"
  },
  {
    "id": 86,
    "workstation_id": 32,
    "machinery_id": 109,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:12:30",
    "updater": "244",
    "update_time": "2026-10-13 12:12:30",
    "deleted": "b'\\x00'"
  },
  {
    "id": 87,
    "workstation_id": 33,
    "machinery_id": 61,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:13:15",
    "updater": "244",
    "update_time": "2026-10-13 12:13:15",
    "deleted": "b'\\x00'"
  },
  {
    "id": 88,
    "workstation_id": 34,
    "machinery_id": 85,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:14:00",
    "updater": "244",
    "update_time": "2026-10-13 12:14:00",
    "deleted": "b'\\x00'"
  },
  {
    "id": 89,
    "workstation_id": 35,
    "machinery_id": 115,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:14:45",
    "updater": "244",
    "update_time": "2026-10-13 12:14:45",
    "deleted": "b'\\x00'"
  },
  {
    "id": 90,
    "workstation_id": 36,
    "machinery_id": 23,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:15:30",
    "updater": "244",
    "update_time": "2026-10-13 12:15:30",
    "deleted": "b'\\x00'"
  },
  {
    "id": 91,
    "workstation_id": 37,
    "machinery_id": 113,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:16:15",
    "updater": "244",
    "update_time": "2026-10-13 12:16:15",
    "deleted": "b'\\x00'"
  },
  {
    "id": 92,
    "workstation_id": 38,
    "machinery_id": 100,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:17:00",
    "updater": "244",
    "update_time": "2026-10-13 12:17:00",
    "deleted": "b'\\x00'"
  },
  {
    "id": 93,
    "workstation_id": 39,
    "machinery_id": 10,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:17:45",
    "updater": "244",
    "update_time": "2026-10-13 12:17:45",
    "deleted": "b'\\x00'"
  },
  {
    "id": 94,
    "workstation_id": 40,
    "machinery_id": 92,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:18:30",
    "updater": "244",
    "update_time": "2026-10-13 12:18:30",
    "deleted": "b'\\x00'"
  },
  {
    "id": 95,
    "workstation_id": 41,
    "machinery_id": 93,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:19:15",
    "updater": "244",
    "update_time": "2026-10-13 12:19:15",
    "deleted": "b'\\x00'"
  },
  {
    "id": 96,
    "workstation_id": 44,
    "machinery_id": 94,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:20:00",
    "updater": "244",
    "update_time": "2026-10-13 12:20:00",
    "deleted": "b'\\x00'"
  },
  {
    "id": 97,
    "workstation_id": 45,
    "machinery_id": 97,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:20:45",
    "updater": "244",
    "update_time": "2026-10-13 12:20:45",
    "deleted": "b'\\x00'"
  },
  {
    "id": 98,
    "workstation_id": 45,
    "machinery_id": 98,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:21:30",
    "updater": "244",
    "update_time": "2026-10-13 12:21:30",
    "deleted": "b'\\x00'"
  },
  {
    "id": 99,
    "workstation_id": 46,
    "machinery_id": 99,
    "quantity": 1,
    "remark": null,
    "creator": "244",
    "create_time": "2026-10-13 12:22:15",
    "updater": "244",
    "update_time": "2026-10-13 12:22:15",
    "deleted": "b'\\x00'"
  },
  {
    "id": 100,
    "workstation_id": 1,
    "machinery_id": 130,
    "quantity": 1,
    "remark": null,
    "creator": "1",
    "create_time": "2026-10-15 02:24:11",
    "updater": "1",
    "update_time": "2026-10-15 02:24:11",
    "deleted": "b'\\x00'"
  },
  {
    "id": 101,
    "workstation_id": 7,
    "machinery_id": 49,
    "quantity": 1,
    "remark": null,
    "creator": "1",
    "create_time": "2026-10-15 02:24:11",
    "updater": "1",
    "update_time": "2026-10-15 02:24:11",
    "deleted": "b'\\x00'"
  },
  {
    "id": 102,
    "workstation_id": 9,
    "machinery_id": 48,
    "quantity": 1,
    "remark": null,
    "creator": "1",
    "create_time": "2026-10-15 02:24:11",
    "updater": "1",
    "update_time": "2026-10-15 02:24:11",
    "deleted": "b'\\x00'"
  }
]
scripts/schedule-diagnosis-20261015/verification.json
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,80 @@
{
  "allRoutesEnabled": 57,
  "boundProductsWithInput": 142,
  "explicitOutputProcesses": 338,
  "nativeDefaultOutputProcesses": 356,
  "existingBomAndWorkOrdersPreserved": true,
  "equipmentChecks": [
    {
      "id": 102,
      "code": "WO_20261015001",
      "blockedEquipmentProcesses": []
    },
    {
      "id": 129,
      "code": "WO_20261015004",
      "blockedEquipmentProcesses": []
    },
    {
      "id": 130,
      "code": "WO_20261015005",
      "blockedEquipmentProcesses": []
    },
    {
      "id": 131,
      "code": "WO_20261015006",
      "blockedEquipmentProcesses": []
    },
    {
      "id": 132,
      "code": "WO_20261015007",
      "blockedEquipmentProcesses": []
    },
    {
      "id": 133,
      "code": "WO_20261015008",
      "blockedEquipmentProcesses": []
    },
    {
      "id": 134,
      "code": "WO_20261015009",
      "blockedEquipmentProcesses": []
    },
    {
      "id": 135,
      "code": "WO_20261015010",
      "blockedEquipmentProcesses": []
    },
    {
      "id": 136,
      "code": "WO_20261015011",
      "blockedEquipmentProcesses": []
    },
    {
      "id": 137,
      "code": "WO_20261015012",
      "blockedEquipmentProcesses": []
    },
    {
      "id": 138,
      "code": "WO_20261015013",
      "blockedEquipmentProcesses": []
    },
    {
      "id": 139,
      "code": "WO_20261015014",
      "blockedEquipmentProcesses": []
    },
    {
      "id": 140,
      "code": "WO_20261015015",
      "blockedEquipmentProcesses": []
    },
    {
      "id": 141,
      "code": "WO_20261015016",
      "blockedEquipmentProcesses": []
    }
  ],
  "scope": "数据库读回及资源前置条件核验,未执行实际排产或线上HTTP预览"
}
scripts/schedule-diagnosis-20261015/ͶÈëÅäÖòο¼Çåµ¥.csv
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,341 @@
routeId,routeName,productId,productName,specification,sourceProductId,sourceProductName,sourceSpecification,materialId,materialName,sourceQuantity,review
2,有机黑果枸杞工艺路线(STP-SG-003-01),987,有机黑果枸杞,48克(4克×12),524,有机黑枸杞,48克,630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),987,有机黑果枸杞,48克(4克×12),524,有机黑枸杞,48克,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),987,有机黑果枸杞,48克(4克×12),524,有机黑枸杞,48克,775,有机认证标签,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),987,有机黑果枸杞,48克(4克×12),524,有机黑枸杞,48克,776,有机黑果枸杞-4克,12.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),987,有机黑果枸杞,48克(4克×12),524,有机黑枸杞,48克,777,金标黑枸杞小罐12罐装亚克力盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),987,有机黑果枸杞,48克(4克×12),524,有机黑枸杞,48克,778,金标黑枸杞小罐装饰贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),987,有机黑果枸杞,48克(4克×12),524,有机黑枸杞,48克,779,有机黑果枸杞标签贴,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),987,有机黑果枸杞,48克(4克×12),524,有机黑枸杞,48克,780,12罐小罐茶金色保护盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),987,有机黑果枸杞,48克(4克×12),524,有机黑枸杞,48克,781,12罐小罐茶金色内托贴纸,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),988,有机黑果枸杞,80克(4克×20),525,有机黑枸杞,80克,630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),988,有机黑果枸杞,80克(4克×20),525,有机黑枸杞,80克,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),988,有机黑果枸杞,80克(4克×20),525,有机黑枸杞,80克,775,有机认证标签,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),988,有机黑果枸杞,80克(4克×20),525,有机黑枸杞,80克,776,有机黑果枸杞-4克,20.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),988,有机黑果枸杞,80克(4克×20),525,有机黑枸杞,80克,778,金标黑枸杞小罐装饰贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),988,有机黑果枸杞,80克(4克×20),525,有机黑枸杞,80克,782,有机黑果枸杞标签贴,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),988,有机黑果枸杞,80克(4克×20),525,有机黑枸杞,80克,783,20罐小罐茶上盖,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),988,有机黑果枸杞,80克(4克×20),525,有机黑枸杞,80克,784,20罐小罐茶底托,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),988,有机黑果枸杞,80克(4克×20),525,有机黑枸杞,80克,785,20罐装泡棉内托,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),988,有机黑果枸杞,80克(4克×20),525,有机黑枸杞,80克,786,20罐小罐茶金色保护盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),988,有机黑果枸杞,80克(4克×20),525,有机黑枸杞,80克,787,20罐小罐茶金色内托贴纸,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),988,有机黑果枸杞,80克(4克×20),525,有机黑枸杞,80克,788,小罐茶封套加贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),989,有机黑果枸杞,120克(4克×30),526,有机黑枸杞-120,,610,质量保障防伪贴小号-圆25MM,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),989,有机黑果枸杞,120克(4克×30),526,有机黑枸杞-120,,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),989,有机黑果枸杞,120克(4克×30),526,有机黑枸杞-120,,775,有机认证标签,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),989,有机黑果枸杞,120克(4克×30),526,有机黑枸杞-120,,776,有机黑果枸杞-4克,30.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),989,有机黑果枸杞,120克(4克×30),526,有机黑枸杞-120,,778,金标黑枸杞小罐装饰贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),989,有机黑果枸杞,120克(4克×30),526,有机黑枸杞-120,,789,有机黑果枸杞标签贴,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
2,有机黑果枸杞工艺路线(STP-SG-003-01),989,有机黑果枸杞,120克(4克×30),526,有机黑枸杞-120,,790,有机黑果枸杞外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1152,黑果枸杞-金标小罐装(内购专用),80g(4g/罐×20),541,黑果枸杞,80克,630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1152,黑果枸杞-金标小罐装(内购专用),80g(4g/罐×20),541,黑果枸杞,80克,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1152,黑果枸杞-金标小罐装(内购专用),80g(4g/罐×20),541,黑果枸杞,80克,778,金标黑枸杞小罐装饰贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1152,黑果枸杞-金标小罐装(内购专用),80g(4g/罐×20),541,黑果枸杞,80克,783,20罐小罐茶上盖,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1152,黑果枸杞-金标小罐装(内购专用),80g(4g/罐×20),541,黑果枸杞,80克,784,20罐小罐茶底托,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1152,黑果枸杞-金标小罐装(内购专用),80g(4g/罐×20),541,黑果枸杞,80克,785,20罐装泡棉内托,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1152,黑果枸杞-金标小罐装(内购专用),80g(4g/罐×20),541,黑果枸杞,80克,786,20罐小罐茶金色保护盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1152,黑果枸杞-金标小罐装(内购专用),80g(4g/罐×20),541,黑果枸杞,80克,787,20罐小罐茶金色内托贴纸,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1152,黑果枸杞-金标小罐装(内购专用),80g(4g/罐×20),541,黑果枸杞,80克,788,小罐茶封套加贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1152,黑果枸杞-金标小罐装(内购专用),80g(4g/罐×20),541,黑果枸杞,80克,858,防伪溯源二维码标识(圆形)-直径3cm,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1152,黑果枸杞-金标小罐装(内购专用),80g(4g/罐×20),541,黑果枸杞,80克,859,防伪溯源二维码标识(长方形)-3cm*2cm,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1152,黑果枸杞-金标小罐装(内购专用),80g(4g/罐×20),541,黑果枸杞,80克,860,黑果枸杞-4克,20.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1152,黑果枸杞-金标小罐装(内购专用),80g(4g/罐×20),541,黑果枸杞,80克,861,20罐装黑枸杞小罐茶底贴,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1152,黑果枸杞-金标小罐装(内购专用),80g(4g/罐×20),541,黑果枸杞,80克,862,20罐小罐茶纸箱,0.100000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1152,黑果枸杞-金标小罐装(内购专用),80g(4g/罐×20),541,黑果枸杞,80克,863,20罐小罐茶纸箱垫板,0.200000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1153,黑果枸杞-金标小罐装(内购专用),48g(4g/罐×12),540,黑果枸杞,48克,630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1153,黑果枸杞-金标小罐装(内购专用),48g(4g/罐×12),540,黑果枸杞,48克,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1153,黑果枸杞-金标小罐装(内购专用),48g(4g/罐×12),540,黑果枸杞,48克,777,金标黑枸杞小罐12罐装亚克力盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1153,黑果枸杞-金标小罐装(内购专用),48g(4g/罐×12),540,黑果枸杞,48克,778,金标黑枸杞小罐装饰贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1153,黑果枸杞-金标小罐装(内购专用),48g(4g/罐×12),540,黑果枸杞,48克,780,12罐小罐茶金色保护盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1153,黑果枸杞-金标小罐装(内购专用),48g(4g/罐×12),540,黑果枸杞,48克,781,12罐小罐茶金色内托贴纸,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1153,黑果枸杞-金标小罐装(内购专用),48g(4g/罐×12),540,黑果枸杞,48克,788,小罐茶封套加贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1153,黑果枸杞-金标小罐装(内购专用),48g(4g/罐×12),540,黑果枸杞,48克,857,12罐装黑枸杞小罐茶底贴,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1153,黑果枸杞-金标小罐装(内购专用),48g(4g/罐×12),540,黑果枸杞,48克,858,防伪溯源二维码标识(圆形)-直径3cm,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1153,黑果枸杞-金标小罐装(内购专用),48g(4g/罐×12),540,黑果枸杞,48克,859,防伪溯源二维码标识(长方形)-3cm*2cm,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1153,黑果枸杞-金标小罐装(内购专用),48g(4g/罐×12),540,黑果枸杞,48克,860,黑果枸杞-4克,12.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),979,黑果枸杞,180克(90克×2),484,黑果枸杞,200克(100克*2),560,黑果枸杞带柄-中果,0.202000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),979,黑果枸杞,180克(90克×2),484,黑果枸杞,200克(100克*2),561,亚克力瓶,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),979,黑果枸杞,180克(90克×2),484,黑果枸杞,200克(100克*2),562,青源堂黑果枸杞特级 ç“¶è´´,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),979,黑果枸杞,180克(90克×2),484,黑果枸杞,200克(100克*2),563,青源堂黑果枸杞特级 ç¡«é…¸çº¸,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),979,黑果枸杞,180克(90克×2),484,黑果枸杞,200克(100克*2),564,青源堂黑果枸杞特级 å‰ç¥¥å¦‚意贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),979,黑果枸杞,180克(90克×2),484,黑果枸杞,200克(100克*2),565,青源堂黑果枸杞特级 ç¤¼ç›’,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),979,黑果枸杞,180克(90克×2),484,黑果枸杞,200克(100克*2),566,青源堂黑果枸杞特级 ç‰©æµç®±,0.084000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),979,黑果枸杞,180克(90克×2),484,黑果枸杞,200克(100克*2),567,青源堂黑果枸杞特级 åž«æ¿,0.167000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1151,黑果枸杞-金标小罐装(内购专用),120g(4g/罐×30),962,黑果枸杞(传渠),120克,630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1151,黑果枸杞-金标小罐装(内购专用),120g(4g/罐×30),962,黑果枸杞(传渠),120克,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1151,黑果枸杞-金标小罐装(内购专用),120g(4g/罐×30),962,黑果枸杞(传渠),120克,778,金标黑枸杞小罐装饰贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1151,黑果枸杞-金标小罐装(内购专用),120g(4g/罐×30),962,黑果枸杞(传渠),120克,788,小罐茶封套加贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1151,黑果枸杞-金标小罐装(内购专用),120g(4g/罐×30),962,黑果枸杞(传渠),120克,858,防伪溯源二维码标识(圆形)-直径3cm,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1151,黑果枸杞-金标小罐装(内购专用),120g(4g/罐×30),962,黑果枸杞(传渠),120克,859,防伪溯源二维码标识(长方形)-3cm*2cm,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1151,黑果枸杞-金标小罐装(内购专用),120g(4g/罐×30),962,黑果枸杞(传渠),120克,860,黑果枸杞-4克,30.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1151,黑果枸杞-金标小罐装(内购专用),120g(4g/罐×30),962,黑果枸杞(传渠),120克,864,30罐小罐茶上盖,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1151,黑果枸杞-金标小罐装(内购专用),120g(4g/罐×30),962,黑果枸杞(传渠),120克,865,30罐小罐茶底托,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1151,黑果枸杞-金标小罐装(内购专用),120g(4g/罐×30),962,黑果枸杞(传渠),120克,866,30罐装泡棉内托,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1151,黑果枸杞-金标小罐装(内购专用),120g(4g/罐×30),962,黑果枸杞(传渠),120克,867,30罐装黑枸杞小罐茶底贴,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1151,黑果枸杞-金标小罐装(内购专用),120g(4g/罐×30),962,黑果枸杞(传渠),120克,868,藜麦专用大箱,0.167000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1151,黑果枸杞-金标小罐装(内购专用),120g(4g/罐×30),962,黑果枸杞(传渠),120克,869,藜麦专用大箱垫板,0.330000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1151,黑果枸杞-金标小罐装(内购专用),120g(4g/罐×30),962,黑果枸杞(传渠),120克,870,30罐小罐茶金色保护盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
3,黑果枸杞工艺路线(STP-DY-007-00),1151,黑果枸杞-金标小罐装(内购专用),120g(4g/罐×30),962,黑果枸杞(传渠),120克,871,30罐小罐茶金色内托贴纸,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
4,冻干枸杞工艺路线(STP-SG-002-04),1122,冻干枸杞(金标)(内购专用),,523,冻干枸杞,200克,771,冻干红枸杞天地盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
4,冻干枸杞工艺路线(STP-SG-002-04),1122,冻干枸杞(金标)(内购专用),,523,冻干枸杞,200克,772,冻干枸杞金标8g铝箔袋,25.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
4,冻干枸杞工艺路线(STP-SG-002-04),1122,冻干枸杞(金标)(内购专用),,523,冻干枸杞,200克,773,冻干红枸杞-kg,0.210000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
4,冻干枸杞工艺路线(STP-SG-002-04),1122,冻干枸杞(金标)(内购专用),,523,冻干枸杞,200克,630,质量保障防伪贴大号-圆42MM,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
4,冻干枸杞工艺路线(STP-SG-002-04),1122,冻干枸杞(金标)(内购专用),,523,冻干枸杞,200克,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
4,冻干枸杞工艺路线(STP-SG-002-04),974,冻干枸杞,200g/盒(8g/袋×25),523,冻干枸杞,200克,771,冻干红枸杞天地盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
4,冻干枸杞工艺路线(STP-SG-002-04),974,冻干枸杞,200g/盒(8g/袋×25),523,冻干枸杞,200克,772,冻干枸杞金标8g铝箔袋,25.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
4,冻干枸杞工艺路线(STP-SG-002-04),974,冻干枸杞,200g/盒(8g/袋×25),523,冻干枸杞,200克,773,冻干红枸杞-kg,0.210000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
4,冻干枸杞工艺路线(STP-SG-002-04),974,冻干枸杞,200g/盒(8g/袋×25),523,冻干枸杞,200克,630,质量保障防伪贴大号-圆42MM,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
4,冻干枸杞工艺路线(STP-SG-002-04),974,冻干枸杞,200g/盒(8g/袋×25),523,冻干枸杞,200克,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
6,沙棘原浆罐头工艺路线(瓶装)(STP-GT-015-04),985,沙棘原浆罐头,360ml(60ml*6瓶/盒),534,沙棘原浆,360ml,610,质量保障防伪贴小号-圆25MM,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
6,沙棘原浆罐头工艺路线(瓶装)(STP-GT-015-04),985,沙棘原浆罐头,360ml(60ml*6瓶/盒),534,沙棘原浆,360ml,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
6,沙棘原浆罐头工艺路线(瓶装)(STP-GT-015-04),985,沙棘原浆罐头,360ml(60ml*6瓶/盒),534,沙棘原浆,360ml,815,沙棘原浆-60ml,6.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
6,沙棘原浆罐头工艺路线(瓶装)(STP-GT-015-04),985,沙棘原浆罐头,360ml(60ml*6瓶/盒),534,沙棘原浆,360ml,816,沙棘原浆罐头6瓶装外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
6,沙棘原浆罐头工艺路线(瓶装)(STP-GT-015-04),986,沙棘原浆罐头,1.44L(60ml*24瓶/盒),533,沙棘原浆,1.44L,630,质量保障防伪贴大号-圆42MM,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
6,沙棘原浆罐头工艺路线(瓶装)(STP-GT-015-04),986,沙棘原浆罐头,1.44L(60ml*24瓶/盒),533,沙棘原浆,1.44L,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
6,沙棘原浆罐头工艺路线(瓶装)(STP-GT-015-04),986,沙棘原浆罐头,1.44L(60ml*24瓶/盒),533,沙棘原浆,1.44L,813,沙棘原浆罐头24瓶装外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
6,沙棘原浆罐头工艺路线(瓶装)(STP-GT-015-04),986,沙棘原浆罐头,1.44L(60ml*24瓶/盒),533,沙棘原浆,1.44L,814,沙棘原浆罐头24瓶-标签贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
6,沙棘原浆罐头工艺路线(瓶装)(STP-GT-015-04),986,沙棘原浆罐头,1.44L(60ml*24瓶/盒),533,沙棘原浆,1.44L,815,沙棘原浆-60ml,24.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
8,黑果枸杞原浆罐头工艺路线(瓶装)(STP-GT-016-04),984,黑果枸杞原浆罐头,1.44L(60ml*24瓶/盒),529,黑枸杞原浆,1.44L,630,质量保障防伪贴大号-圆42MM,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
8,黑果枸杞原浆罐头工艺路线(瓶装)(STP-GT-016-04),984,黑果枸杞原浆罐头,1.44L(60ml*24瓶/盒),529,黑枸杞原浆,1.44L,805,黑果枸杞原浆罐头24瓶装外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
8,黑果枸杞原浆罐头工艺路线(瓶装)(STP-GT-016-04),984,黑果枸杞原浆罐头,1.44L(60ml*24瓶/盒),529,黑枸杞原浆,1.44L,806,黑果枸杞原浆罐头24瓶-标签贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
8,黑果枸杞原浆罐头工艺路线(瓶装)(STP-GT-016-04),984,黑果枸杞原浆罐头,1.44L(60ml*24瓶/盒),529,黑枸杞原浆,1.44L,807,黑枸杞原浆-60ml,24.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,671,木糖醇,0.091035,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,817,即食藜麦粉R型复合膜,0.034000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,818,全脂奶粉,113.715000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,819,即食藜麦粉R款,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,820,代餐粉桶装格挡,0.125000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,821,黑红枸杞通用箱,0.125000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,822,白芸豆提取物-KG,15.750000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,823,黑红枸杞通用箱垫片,0.250000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,824,薏米粉,34.020000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,825,红豆粉末香精,1.134000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,826,鲜奶精粉末,0.226800,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,827,藜麦粉,45.510000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,828,圆苞车前子壳,34.146000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,829,红豆粉(熟),45.517000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,830,麦芽糊精,45.517000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
9,即食藜麦粉R型工艺路线(STP-GY-001-06),1155,即食藜麦粉R型(内购专用),450g(30g×15),535,即食藜麦粉,450克,831,燕麦粉,45.517000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
10,黑果枸杞袋泡茶工艺路线(STP-DY-001-02),973,黑果枸杞袋泡茶,60g(2g/袋*30),528,袋泡茶,60克,610,质量保障防伪贴小号-圆25MM,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
10,黑果枸杞袋泡茶工艺路线(STP-DY-001-02),973,黑果枸杞袋泡茶,60g(2g/袋*30),528,袋泡茶,60克,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
10,黑果枸杞袋泡茶工艺路线(STP-DY-001-02),973,黑果枸杞袋泡茶,60g(2g/袋*30),528,袋泡茶,60克,799,黑果枸杞半成品-带柄,0.066000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
10,黑果枸杞袋泡茶工艺路线(STP-DY-001-02),973,黑果枸杞袋泡茶,60g(2g/袋*30),528,袋泡茶,60克,800,黑枸杞铁盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
10,黑果枸杞袋泡茶工艺路线(STP-DY-001-02),973,黑果枸杞袋泡茶,60g(2g/袋*30),528,袋泡茶,60克,801,袋泡茶饮滤膜PLA带火漆印-160mm,31.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
10,黑果枸杞袋泡茶工艺路线(STP-DY-001-02),973,黑果枸杞袋泡茶,60g(2g/袋*30),528,袋泡茶,60克,802,黑枸杞袋泡茶复合膜,0.055000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
10,黑果枸杞袋泡茶工艺路线(STP-DY-001-02),973,黑果枸杞袋泡茶,60g(2g/袋*30),528,袋泡茶,60克,803,黑果枸杞礼盒外箱,0.083000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
10,黑果枸杞袋泡茶工艺路线(STP-DY-001-02),973,黑果枸杞袋泡茶,60g(2g/袋*30),528,袋泡茶,60克,804,黑果枸杞礼盒 åž«ç‰‡,0.250000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),976,枸杞原浆罐头,900ml(30ml/袋×30),536,枸杞原浆,900ml,630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),976,枸杞原浆罐头,900ml(30ml/袋×30),536,枸杞原浆,900ml,832,枸杞原浆罐头盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),976,枸杞原浆罐头,900ml(30ml/袋×30),536,枸杞原浆,900ml,833,枸杞原浆罐头标签,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),976,枸杞原浆罐头,900ml(30ml/袋×30),536,枸杞原浆,900ml,834,0.4MM厚PET胶盖,3.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),976,枸杞原浆罐头,900ml(30ml/袋×30),536,枸杞原浆,900ml,835,枸杞原浆-30ml(传渠),30.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),1508,枸杞原浆罐头,900ml(30ml×30袋),536,枸杞原浆,900ml,630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),1508,枸杞原浆罐头,900ml(30ml×30袋),536,枸杞原浆,900ml,832,枸杞原浆罐头盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),1508,枸杞原浆罐头,900ml(30ml×30袋),536,枸杞原浆,900ml,833,枸杞原浆罐头标签,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),1508,枸杞原浆罐头,900ml(30ml×30袋),536,枸杞原浆,900ml,834,0.4MM厚PET胶盖,3.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),1508,枸杞原浆罐头,900ml(30ml×30袋),536,枸杞原浆,900ml,835,枸杞原浆-30ml(传渠),30.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),1509,枸杞原浆罐头(散货),900ml(30ml×30),536,枸杞原浆,900ml,630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),1509,枸杞原浆罐头(散货),900ml(30ml×30),536,枸杞原浆,900ml,832,枸杞原浆罐头盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),1509,枸杞原浆罐头(散货),900ml(30ml×30),536,枸杞原浆,900ml,833,枸杞原浆罐头标签,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),1509,枸杞原浆罐头(散货),900ml(30ml×30),536,枸杞原浆,900ml,834,0.4MM厚PET胶盖,3.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),1509,枸杞原浆罐头(散货),900ml(30ml×30),536,枸杞原浆,900ml,835,枸杞原浆-30ml(传渠),30.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),983,枸杞原浆罐头,1.44L(60ml*24瓶/盒),531,枸杞原浆,1.44L,630,质量保障防伪贴大号-圆42MM,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),983,枸杞原浆罐头,1.44L(60ml*24瓶/盒),531,枸杞原浆,1.44L,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),983,枸杞原浆罐头,1.44L(60ml*24瓶/盒),531,枸杞原浆,1.44L,809,枸杞原浆罐头24瓶-标签贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),983,枸杞原浆罐头,1.44L(60ml*24瓶/盒),531,枸杞原浆,1.44L,810,枸杞原浆罐头24瓶装外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
11,枸杞原浆罐头工艺路线(STP-GT-009-07),983,枸杞原浆罐头,1.44L(60ml*24瓶/盒),531,枸杞原浆,1.44L,811,枸杞原浆-60ml,24.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),1544,黑果枸杞,150克,484,黑果枸杞,200克(100克*2),560,黑果枸杞带柄-中果,0.202000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),1544,黑果枸杞,150克,484,黑果枸杞,200克(100克*2),561,亚克力瓶,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),1544,黑果枸杞,150克,484,黑果枸杞,200克(100克*2),562,青源堂黑果枸杞特级 ç“¶è´´,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),1544,黑果枸杞,150克,484,黑果枸杞,200克(100克*2),563,青源堂黑果枸杞特级 ç¡«é…¸çº¸,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),1544,黑果枸杞,150克,484,黑果枸杞,200克(100克*2),564,青源堂黑果枸杞特级 å‰ç¥¥å¦‚意贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),1544,黑果枸杞,150克,484,黑果枸杞,200克(100克*2),565,青源堂黑果枸杞特级 ç¤¼ç›’,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),1544,黑果枸杞,150克,484,黑果枸杞,200克(100克*2),566,青源堂黑果枸杞特级 ç‰©æµç®±,0.084000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),1544,黑果枸杞,150克,484,黑果枸杞,200克(100克*2),567,青源堂黑果枸杞特级 åž«æ¿,0.167000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),975,黑果枸杞,120g/盒(60g/瓶*2),484,黑果枸杞,200克(100克*2),560,黑果枸杞带柄-中果,0.202000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),975,黑果枸杞,120g/盒(60g/瓶*2),484,黑果枸杞,200克(100克*2),561,亚克力瓶,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),975,黑果枸杞,120g/盒(60g/瓶*2),484,黑果枸杞,200克(100克*2),562,青源堂黑果枸杞特级 ç“¶è´´,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),975,黑果枸杞,120g/盒(60g/瓶*2),484,黑果枸杞,200克(100克*2),563,青源堂黑果枸杞特级 ç¡«é…¸çº¸,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),975,黑果枸杞,120g/盒(60g/瓶*2),484,黑果枸杞,200克(100克*2),564,青源堂黑果枸杞特级 å‰ç¥¥å¦‚意贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),975,黑果枸杞,120g/盒(60g/瓶*2),484,黑果枸杞,200克(100克*2),565,青源堂黑果枸杞特级 ç¤¼ç›’,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),975,黑果枸杞,120g/盒(60g/瓶*2),484,黑果枸杞,200克(100克*2),566,青源堂黑果枸杞特级 ç‰©æµç®±,0.084000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),975,黑果枸杞,120g/盒(60g/瓶*2),484,黑果枸杞,200克(100克*2),567,青源堂黑果枸杞特级 åž«æ¿,0.167000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),2004,黑果枸杞-90克,90克,484,黑果枸杞,200克(100克*2),560,黑果枸杞带柄-中果,0.202000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),2004,黑果枸杞-90克,90克,484,黑果枸杞,200克(100克*2),561,亚克力瓶,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),2004,黑果枸杞-90克,90克,484,黑果枸杞,200克(100克*2),562,青源堂黑果枸杞特级 ç“¶è´´,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),2004,黑果枸杞-90克,90克,484,黑果枸杞,200克(100克*2),563,青源堂黑果枸杞特级 ç¡«é…¸çº¸,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),2004,黑果枸杞-90克,90克,484,黑果枸杞,200克(100克*2),564,青源堂黑果枸杞特级 å‰ç¥¥å¦‚意贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),2004,黑果枸杞-90克,90克,484,黑果枸杞,200克(100克*2),565,青源堂黑果枸杞特级 ç¤¼ç›’,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),2004,黑果枸杞-90克,90克,484,黑果枸杞,200克(100克*2),566,青源堂黑果枸杞特级 ç‰©æµç®±,0.084000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
13,黑果枸杞工艺路线(STP-SG-001-09),2004,黑果枸杞-90克,90克,484,黑果枸杞,200克(100克*2),567,青源堂黑果枸杞特级 åž«æ¿,0.167000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,671,木糖醇,0.054000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,681,柠檬酸,0.002143,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,834,0.4MM厚PET胶盖,3.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,836,二级半成品-去柄(种植),0.042900,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,837,血橙萃取粉C8P50,3.570000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,838,重瓣红玫瑰花粉,1.071000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,839,复合增稠剂,7.500000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,840,浓缩水蜜桃汁,142.800000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,841,蓝莓,0.714000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,842,NFT树莓,0.536000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,843,玫瑰香精,0.536000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,844,草莓,0.714000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,845,海洋鱼皮胶原蛋白低聚肽粉,0.178600,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,846,黑果枸杞玫瑰果膏复合膜,174.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,847,黑果枸杞玫瑰果膏盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
14,黑果枸杞玫瑰果膏工艺路线(STP-GT-010-05),1154,黑果枸杞玫瑰果膏(内购专用),900ml(30ml/袋×30),537,玫瑰果膏,900ml,848,黑果枸杞玫瑰果膏标签,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
17,桑葚原浆工艺路线(瓶装)(STP-YL-006-00),2006,桑椹原浆,500ml(50ml*10),501,桑葚原浆,300ml,610,质量保障防伪贴小号-圆25MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
17,桑葚原浆工艺路线(瓶装)(STP-YL-006-00),2006,桑椹原浆,500ml(50ml*10),501,桑葚原浆,300ml,626,造养青年-沙棘原浆-300ml(*10袋)外箱,0.028000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
17,桑葚原浆工艺路线(瓶装)(STP-YL-006-00),2006,桑椹原浆,500ml(50ml*10),501,桑葚原浆,300ml,627,造养青年-沙棘原浆-300ml(*10袋)外箱垫板,0.050000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
17,桑葚原浆工艺路线(瓶装)(STP-YL-006-00),2006,桑椹原浆,500ml(50ml*10),501,桑葚原浆,300ml,640,青源堂-桑葚原浆外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
17,桑葚原浆工艺路线(瓶装)(STP-YL-006-00),2006,桑椹原浆,500ml(50ml*10),501,桑葚原浆,300ml,641,桑葚原浆-30ml,10.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
18,红黑枸杞原浆工艺路线(STP-YL-016-00),1510,黑红枸杞原浆-30ml,30ml,514,红黑枸杞原浆,300ml,610,质量保障防伪贴小号-圆25MM,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
18,红黑枸杞原浆工艺路线(STP-YL-016-00),1510,黑红枸杞原浆-30ml,30ml,514,红黑枸杞原浆,300ml,626,造养青年-沙棘原浆-300ml(*10袋)外箱,0.027000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
18,红黑枸杞原浆工艺路线(STP-YL-016-00),1510,黑红枸杞原浆-30ml,30ml,514,红黑枸杞原浆,300ml,627,造养青年-沙棘原浆-300ml(*10袋)外箱垫板,0.055000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
18,红黑枸杞原浆工艺路线(STP-YL-016-00),1510,黑红枸杞原浆-30ml,30ml,514,红黑枸杞原浆,300ml,658,黑果枸杞原浆,0.199000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
18,红黑枸杞原浆工艺路线(STP-YL-016-00),1510,黑红枸杞原浆-30ml,30ml,514,红黑枸杞原浆,300ml,690,鲜枸杞汁,0.133000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
18,红黑枸杞原浆工艺路线(STP-YL-016-00),1510,黑红枸杞原浆-30ml,30ml,514,红黑枸杞原浆,300ml,691,红黑枸杞原浆300ml(30ml×10袋)复合膜,0.060000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
18,红黑枸杞原浆工艺路线(STP-YL-016-00),1510,黑红枸杞原浆-30ml,30ml,514,红黑枸杞原浆,300ml,692,红黑枸杞原浆外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
26,西梅原浆工艺路线(STP-YL-011-00),1543,西梅原浆,300m1(30mlx10),520,西梅原浆,,610,质量保障防伪贴小号-圆25MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
26,西梅原浆工艺路线(STP-YL-011-00),1543,西梅原浆,300m1(30mlx10),520,西梅原浆,,626,造养青年-沙棘原浆-300ml(*10袋)外箱,0.028000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
26,西梅原浆工艺路线(STP-YL-011-00),1543,西梅原浆,300m1(30mlx10),520,西梅原浆,,627,造养青年-沙棘原浆-300ml(*10袋)外箱垫板,0.056000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
26,西梅原浆工艺路线(STP-YL-011-00),1543,西梅原浆,300m1(30mlx10),520,西梅原浆,,736,西梅原浆(原料),0.331000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
26,西梅原浆工艺路线(STP-YL-011-00),1543,西梅原浆,300m1(30mlx10),520,西梅原浆,,737,西梅原浆复合膜,57.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
26,西梅原浆工艺路线(STP-YL-011-00),1543,西梅原浆,300m1(30mlx10),520,西梅原浆,,738,西梅原浆外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
40,黑果枸杞原浆罐头50ml瓶装工艺路线(STP-GT-016-04),1540,黑果枸杞原浆,500mL(50mlx10瓶),529,黑枸杞原浆,1.44L,630,质量保障防伪贴大号-圆42MM,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
40,黑果枸杞原浆罐头50ml瓶装工艺路线(STP-GT-016-04),1540,黑果枸杞原浆,500mL(50mlx10瓶),529,黑枸杞原浆,1.44L,805,黑果枸杞原浆罐头24瓶装外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
40,黑果枸杞原浆罐头50ml瓶装工艺路线(STP-GT-016-04),1540,黑果枸杞原浆,500mL(50mlx10瓶),529,黑枸杞原浆,1.44L,806,黑果枸杞原浆罐头24瓶-标签贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
40,黑果枸杞原浆罐头50ml瓶装工艺路线(STP-GT-016-04),1540,黑果枸杞原浆,500mL(50mlx10瓶),529,黑枸杞原浆,1.44L,807,黑枸杞原浆-60ml,24.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),776,有机黑果枸杞-4克,4克/罐,524,有机黑枸杞,48克,630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),776,有机黑果枸杞-4克,4克/罐,524,有机黑枸杞,48克,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),776,有机黑果枸杞-4克,4克/罐,524,有机黑枸杞,48克,775,有机认证标签,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),776,有机黑果枸杞-4克,4克/罐,524,有机黑枸杞,48克,776,有机黑果枸杞-4克,12.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),776,有机黑果枸杞-4克,4克/罐,524,有机黑枸杞,48克,777,金标黑枸杞小罐12罐装亚克力盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),776,有机黑果枸杞-4克,4克/罐,524,有机黑枸杞,48克,778,金标黑枸杞小罐装饰贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),776,有机黑果枸杞-4克,4克/罐,524,有机黑枸杞,48克,779,有机黑果枸杞标签贴,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),776,有机黑果枸杞-4克,4克/罐,524,有机黑枸杞,48克,780,12罐小罐茶金色保护盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),776,有机黑果枸杞-4克,4克/罐,524,有机黑枸杞,48克,781,12罐小罐茶金色内托贴纸,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),1013,有机黑果枸杞,4克,524,有机黑枸杞,48克,630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),1013,有机黑果枸杞,4克,524,有机黑枸杞,48克,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),1013,有机黑果枸杞,4克,524,有机黑枸杞,48克,775,有机认证标签,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),1013,有机黑果枸杞,4克,524,有机黑枸杞,48克,776,有机黑果枸杞-4克,12.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),1013,有机黑果枸杞,4克,524,有机黑枸杞,48克,777,金标黑枸杞小罐12罐装亚克力盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),1013,有机黑果枸杞,4克,524,有机黑枸杞,48克,778,金标黑枸杞小罐装饰贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),1013,有机黑果枸杞,4克,524,有机黑枸杞,48克,779,有机黑果枸杞标签贴,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),1013,有机黑果枸杞,4克,524,有机黑枸杞,48克,780,12罐小罐茶金色保护盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
41,有机黑果枸杞小包装产出路线(STP-SG-003-01),1013,有机黑果枸杞,4克,524,有机黑枸杞,48克,781,12罐小罐茶金色内托贴纸,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
42,黑果枸杞小包装产出路线(STP-DY-007-00),860,黑果枸杞-4克,4g/罐,540,黑果枸杞,48克,630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
42,黑果枸杞小包装产出路线(STP-DY-007-00),860,黑果枸杞-4克,4g/罐,540,黑果枸杞,48克,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
42,黑果枸杞小包装产出路线(STP-DY-007-00),860,黑果枸杞-4克,4g/罐,540,黑果枸杞,48克,777,金标黑枸杞小罐12罐装亚克力盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
42,黑果枸杞小包装产出路线(STP-DY-007-00),860,黑果枸杞-4克,4g/罐,540,黑果枸杞,48克,778,金标黑枸杞小罐装饰贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
42,黑果枸杞小包装产出路线(STP-DY-007-00),860,黑果枸杞-4克,4g/罐,540,黑果枸杞,48克,780,12罐小罐茶金色保护盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
42,黑果枸杞小包装产出路线(STP-DY-007-00),860,黑果枸杞-4克,4g/罐,540,黑果枸杞,48克,781,12罐小罐茶金色内托贴纸,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
42,黑果枸杞小包装产出路线(STP-DY-007-00),860,黑果枸杞-4克,4g/罐,540,黑果枸杞,48克,788,小罐茶封套加贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
42,黑果枸杞小包装产出路线(STP-DY-007-00),860,黑果枸杞-4克,4g/罐,540,黑果枸杞,48克,857,12罐装黑枸杞小罐茶底贴,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
42,黑果枸杞小包装产出路线(STP-DY-007-00),860,黑果枸杞-4克,4g/罐,540,黑果枸杞,48克,858,防伪溯源二维码标识(圆形)-直径3cm,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
42,黑果枸杞小包装产出路线(STP-DY-007-00),860,黑果枸杞-4克,4g/罐,540,黑果枸杞,48克,859,防伪溯源二维码标识(长方形)-3cm*2cm,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
42,黑果枸杞小包装产出路线(STP-DY-007-00),860,黑果枸杞-4克,4g/罐,540,黑果枸杞,48克,860,黑果枸杞-4克,12.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
43,冻干枸杞小包装产出路线(STP-SG-002-04),992,冻干枸杞,8g/袋,523,冻干枸杞,200克,771,冻干红枸杞天地盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
43,冻干枸杞小包装产出路线(STP-SG-002-04),992,冻干枸杞,8g/袋,523,冻干枸杞,200克,772,冻干枸杞金标8g铝箔袋,25.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
43,冻干枸杞小包装产出路线(STP-SG-002-04),992,冻干枸杞,8g/袋,523,冻干枸杞,200克,773,冻干红枸杞-kg,0.210000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
43,冻干枸杞小包装产出路线(STP-SG-002-04),992,冻干枸杞,8g/袋,523,冻干枸杞,200克,630,质量保障防伪贴大号-圆42MM,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
43,冻干枸杞小包装产出路线(STP-SG-002-04),992,冻干枸杞,8g/袋,523,冻干枸杞,200克,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),663,沙棘原浆-50ml(青源堂),50ml/瓶,509,沙棘原浆,500ml(青源堂),630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),663,沙棘原浆-50ml(青源堂),50ml/瓶,509,沙棘原浆,500ml(青源堂),637,造养青年-原浆(x10瓶)珍珠棉内托,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),663,沙棘原浆-50ml(青源堂),50ml/瓶,509,沙棘原浆,500ml(青源堂),659,原浆纸盒16盒装物流箱垫板,0.125000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),663,沙棘原浆-50ml(青源堂),50ml/瓶,509,沙棘原浆,500ml(青源堂),660,青源堂-沙棘原浆(x10瓶)外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),663,沙棘原浆-50ml(青源堂),50ml/瓶,509,沙棘原浆,500ml(青源堂),661,青源堂-沙棘原浆(x10瓶)瓶贴,10.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),663,沙棘原浆-50ml(青源堂),50ml/瓶,509,沙棘原浆,500ml(青源堂),662,原浆纸盒16盒装物流箱,0.062500,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),663,沙棘原浆-50ml(青源堂),50ml/瓶,509,沙棘原浆,500ml(青源堂),663,沙棘原浆-50ml(青源堂),10.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),815,沙棘原浆-60ml,60ml/瓶,533,沙棘原浆,1.44L,630,质量保障防伪贴大号-圆42MM,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),815,沙棘原浆-60ml,60ml/瓶,533,沙棘原浆,1.44L,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),815,沙棘原浆-60ml,60ml/瓶,533,沙棘原浆,1.44L,813,沙棘原浆罐头24瓶装外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),815,沙棘原浆-60ml,60ml/瓶,533,沙棘原浆,1.44L,814,沙棘原浆罐头24瓶-标签贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),815,沙棘原浆-60ml,60ml/瓶,533,沙棘原浆,1.44L,815,沙棘原浆-60ml,24.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),639,沙棘原浆-50ml(造养青年),50ml/瓶,500,沙棘原浆,500ml(造养青年),630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),639,沙棘原浆-50ml(造养青年),50ml/瓶,500,沙棘原浆,500ml(造养青年),635,造养青年-沙棘原浆(x10瓶)外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),639,沙棘原浆-50ml(造养青年),50ml/瓶,500,沙棘原浆,500ml(造养青年),636,造养青年-沙棘原浆(x10瓶)瓶贴,10.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),639,沙棘原浆-50ml(造养青年),50ml/瓶,500,沙棘原浆,500ml(造养青年),637,造养青年-原浆(x10瓶)珍珠棉内托,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),639,沙棘原浆-50ml(造养青年),50ml/瓶,500,沙棘原浆,500ml(造养青年),638,造养青年-黑果枸杞原浆罐头(x10瓶)外箱,0.055000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
44,沙棘原浆罐头(瓶装)小包装产出路线(STP-GT-015-04),639,沙棘原浆-50ml(造养青年),50ml/瓶,500,沙棘原浆,500ml(造养青年),639,沙棘原浆-50ml(造养青年),10.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
45,黑果枸杞原浆罐头(袋装)小包装产出路线(STP-GT-016-04),643,黑枸杞原浆-30ml,30ml/袋,507,黑枸杞原浆,1.8L,630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
45,黑果枸杞原浆罐头(袋装)小包装产出路线(STP-GT-016-04),643,黑枸杞原浆-30ml,30ml/袋,507,黑枸杞原浆,1.8L,631,青源堂-原浆外箱垫板,0.400000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
45,黑果枸杞原浆罐头(袋装)小包装产出路线(STP-GT-016-04),643,黑枸杞原浆-30ml,30ml/袋,507,黑枸杞原浆,1.8L,632,青源堂-原浆外箱,0.200000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
45,黑果枸杞原浆罐头(袋装)小包装产出路线(STP-GT-016-04),643,黑枸杞原浆-30ml,30ml/袋,507,黑枸杞原浆,1.8L,643,黑枸杞原浆-30ml,60.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
45,黑果枸杞原浆罐头(袋装)小包装产出路线(STP-GT-016-04),643,黑枸杞原浆-30ml,30ml/袋,507,黑枸杞原浆,1.8L,655,青源堂双标款 é»‘果枸杞原浆罐头礼盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
46,黑果枸杞原浆罐头(瓶装)小包装产出路线(STP-GT-016-04),1157,黑枸杞原浆-50ml(青源堂),50ml/瓶,507,黑枸杞原浆,1.8L,630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
46,黑果枸杞原浆罐头(瓶装)小包装产出路线(STP-GT-016-04),1157,黑枸杞原浆-50ml(青源堂),50ml/瓶,507,黑枸杞原浆,1.8L,631,青源堂-原浆外箱垫板,0.400000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
46,黑果枸杞原浆罐头(瓶装)小包装产出路线(STP-GT-016-04),1157,黑枸杞原浆-50ml(青源堂),50ml/瓶,507,黑枸杞原浆,1.8L,632,青源堂-原浆外箱,0.200000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
46,黑果枸杞原浆罐头(瓶装)小包装产出路线(STP-GT-016-04),1157,黑枸杞原浆-50ml(青源堂),50ml/瓶,507,黑枸杞原浆,1.8L,643,黑枸杞原浆-30ml,60.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
46,黑果枸杞原浆罐头(瓶装)小包装产出路线(STP-GT-016-04),1157,黑枸杞原浆-50ml(青源堂),50ml/瓶,507,黑枸杞原浆,1.8L,655,青源堂双标款 é»‘果枸杞原浆罐头礼盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
46,黑果枸杞原浆罐头(瓶装)小包装产出路线(STP-GT-016-04),807,黑枸杞原浆-60ml,60ml/瓶,529,黑枸杞原浆,1.44L,630,质量保障防伪贴大号-圆42MM,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
46,黑果枸杞原浆罐头(瓶装)小包装产出路线(STP-GT-016-04),807,黑枸杞原浆-60ml,60ml/瓶,529,黑枸杞原浆,1.44L,805,黑果枸杞原浆罐头24瓶装外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
46,黑果枸杞原浆罐头(瓶装)小包装产出路线(STP-GT-016-04),807,黑枸杞原浆-60ml,60ml/瓶,529,黑枸杞原浆,1.44L,806,黑果枸杞原浆罐头24瓶-标签贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
46,黑果枸杞原浆罐头(瓶装)小包装产出路线(STP-GT-016-04),807,黑枸杞原浆-60ml,60ml/瓶,529,黑枸杞原浆,1.44L,807,黑枸杞原浆-60ml,24.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),649,枸杞原浆-50ml,50ml/瓶,504,枸杞原浆,500ml,637,造养青年-原浆(x10瓶)珍珠棉内托,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),649,枸杞原浆-50ml,50ml/瓶,504,枸杞原浆,500ml,638,造养青年-黑果枸杞原浆罐头(x10瓶)外箱,0.050000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),649,枸杞原浆-50ml,50ml/瓶,504,枸杞原浆,500ml,646,造养青年-黑果枸杞原浆罐头(x10瓶)外箱垫板,0.110000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),649,枸杞原浆-50ml,50ml/瓶,504,枸杞原浆,500ml,647,造养青年-枸杞原浆外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),649,枸杞原浆-50ml,50ml/瓶,504,枸杞原浆,500ml,648,造养青年-枸杞原浆瓶贴,10.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),649,枸杞原浆-50ml,50ml/瓶,504,枸杞原浆,500ml,649,枸杞原浆-50ml,10.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),835,枸杞原浆-30ml(传渠),30ml/袋,497,枸杞原浆-300ml,300ml,610,质量保障防伪贴小号-圆25MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),835,枸杞原浆-30ml(传渠),30ml/袋,497,枸杞原浆-300ml,300ml,625,青源堂-枸杞原浆外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),835,枸杞原浆-30ml(传渠),30ml/袋,497,枸杞原浆-300ml,300ml,626,造养青年-沙棘原浆-300ml(*10袋)外箱,0.028000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),835,枸杞原浆-30ml(传渠),30ml/袋,497,枸杞原浆-300ml,300ml,627,造养青年-沙棘原浆-300ml(*10袋)外箱垫板,0.056000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),835,枸杞原浆-30ml(传渠),30ml/袋,497,枸杞原浆-300ml,300ml,628,枸杞原浆-30ml(青源堂),10.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),811,枸杞原浆-60ml,60ml/瓶,531,枸杞原浆,1.44L,630,质量保障防伪贴大号-圆42MM,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),811,枸杞原浆-60ml,60ml/瓶,531,枸杞原浆,1.44L,774,TRT-RFID电子标签-1#,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),811,枸杞原浆-60ml,60ml/瓶,531,枸杞原浆,1.44L,809,枸杞原浆罐头24瓶-标签贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),811,枸杞原浆-60ml,60ml/瓶,531,枸杞原浆,1.44L,810,枸杞原浆罐头24瓶装外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),811,枸杞原浆-60ml,60ml/瓶,531,枸杞原浆,1.44L,811,枸杞原浆-60ml,24.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),628,枸杞原浆-30ml(青源堂),30ml/袋,497,枸杞原浆-300ml,300ml,610,质量保障防伪贴小号-圆25MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),628,枸杞原浆-30ml(青源堂),30ml/袋,497,枸杞原浆-300ml,300ml,625,青源堂-枸杞原浆外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),628,枸杞原浆-30ml(青源堂),30ml/袋,497,枸杞原浆-300ml,300ml,626,造养青年-沙棘原浆-300ml(*10袋)外箱,0.028000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),628,枸杞原浆-30ml(青源堂),30ml/袋,497,枸杞原浆-300ml,300ml,627,造养青年-沙棘原浆-300ml(*10袋)外箱垫板,0.056000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
47,枸杞原浆罐头小包装产出路线(STP-GT-009-07),628,枸杞原浆-30ml(青源堂),30ml/袋,497,枸杞原浆-300ml,300ml,628,枸杞原浆-30ml(青源堂),10.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,630,质量保障防伪贴大号-圆42MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,671,木糖醇,0.054000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,681,柠檬酸,0.002143,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,834,0.4MM厚PET胶盖,3.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,836,二级半成品-去柄(种植),0.042900,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,837,血橙萃取粉C8P50,3.570000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,838,重瓣红玫瑰花粉,1.071000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,839,复合增稠剂,7.500000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,840,浓缩水蜜桃汁,142.800000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,841,蓝莓,0.714000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,842,NFT树莓,0.536000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,843,玫瑰香精,0.536000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,844,草莓,0.714000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,845,海洋鱼皮胶原蛋白低聚肽粉,0.178600,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,846,黑果枸杞玫瑰果膏复合膜,174.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,847,黑果枸杞玫瑰果膏盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
48,黑果枸杞玫瑰果膏小包装产出路线(STP-GT-010-05),963,黑果枸杞玫瑰果膏-30ml/袋,30ml/袋,537,玫瑰果膏,900ml,848,黑果枸杞玫瑰果膏标签,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
49,铁棍山药粉小包装产出路线(STP-FB-005-00),613,铁棍山药粉-20克,20克/条,494,铁棍山药粉,280克,609,造养青年铁棍山药粉纸盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
49,铁棍山药粉小包装产出路线(STP-FB-005-00),613,铁棍山药粉-20克,20克/条,494,铁棍山药粉,280克,610,质量保障防伪贴小号-圆25MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
49,铁棍山药粉小包装产出路线(STP-FB-005-00),613,铁棍山药粉-20克,20克/条,494,铁棍山药粉,280克,611,造养青年铁棍山药粉物流箱垫板,0.100000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
49,铁棍山药粉小包装产出路线(STP-FB-005-00),613,铁棍山药粉-20克,20克/条,494,铁棍山药粉,280克,612,造养青年铁棍山药粉物流箱,0.050000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
49,铁棍山药粉小包装产出路线(STP-FB-005-00),613,铁棍山药粉-20克,20克/条,494,铁棍山药粉,280克,613,铁棍山药粉-20克,14.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
50,桑葚原浆(袋装)小包装产出路线(STP-YL-006-00),641,桑葚原浆-30ml,30ml/袋,501,桑葚原浆,300ml,610,质量保障防伪贴小号-圆25MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
50,桑葚原浆(袋装)小包装产出路线(STP-YL-006-00),641,桑葚原浆-30ml,30ml/袋,501,桑葚原浆,300ml,626,造养青年-沙棘原浆-300ml(*10袋)外箱,0.028000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
50,桑葚原浆(袋装)小包装产出路线(STP-YL-006-00),641,桑葚原浆-30ml,30ml/袋,501,桑葚原浆,300ml,627,造养青年-沙棘原浆-300ml(*10袋)外箱垫板,0.050000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
50,桑葚原浆(袋装)小包装产出路线(STP-YL-006-00),641,桑葚原浆-30ml,30ml/袋,501,桑葚原浆,300ml,640,青源堂-桑葚原浆外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
50,桑葚原浆(袋装)小包装产出路线(STP-YL-006-00),641,桑葚原浆-30ml,30ml/袋,501,桑葚原浆,300ml,641,桑葚原浆-30ml,10.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
51,益生元西梅饮小包装产出路线(STP-YL-008-00),669,益生元西梅饮-35ml,35ml/袋,511,益生元西梅饮,350ml(35ml×10),666,益生元西梅饮350ml盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
51,益生元西梅饮小包装产出路线(STP-YL-008-00),669,益生元西梅饮-35ml,35ml/袋,511,益生元西梅饮,350ml(35ml×10),667,物流箱,0.028000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
51,益生元西梅饮小包装产出路线(STP-YL-008-00),669,益生元西梅饮-35ml,35ml/袋,511,益生元西梅饮,350ml(35ml×10),668,物流箱垫板,0.083000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
51,益生元西梅饮小包装产出路线(STP-YL-008-00),669,益生元西梅饮-35ml,35ml/袋,511,益生元西梅饮,350ml(35ml×10),669,益生元西梅饮-35ml,10.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
52,西梅原浆小包装产出路线(STP-YL-011-00),1158,西梅原浆-30ml,30ml/袋,520,西梅原浆,,610,质量保障防伪贴小号-圆25MM,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
52,西梅原浆小包装产出路线(STP-YL-011-00),1158,西梅原浆-30ml,30ml/袋,520,西梅原浆,,626,造养青年-沙棘原浆-300ml(*10袋)外箱,0.028000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
52,西梅原浆小包装产出路线(STP-YL-011-00),1158,西梅原浆-30ml,30ml/袋,520,西梅原浆,,627,造养青年-沙棘原浆-300ml(*10袋)外箱垫板,0.056000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
52,西梅原浆小包装产出路线(STP-YL-011-00),1158,西梅原浆-30ml,30ml/袋,520,西梅原浆,,736,西梅原浆(原料),0.331000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
52,西梅原浆小包装产出路线(STP-YL-011-00),1158,西梅原浆-30ml,30ml/袋,520,西梅原浆,,737,西梅原浆复合膜,57.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
52,西梅原浆小包装产出路线(STP-YL-011-00),1158,西梅原浆-30ml,30ml/袋,520,西梅原浆,,738,西梅原浆外盒,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
60,花类瓶装分装包装工艺路线,2005,雪菊,50g,492,雪菊,140克,576,青源堂-昆仑雪菊瓶,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
60,花类瓶装分装包装工艺路线,2005,雪菊,50g,492,雪菊,140克,577,青源堂-昆仑雪菊内袋,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
60,花类瓶装分装包装工艺路线,2005,雪菊,50g,492,雪菊,140克,580,电商黑枸杞雪菊通用外箱,0.167000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
60,花类瓶装分装包装工艺路线,2005,雪菊,50g,492,雪菊,140克,581,电商黑枸杞雪菊通用外箱垫板,0.340000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
60,花类瓶装分装包装工艺路线,2005,雪菊,50g,492,雪菊,140克,604,昆仑雪菊,0.142000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
60,花类瓶装分装包装工艺路线,2005,雪菊,50g,492,雪菊,140克,605,青源堂雪菊*2 å‰ç¥¥å¦‚意贴,1.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
60,花类瓶装分装包装工艺路线,2005,雪菊,50g,492,雪菊,140克,606,青源堂-昆仑雪菊瓶签,2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
60,花类瓶装分装包装工艺路线,2005,雪菊,50g,492,雪菊,140克,607,昆仑雪菊青源堂-卡纸(墨绿),2.000000,参考同类产品;原料与包材需按目标净含量、包装数量及单位换算,原浆浓度和配方需工艺复核;尚未写入正式BOM
scripts/verify-route-configuration-20261015.py
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,44 @@
import sys,json
from pathlib import Path
from collections import defaultdict
sys.stdout.reconfigure(encoding='utf-8')
sys.path.insert(0,str(Path(__file__).parent/'iqc-import-20261012/deps'))
import pymysql
out=Path(__file__).parent/'schedule-diagnosis-20261015'
before=json.loads(sorted(out.glob('complete-route-before-*.json'))[-1].read_text(encoding='utf-8'))
data={}
with pymysql.connect(host='36.213.150.237',port=10000,user='root',password=sys.stdin.readline().strip(),database='mom-hm',charset='utf8mb4',connect_timeout=15,cursorclass=pymysql.cursors.DictCursor) as c:
 with c.cursor() as q:
  for t in before:
   q.execute('SELECT * FROM '+t+' WHERE deleted=0 ORDER BY id');data[t]=q.fetchall()
  q.execute('SELECT * FROM mes_pro_work_order_process WHERE deleted=0 ORDER BY id');data['mes_pro_work_order_process']=q.fetchall()
  q.execute('SELECT id,status FROM mes_dv_machinery WHERE deleted=0');machines={m['id']:m['status'] for m in q.fetchall()}
  q.execute('SELECT * FROM mes_pro_task WHERE deleted=0 AND status NOT IN (4,5)');active=q.fetchall()
  q.execute('SELECT * FROM mes_md_workstation WHERE deleted=0 AND status=0');stations=q.fetchall()
  q.execute('SELECT * FROM mes_md_workstation_machine WHERE deleted=0');links=q.fetchall()
normalize=lambda rows:json.loads(json.dumps(rows,default=str))
assert normalize(data['mes_pro_work_order'])==before['mes_pro_work_order'],'工单被改动'
for table,allowed in [('mes_pro_route',{'status','update_time'}),('mes_pro_route_process',{'output_item_id','update_time'})]:
 now={r['id']:r for r in normalize(data[table])}
 for row in before[table]:
  unexpected={k:{'before':v,'after':now[row['id']].get(k)} for k,v in row.items() if k not in allowed and v!=now[row['id']].get(k)}
  if unexpected:print(json.dumps({'concurrentChange':table,'id':row['id'],'fields':unexpected},ensure_ascii=False))
for table in ['mes_md_product_bom','mes_pro_route_product_bom']:
 now={r['id']:r for r in normalize(data[table])}
 assert all(now[r['id']]==r for r in before[table]),'原有BOM被改动'
assert all(r['status']==0 for r in data['mes_pro_route'])
alloc={(b['route_id'],b['product_id']) for b in data['mes_pro_route_product_bom']}
assert all((p['route_id'],p['item_id']) in alloc for p in data['mes_pro_route_product'])
station_machines=defaultdict(set)
for rel in links:station_machines[rel['workstation_id']].add(rel['machinery_id'])
occupied=set().union(*(station_machines[t['workstation_id']] for t in active)) if active else set()
station_available={s['id']:bool(station_machines[s['id']]) and all(machines.get(i)==1 or (machines.get(i)==2 and i in occupied) for i in station_machines[s['id']]) for s in stations}
order_checks=[]
for o in data['mes_pro_work_order']:
 if o['status']!=1:continue
 qps=[p for p in data['mes_pro_work_order_process'] if p['work_order_id']==o['id']]
 blocked=[p['process_id'] for p in qps if not any(s['process_id']==p['process_id'] and station_available[s['id']] for s in stations)]
 order_checks.append({'id':o['id'],'code':o['code'],'blockedEquipmentProcesses':blocked})
report={'allRoutesEnabled':len(data['mes_pro_route']),'boundProductsWithInput':len(data['mes_pro_route_product']),'explicitOutputProcesses':sum(bool(p['output_item_id']) for p in data['mes_pro_route_process']),'nativeDefaultOutputProcesses':sum(not p['output_item_id'] for p in data['mes_pro_route_process']),'existingBomAndWorkOrdersPreserved':True,'equipmentChecks':order_checks,'scope':'数据库读回及资源前置条件核验,未执行实际排产或线上HTTP预览'}
(out/'verification.json').write_text(json.dumps(report,ensure_ascii=False,indent=2),encoding='utf-8')
print(json.dumps(report,ensure_ascii=False))