|
@@ -1876,6 +1876,13 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
queryWrapperCount.select("lpad(count(0)+1,6,0) as id");
|
|
|
String dateNo = "FL" + sf.format(System.currentTimeMillis()) + getOne(queryWrapperCount).getId();//生成辅料单据号*/
|
|
|
sy.setDocumentNo(account+sy.getDocumentNo());//单据号
|
|
|
+ QueryWrapper queryWrapper=new QueryWrapper();
|
|
|
+ queryWrapper.eq("documentNo",sy.getDocumentNo());
|
|
|
+ queryWrapper.eq("del_flag","0");
|
|
|
+ SyPackingListFabric Fabric=syPackingListFabricMapper.selectOne(queryWrapper);
|
|
|
+ if(Fabric!=null){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
sy.setDataSource("u8拉取");//直接从u8拉取的数据
|
|
|
sy.setId(oConvertUtils.getId());
|
|
|
sy.setU8Id(account + sy.getU8Id());
|