Browse Source

【功能完善】【SN获取关联SN】

koul 2 months ago
parent
commit
08634e7559
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/uas/eis/serviceImpl/MESHelperServiceImpl.java

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

@@ -1913,7 +1913,7 @@ public class MESHelperServiceImpl implements MESHelperService {
 			rmap.put("message","SN不能为空");
 			rmap.put("message","SN不能为空");
 			return rmap;
 			return rmap;
 		}
 		}
-		List<Map<String, Object>> maps = baseDao.queryForList("select msl_sncode serialNo from MakeSnList where msl_mainbarcode=(select msl_mainbarcode from MakeSnList where msl_sncode='" + sn + "')");
+		List<Map<String, Object>> maps = baseDao.queryForList("select msl_sncode serialNo,msl_zone zone from MakeSnList where msl_mainbarcode=(select msl_mainbarcode from MakeSnList where msl_sncode='" + sn + "')");
 		rmap.put("code",0);
 		rmap.put("code",0);
 		rmap.put("data",maps);
 		rmap.put("data",maps);
 		return rmap;
 		return rmap;