|
@@ -949,7 +949,7 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
|
//之前有获取过的
|
|
|
SqlRowList rs=baseDao.queryForRowSet("select * from "+Master+".makeinfodet left join "+Master+".MakeRemark on MID_ORDERCODE=ordernumber " +
|
|
|
"left join "+Master+".aftersaledet on asd_sn=mid_sn left join "+Master+".DeliveryIn on "+Master+".DeliveryIn.sn=mid_sn " +
|
|
|
- "left join "+Master+".Deliveryout on "+Master+".Deliveryout.sn=mid_sn left join "+Master+".remakedet on mid_sn=RMD_SN where mid_ordercode='"+iMakecode+"' and rownum=1");
|
|
|
+ "left join "+Master+".Deliveryout on "+Master+".Deliveryout.sn=mid_sn left join "+Master+".remakedet on mid_sn=RMD_SN where mid_ordercode='"+iMakecode+"' and mid_sn='"+iSN+"' and rownum=1");
|
|
|
if(rs.next()){
|
|
|
rmap.put("MID_ID","");
|
|
|
rmap.put("MID_MIID",rs.getString("MID_MIID"));
|