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