|
@@ -801,7 +801,7 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
SqlRowList rs=baseDao.queryForRowSet("select ms_makecode from makeserial where ms_sncode='"+iSN+"' order by ms_id desc");
|
|
SqlRowList rs=baseDao.queryForRowSet("select ms_makecode from makeserial where ms_sncode='"+iSN+"' order by ms_id desc");
|
|
if(rs.next()){
|
|
if(rs.next()){
|
|
String makecode=rs.getString("ms_makecode");
|
|
String makecode=rs.getString("ms_makecode");
|
|
- rs=baseDao.queryForRowSet("select mal_mac from makeimeilist where mil_makecode='"+makecode+"' and mil_imei1='"+iIMEI1+"'");
|
|
|
|
|
|
+ rs=baseDao.queryForRowSet("select mil_imei1 from makeimeilist where mil_makecode='"+makecode+"' and mil_imei1='"+iIMEI1+"'");
|
|
if(!rs.next()){
|
|
if(!rs.next()){
|
|
rmap.put("oErrMessage","IMEI:"+iIMEI1+"不在工单"+makecode+"导入清单中,不允许回传");
|
|
rmap.put("oErrMessage","IMEI:"+iIMEI1+"不在工单"+makecode+"导入清单中,不允许回传");
|
|
return rmap;
|
|
return rmap;
|