Parcourir la source

销售退货单 type修改为3

luhg il y a 8 ans
Parent
commit
9a5d09578c

+ 2 - 2
src/main/java/com/uas/eis/serviceImpl/SaleReturnServiceImpl.java

@@ -94,7 +94,7 @@ public class SaleReturnServiceImpl implements SaleReturnService{
             postSuccessHist = null;
             postSuccessHist = null;
             postSuccessHist = ediSuccessLogDao.findByCodeAndType(code,type);
             postSuccessHist = ediSuccessLogDao.findByCodeAndType(code,type);
             if(postSuccessHist!=null){
             if(postSuccessHist!=null){
-                stockService.postConfirmToYunding(code,2);
+                stockService.postConfirmToYunding(code,3);
                 continue;
                 continue;
             }
             }
 
 
@@ -109,7 +109,7 @@ public class SaleReturnServiceImpl implements SaleReturnService{
                 }else{
                 }else{
                     ediLogDao.save(LogUtil.getSaleReturnSuccessLog(code,responseText));
                     ediLogDao.save(LogUtil.getSaleReturnSuccessLog(code,responseText));
                     ediSuccessLogDao.save(LogUtil.getLogToAvoidRepeatPost(code,type));
                     ediSuccessLogDao.save(LogUtil.getLogToAvoidRepeatPost(code,type));
-                    stockService.postConfirmToYunding(code,2);
+                    stockService.postConfirmToYunding(code,3);
                 }
                 }
             }catch (Exception e){
             }catch (Exception e){
                 e.printStackTrace();
                 e.printStackTrace();