|
|
@@ -316,7 +316,7 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
|
|
|
|
Object isHaveCode = String.valueOf(baseDao.getFieldDataByCondition("make","ma_ishavecode","ma_code = '"+Moname+"'"));
|
|
|
if(Integer.parseInt(isHaveCode.toString()) == -1){
|
|
|
- if(Defect != null || !Defect.isEmpty()){
|
|
|
+ if(!Defect.isEmpty()){
|
|
|
rmap.put("code", "-1");
|
|
|
rmap.put("result", "NG");
|
|
|
rmap.put("message", "NG,空序列号,不良品不计入产出");
|