yaozhixue 1 年之前
父節點
當前提交
095f2e6f10

+ 1 - 0
src/main/java/com/zfire/jiasm/syncdata/service/impl/RepairProduceDataUploadServiceImpl.java

@@ -509,6 +509,7 @@ public class RepairProduceDataUploadServiceImpl implements RepairProduceDataUplo
         request.setId(sourceData.getId());
         request.setOrderNo(sourceData.getOrderNo());
         ItfTblAssignMxUpload mx = getOrderProductMapper.getItfTblAssignMxUpload(request);
+        // 维修工单的jxid可以直接给0值 上面查询语句中直接赋值即可
         // 这里故障代码单独处理
         setMxGzxxid(sourceData, mx);
 

+ 1 - 1
src/main/resources/mapper/GetOrderProductMapper.xml

@@ -7,7 +7,7 @@
                a.create_time as created_date,'guangfo' as last_modified_by,a.update_time as last_modified_date,
                a.pgid,c.ref_dict_code as spid,c.ref_dict_name as spmc,d.ref_dict_code as xlid,d.ref_dict_name as xlmc,
                (case when e.ref_dict_code > 99999 then 0 else e.ref_dict_code end) as xiid,IFNULL(e.ref_dict_name, '') as ximc,
-               f.product_id as jxid,IFNULL(f.name,'') as jxmc,IFNULL(f.jxid,'') as jxno,a.buy_time as gmsj,a.create_time as czsj,
+               0 as jxid,IFNULL(f.name,'') as jxmc,IFNULL(f.jxid,'') as jxno,a.buy_time as gmsj,a.create_time as czsj,
                '' as gzwz,a.fault_reason as gzxx, a.create_by as czren,a.sale_websit as xsdw,
                a.sale_websit_mobile as xsdwdh,a.service_websit_mobile as fwdwdh,
                a.remark as beiz,'' as qqlyxh,'' as pinpai,a.price as fee,0 as xxfee,