yumeng 9 månader sedan
förälder
incheckning
94834f2a57

+ 14 - 87
ruixuan-live/src/main/java/com/ruixuan/isc/service/impl/SupplyChainServiceImpl.java

@@ -458,10 +458,6 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
             if (yuxiu > 0) {
             if (yuxiu > 0) {
                 return yuxiu;
                 return yuxiu;
             }
             }
-            int yuxiu = supplyChainMapper.updateYuxiuOrder(oid, cpsOrderStatus);
-            if (yuxiu > 0) {
-                return yuxiu;
-            }
         }
         }
         if ("miaogousi".equals(ownershipId)) {
         if ("miaogousi".equals(ownershipId)) {
             int mgs = supplyChainMapper.updateMgsOrder(oid, cpsOrderStatus);
             int mgs = supplyChainMapper.updateMgsOrder(oid, cpsOrderStatus);
@@ -484,10 +480,7 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
             if (yuxiu > 0) {
             if (yuxiu > 0) {
                 return yuxiu;
                 return yuxiu;
             }
             }
-            int yuxiu = supplyChainMapper.updateYuxiuOrder(oid, cpsOrderStatus);
-            if (yuxiu > 0) {
-                return yuxiu;
-            }
+
         }
         }
         if ("rocket".equals(ownershipId)) {
         if ("rocket".equals(ownershipId)) {
             int rocket = supplyChainMapper.updateRocketOrder(oid, cpsOrderStatus);
             int rocket = supplyChainMapper.updateRocketOrder(oid, cpsOrderStatus);
@@ -510,10 +503,7 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
             if (yuxiu > 0) {
             if (yuxiu > 0) {
                 return yuxiu;
                 return yuxiu;
             }
             }
-            int yuxiu = supplyChainMapper.updateYuxiuOrder(oid, cpsOrderStatus);
-            if (yuxiu > 0) {
-                return yuxiu;
-            }
+
         }
         }
         if ("yufu".equals(ownershipId)) {
         if ("yufu".equals(ownershipId)) {
             int yufu = supplyChainMapper.updateYufuOrder(oid, cpsOrderStatus);
             int yufu = supplyChainMapper.updateYufuOrder(oid, cpsOrderStatus);
@@ -528,10 +518,6 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
             if (mgs > 0) {
             if (mgs > 0) {
                 return mgs;
                 return mgs;
             }
             }
-            int yufu = supplyChainMapper.updateYufuOrder(oid, cpsOrderStatus);
-            if (yufu > 0) {
-                return yufu;
-            }
             int rocket = supplyChainMapper.updateRocketOrder(oid, cpsOrderStatus);
             int rocket = supplyChainMapper.updateRocketOrder(oid, cpsOrderStatus);
             if (rocket > 0) {
             if (rocket > 0) {
                 return rocket;
                 return rocket;
@@ -543,7 +529,6 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
         }
         }
 
 
         if ("yuxiu".equals(ownershipId)) {
         if ("yuxiu".equals(ownershipId)) {
-
             int yuxiu = supplyChainMapper.updateYuXiuOrder(oid, cpsOrderStatus);
             int yuxiu = supplyChainMapper.updateYuXiuOrder(oid, cpsOrderStatus);
             if (yuxiu > 0) {
             if (yuxiu > 0) {
                 return yuxiu;
                 return yuxiu;
@@ -556,39 +541,15 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
             if (mgs > 0) {
             if (mgs > 0) {
                 return mgs;
                 return mgs;
             }
             }
-            int yuxiu = supplyChainMapper.updateYuxiuOrder(oid, cpsOrderStatus);
-            if (yuxiu > 0) {
-                return yuxiu;
-            }
-        }
-        if ("yuxiu".equals(ownershipId)) {
-            int yuxiu = supplyChainMapper.updateYuxiuOrder(oid, cpsOrderStatus);
-            if (yuxiu > 0) {
-                return yuxiu;
-            }
-            int yufu = supplyChainMapper.updateYufuOrder(oid, cpsOrderStatus);
-            if (yufu > 0) {
-                return yufu;
-            }
-            int rocket = supplyChainMapper.updateRocketOrder(oid, cpsOrderStatus);
-            if (rocket > 0) {
-                return rocket;
-            }
-
             int rocket = supplyChainMapper.updateRocketOrder(oid, cpsOrderStatus);
             int rocket = supplyChainMapper.updateRocketOrder(oid, cpsOrderStatus);
             if (rocket > 0) {
             if (rocket > 0) {
                 return rocket;
                 return rocket;
             }
             }
-            int ruixuan = supplyChainMapper.updateRuixuanOrder(oid, cpsOrderStatus);
-            if (ruixuan > 0) {
-                return ruixuan;
-            }
-            int mgs = supplyChainMapper.updateMgsOrder(oid, cpsOrderStatus);
-            if (mgs > 0) {
-                return mgs;
+            int yufu = supplyChainMapper.updateYufuOrder(oid, cpsOrderStatus);
+            if (yufu > 0) {
+                return yufu;
             }
             }
         }
         }
-
         return 0;
         return 0;
     }
     }
 
 
@@ -615,10 +576,7 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
             if (yuxiu > 0) {
             if (yuxiu > 0) {
                 return yuxiu;
                 return yuxiu;
             }
             }
-            int yuxiu = supplyChainMapper.updateYuXiuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
-            if (yuxiu > 0) {
-                return yuxiu;
-            }
+
         }
         }
 
 
         if ("miaogousi".equals(ownershipId)) {
         if ("miaogousi".equals(ownershipId)) {
@@ -642,10 +600,7 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
             if (yuxiu > 0) {
             if (yuxiu > 0) {
                 return yuxiu;
                 return yuxiu;
             }
             }
-            int yuxiu = supplyChainMapper.updateYuXiuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
-            if (yuxiu > 0) {
-                return yuxiu;
-            }
+
         }
         }
         if ("rocket".equals(ownershipId)) {
         if ("rocket".equals(ownershipId)) {
             int rocket = supplyChainMapper.updateRocketOrderRegimentalSettleAmount(oid, cpsOrderStatus);
             int rocket = supplyChainMapper.updateRocketOrderRegimentalSettleAmount(oid, cpsOrderStatus);
@@ -668,10 +623,7 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
             if (yuxiu > 0) {
             if (yuxiu > 0) {
                 return yuxiu;
                 return yuxiu;
             }
             }
-            int yuxiu = supplyChainMapper.updateYuXiuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
-            if (yuxiu > 0) {
-                return yuxiu;
-            }
+
         }
         }
 
 
         if ("yufu".equals(ownershipId)) {
         if ("yufu".equals(ownershipId)) {
@@ -679,53 +631,29 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
             if (yufu > 0) {
             if (yufu > 0) {
                 return yufu;
                 return yufu;
             }
             }
-            int rocket = supplyChainMapper.updateRocketOrderRegimentalSettleAmount(oid, cpsOrderStatus);
-            if (rocket > 0) {
-                return rocket;
-            }
             int ruixuan = supplyChainMapper.updateRuiXuanOrderRegimentalSettleAmount(oid, cpsOrderStatus);
             int ruixuan = supplyChainMapper.updateRuiXuanOrderRegimentalSettleAmount(oid, cpsOrderStatus);
             if (ruixuan > 0) {
             if (ruixuan > 0) {
                 return ruixuan;
                 return ruixuan;
             }
             }
+
             int mgs = supplyChainMapper.updateMgsOrderRegimentalSettleAmount(oid, cpsOrderStatus);
             int mgs = supplyChainMapper.updateMgsOrderRegimentalSettleAmount(oid, cpsOrderStatus);
             if (mgs > 0) {
             if (mgs > 0) {
                 return mgs;
                 return mgs;
             }
             }
-            int yuxiu = supplyChainMapper.updateYuxiuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
-            if (yuxiu > 0) {
-                return yuxiu;
-            }
-        }
-        if ("yuxiu".equals(ownershipId)) {
-            int yuxiu = supplyChainMapper.updateYuxiuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
-            if (yuxiu > 0) {
-                return yuxiu;
-            }
+
             int rocket = supplyChainMapper.updateRocketOrderRegimentalSettleAmount(oid, cpsOrderStatus);
             int rocket = supplyChainMapper.updateRocketOrderRegimentalSettleAmount(oid, cpsOrderStatus);
             if (rocket > 0) {
             if (rocket > 0) {
                 return rocket;
                 return rocket;
             }
             }
-            int ruixuan = supplyChainMapper.updateRuiXuanOrderRegimentalSettleAmount(oid, cpsOrderStatus);
-            if (ruixuan > 0) {
-                return ruixuan;
-            }
-            int mgs = supplyChainMapper.updateMgsOrderRegimentalSettleAmount(oid, cpsOrderStatus);
-            if (mgs > 0) {
-                return mgs;
-            }
-            int yufu = supplyChainMapper.updateYufuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
-            if (yufu > 0) {
-                return yufu;
-            }
-            int yuxiu = supplyChainMapper.updateYuXiuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
+
+
+            int yuxiu = supplyChainMapper.updateYuxiuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
             if (yuxiu > 0) {
             if (yuxiu > 0) {
                 return yuxiu;
                 return yuxiu;
             }
             }
         }
         }
-
         if ("yuxiu".equals(ownershipId)) {
         if ("yuxiu".equals(ownershipId)) {
-
-            int yuxiu = supplyChainMapper.updateYuXiuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
+            int yuxiu = supplyChainMapper.updateYuxiuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
             if (yuxiu > 0) {
             if (yuxiu > 0) {
                 return yuxiu;
                 return yuxiu;
             }
             }
@@ -747,7 +675,6 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
             }
             }
         }
         }
 
 
-
         return 0;
         return 0;
     }
     }