Browse Source

获取外部SN接口修改

callm 2 months ago
parent
commit
4612cfa6bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/uas/eis/serviceImpl/MESHelperServiceImpl.java

+ 1 - 1
src/main/java/com/uas/eis/serviceImpl/MESHelperServiceImpl.java

@@ -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"));