|
@@ -132,7 +132,7 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
|
|
|
|
baseDao.execute("update BARACCEPTNOTIFY set (ban_anid,BAN_ANCODE, BAN_ANDID, BAN_ANDDETNO)=(select max(an_id),max(an_code),max(and_id),max(and_detno) from ACCEPTNOTIFYDETAIL " +
|
|
|
"left join ACCEPTNOTIFY on and_anid=an_id where an_sendcode=ban_sendcode " +
|
|
|
- "and and_prodcode=ban_prodcode and ban_pudetno=and_orderdetno group by ban_pudetno) where ban_sendcode='"+sendcode+"'");
|
|
|
+ "and and_prodcode=ban_prodcode and ban_pudetno=and_orderdetno and and_ordercode=ban_pucode group by ban_pudetno) where ban_sendcode='"+sendcode+"'");
|
|
|
String errMsg=submit("VendAcceptNotify",an_id);
|
|
|
if(!errMsg.equals("")){
|
|
|
remap.put("result","NG");
|