소스 검색

u8产品入库对接优化

shenjingwei 6 달 전
부모
커밋
d7fe07d178
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/custom/service/GetStockBillFromU8.java

+ 1 - 1
src/custom/service/GetStockBillFromU8.java

@@ -176,7 +176,7 @@ public class GetStockBillFromU8 extends ServiceController {
                         dbConnect.runSqlUpdate("delete from st_stockbill_items where st_stockbillid=" + st_stockbillid);
                         dbConnect.runSqlUpdate("delete from st_stockbill_items_sku where st_stockbillid=" + st_stockbillid);
                         YUNl_DB.runSqlUpdate("update RdRecord set ErrTimes=isnull(ErrTimes,0)+1,failreason='" + e.getMessage() + "' where ID =" + id + " and billtype='10' ");
-                        logger.info("产品入库单{}审核失败", ccode);
+                        logger.info("产品入库单{}审核失败", ccode, e);
                     }
                 } catch (Exception e) {
                     YUNl_DB.runSqlUpdate("update RdRecord set ErrTimes=isnull(ErrTimes,0)+1,failreason='" + e.getMessage() + "' where ID =" + id + " and billtype='10' ");