|
|
@@ -148,6 +148,7 @@ public class MesProductRecordService extends CrudService<MesProductRecordDao, Me
|
|
|
if (StringUtils.isEmpty(record.getSource())) {
|
|
|
record.setSource("0");
|
|
|
}
|
|
|
+ setPieceworkDateIfNeeded(record);
|
|
|
}
|
|
|
return mesProductRecordDao.insertBatch(mesProductRecordList,num);
|
|
|
}
|
|
|
@@ -988,6 +989,7 @@ public class MesProductRecordService extends CrudService<MesProductRecordDao, Me
|
|
|
mesProductRecord.setMaterielSn(materielSn);
|
|
|
mesProductRecord.setContent(content);
|
|
|
mesProductRecord.setSource("0");
|
|
|
+ setPieceworkDateIfNeeded(mesProductRecord);
|
|
|
super.update(mesProductRecord);
|
|
|
|
|
|
/*if(CommonUitl.formatOprno(oprno).equals("OP290") && craft.equals("400002")){
|