|
|
@@ -147,8 +147,8 @@ public class MESDataServiceImpl implements MESDataService {
|
|
|
for (Map<Object, Object> map : maps) {
|
|
|
Map<Object, Object> remap = new HashMap<>();
|
|
|
String remark = "";
|
|
|
- int cn = baseDao.getJdbcTemplate().queryForObject("select count(1) from TEMP_MAKEBAD where MB_ID=? and nvl(t_status,'W')='W' ",Integer.class,map.get("MB_ID"));
|
|
|
- remap.put("id",map.get("MB_ID"));
|
|
|
+ int cn = baseDao.getJdbcTemplate().queryForObject("select count(1) from TEMP_MAKEBAD where MB_CODE=? and nvl(t_status,'W')='W' ",Integer.class,map.get("MB_CODE"));
|
|
|
+ remap.put("id",map.get("MB_CODE"));
|
|
|
if(cn>0){
|
|
|
map.put("T_STATUS","D");
|
|
|
map.put("T_REMAKR","重复");
|