|
@@ -860,7 +860,7 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
|
iSN=map.get("iSN").toString();
|
|
|
String prcode=baseDao.getFieldDataByCondition("makeserial","ms_prodcode","ms_id=(select max(ms_id) from makeserial where ms_sncode='"+iSN+"')").toString();
|
|
|
SqlRowList rs=baseDao.queryForRowSet("select pid_item,pid_value from productitem left join productitemdetail on pi_id=pid_piid " +
|
|
|
- "where pi_prodcode='"+prcode+"'");
|
|
|
+ "where pi_prodcode='"+prcode+"' and pid_item is not null");
|
|
|
while(rs.next()){
|
|
|
rmap.put(rs.getString("pid_item"),rs.getString("pid_value"));
|
|
|
}
|