|
@@ -692,11 +692,11 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
|
return rmap;
|
|
|
}
|
|
|
lotSN=map.get("lotSN").toString();
|
|
|
- SqlRowList rs=baseDao.queryForRowSet("select ms_sncode from makeserial where ms_imei1='"+lotSN+"' or ms_imei2='"+lotSN+"'");
|
|
|
+ SqlRowList rs=baseDao.queryForRowSet("select ms_sncode from makeserial where ms_imei1='"+lotSN+"' or ms_imei2='"+lotSN+"' or ms_imei3='"+lotSN+"'");
|
|
|
if(rs.next()){
|
|
|
lotSN=rs.getString("ms_sncode");
|
|
|
}else{
|
|
|
- rs=baseDao.queryForRowSet("select mil_sncode from makeimeilist where mil_imei1='"+lotSN+"' or mil_imei2='"+lotSN+"'");
|
|
|
+ rs=baseDao.queryForRowSet("select mil_sncode from makeimeilist where mil_imei1='"+lotSN+"' or mil_imei2='"+lotSN+"' or mil_imei3='"+lotSN+"'");
|
|
|
if(rs.next()){
|
|
|
lotSN=rs.getString("mil_sncode");
|
|
|
}
|