shenjingwei 2 месяцев назад
Родитель
Сommit
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' ");