소스 검색

发货计划订单信息刷新测试数据

hxh 4 달 전
부모
커밋
398587aa80
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      src/custom/restcontroller/webmanage/sale/sendplan/sendplandetail.java

+ 4 - 3
src/custom/restcontroller/webmanage/sale/sendplan/sendplandetail.java

@@ -93,19 +93,20 @@ public class sendplandetail extends Controller {
             insertSQL.setValue("willinqty", 0);
             insertSQL.setValue("canuseqty", canuseqty);
             if(row.getLong("itemid")==3853){
-                System.err.println("canuseqty1:"+canuseqty);
+                logger.info("监测到canuseqty1", canuseqty);
             }
 
             if (row.getLong("itemid") == olditemid) {
                 insertSQL.setValue("canuseqty", (oldcanuseqty.compareTo(BigDecimal.ZERO) == 0 ? canuseqty : oldcanuseqty).subtract(oldsendqty));
                 if(row.getLong("itemid")==3853){
-                    System.err.println("canuseqty2:"+(oldcanuseqty.compareTo(BigDecimal.ZERO) == 0 ? canuseqty : oldcanuseqty).subtract(oldsendqty));
+                    logger.info("监测到canuseqty2", (oldcanuseqty.compareTo(BigDecimal.ZERO) == 0 ? canuseqty : oldcanuseqty).subtract(oldsendqty));
+
                 }
                 newcanuseqty=(oldcanuseqty.compareTo(BigDecimal.ZERO) == 0 ? canuseqty : oldcanuseqty).subtract(oldsendqty);
                 oldcanuseqty = (oldcanuseqty.compareTo(BigDecimal.ZERO) == 0 ? canuseqty : oldcanuseqty).subtract(oldsendqty);
             } else {
                 if(row.getLong("itemid")==3853){
-                    System.err.println("canuseqty3:"+canuseqty);
+                    System.err.println("监测到canuseqty3:"+canuseqty);
                 }
                 insertSQL.setValue("canuseqty", canuseqty);
                 newcanuseqty=canuseqty;