ソースを参照

【功能完善】【镭雕机记录分区】

koul 2 ヶ月 前
コミット
0aaf488619

+ 1 - 1
src/main/java/com/uas/eis/serviceImpl/MESHelperServiceImpl.java

@@ -94,7 +94,7 @@ public class MESHelperServiceImpl implements MESHelperService {
 				oErrMessage+="序列号"+value.toString().toUpperCase()+"已镭雕,";
 
 			}else {
-				baseDao.execute("update makesnlist set msl_Radium=-1 where msl_sncode='"+value.toString().toUpperCase()+"' and " +
+				baseDao.execute("update makesnlist set msl_Radium=-1,msl_zone='"+StringUtil.nvl(key,"").replace("sn","").replace("SN","")+"' where msl_sncode='"+value.toString().toUpperCase()+"' and " +
 						"msl_makecode='"+MO+"'");
 			}
 			//启用过站