Przeglądaj źródła

修改 确认状态

chenjx 5 lat temu
rodzic
commit
825f4fbfaa

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

@@ -316,6 +316,7 @@ public class XiangXServiceImpl implements XiangXService {
         List<String> list = baseDao.callProcedureWithOut("SP_FINISHPO", new Object[]{poId}, new Integer[]{1}, new Integer[]{2,3,4,5});
         if (list!=null && list.size()>0){
             if (list.get(0)==null){
+                baseDao.updateByCondition("CUSTOMTABLE","ct_confirmstatus='已确认',ct_confirmstatuscode='CONFIRMED'","ct_id="+poId);
                 if(list.get(2)!=null && Integer.parseInt(list.get(2))>0){
                     try {
                         Map<String, Object> resMap = erpService.auditafter_post_xx(Integer.parseInt(list.get(2)), list.get(3));