优化
This commit is contained in:
@@ -113,7 +113,7 @@ public class ToWmsServiceImpl implements IToWmsService {
|
||||
String nw = findFirst(PATTERNS.get("NW"), trayCode);
|
||||
String gw = findFirst(PATTERNS.get("GW"), trayCode);;
|
||||
// String productId = findFirst(PATTERNS.get("ITEM_CODE"), trayCode);
|
||||
String productId = "KC01001000145";
|
||||
String productId = "KC01001000132";
|
||||
String bm = findFirst(PATTERNS.get("@"), trayCode);
|
||||
bm=bm.substring(0,bm.length()-1);
|
||||
String[] decode = ProcodeUtils.decode(bm);
|
||||
|
||||
@@ -189,9 +189,9 @@ public class MydoJobServiceImpl implements IMydoJobService {
|
||||
if (job == null) {
|
||||
return AjaxResult.warn("任务不存在");
|
||||
}
|
||||
if (!"1".equals(job.getStatus())) {
|
||||
return AjaxResult.warn("只能作废未开始的任务");
|
||||
}
|
||||
// if (!"1".equals(job.getStatus())) {
|
||||
// return AjaxResult.warn("只能作废未开始的任务");
|
||||
// }
|
||||
if ("1".equals(job.getInOrOut())) {
|
||||
mydoJob.setStatus("5");
|
||||
updateMydoJob(mydoJob);
|
||||
|
||||
Reference in New Issue
Block a user