|
|
@@ -922,7 +922,7 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
|
String.valueOf(iUserCode),
|
|
|
String.valueOf(iResult),
|
|
|
}, new Integer[]{1, 2, 3, 4, 5}, new Integer[]{6});
|
|
|
- if(iResult=="NG") {
|
|
|
+ if(iResult.equals("NG")) {
|
|
|
String CurrentStep = GetStepCodeBySource(iSourceCode);
|
|
|
baseDao.updateByCondition("makeserial", "ms_status=1,ms_nextstepcode='" + CurrentStep + "'", "ms_sncode='" + iSN + "' and ms_makecode='" + iMakeCode + "'");
|
|
|
baseDao.updateByCondition("makebad", "mb_status=-1", "mb_sncode='" + iSN + "' and mb_makecode='" + iMakeCode + "'");
|