|
@@ -550,6 +550,35 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
|
|
return yufu;
|
|
return yufu;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ if ("zhishui".equals(ownershipId)) {
|
|
|
|
+ int zhishui = supplyChainMapper.updateZhishuiOrder(oid, cpsOrderStatus);
|
|
|
|
+ if (zhishui > 0) {
|
|
|
|
+ return zhishui;
|
|
|
|
+ }
|
|
|
|
+ int ruixuan = supplyChainMapper.updateRuixuanOrder(oid, cpsOrderStatus);
|
|
|
|
+ if (ruixuan > 0) {
|
|
|
|
+ return ruixuan;
|
|
|
|
+ }
|
|
|
|
+ int mgs = supplyChainMapper.updateMgsOrder(oid, cpsOrderStatus);
|
|
|
|
+ if (mgs > 0) {
|
|
|
|
+ return mgs;
|
|
|
|
+ }
|
|
|
|
+ int rocket = supplyChainMapper.updateRocketOrder(oid, cpsOrderStatus);
|
|
|
|
+ if (rocket > 0) {
|
|
|
|
+ return rocket;
|
|
|
|
+ }
|
|
|
|
+ int yufu = supplyChainMapper.updateYufuOrder(oid, cpsOrderStatus);
|
|
|
|
+ if (yufu > 0) {
|
|
|
|
+ return yufu;
|
|
|
|
+ }
|
|
|
|
+ int yuxiu = supplyChainMapper.updateYuXiuOrder(oid, cpsOrderStatus);
|
|
|
|
+ if (yuxiu > 0) {
|
|
|
|
+ return yuxiu;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -576,7 +605,10 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
|
|
if (yuxiu > 0) {
|
|
if (yuxiu > 0) {
|
|
return yuxiu;
|
|
return yuxiu;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ int zhishui = supplyChainMapper.updatezhishuiOrderRegimentalSettleAmount(oid, cpsOrderStatus);
|
|
|
|
+ if (zhishui > 0) {
|
|
|
|
+ return zhishui;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
if ("miaogousi".equals(ownershipId)) {
|
|
if ("miaogousi".equals(ownershipId)) {
|
|
@@ -600,6 +632,10 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
|
|
if (yuxiu > 0) {
|
|
if (yuxiu > 0) {
|
|
return yuxiu;
|
|
return yuxiu;
|
|
}
|
|
}
|
|
|
|
+ int zhishui = supplyChainMapper.updatezhishuiOrderRegimentalSettleAmount(oid, cpsOrderStatus);
|
|
|
|
+ if (zhishui > 0) {
|
|
|
|
+ return zhishui;
|
|
|
|
+ }
|
|
|
|
|
|
}
|
|
}
|
|
if ("rocket".equals(ownershipId)) {
|
|
if ("rocket".equals(ownershipId)) {
|
|
@@ -623,6 +659,10 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
|
|
if (yuxiu > 0) {
|
|
if (yuxiu > 0) {
|
|
return yuxiu;
|
|
return yuxiu;
|
|
}
|
|
}
|
|
|
|
+ int zhishui = supplyChainMapper.updatezhishuiOrderRegimentalSettleAmount(oid, cpsOrderStatus);
|
|
|
|
+ if (zhishui > 0) {
|
|
|
|
+ return zhishui;
|
|
|
|
+ }
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
@@ -646,11 +686,15 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
|
|
return rocket;
|
|
return rocket;
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
int yuxiu = supplyChainMapper.updateYuxiuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
|
|
int yuxiu = supplyChainMapper.updateYuxiuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
|
|
if (yuxiu > 0) {
|
|
if (yuxiu > 0) {
|
|
return yuxiu;
|
|
return yuxiu;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ int zhishui = supplyChainMapper.updatezhishuiOrderRegimentalSettleAmount(oid, cpsOrderStatus);
|
|
|
|
+ if (zhishui > 0) {
|
|
|
|
+ return zhishui;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
if ("yuxiu".equals(ownershipId)) {
|
|
if ("yuxiu".equals(ownershipId)) {
|
|
int yuxiu = supplyChainMapper.updateYuxiuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
|
|
int yuxiu = supplyChainMapper.updateYuxiuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
|
|
@@ -673,8 +717,41 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
|
|
if (yufu > 0) {
|
|
if (yufu > 0) {
|
|
return yufu;
|
|
return yufu;
|
|
}
|
|
}
|
|
|
|
+ int zhishui = supplyChainMapper.updatezhishuiOrderRegimentalSettleAmount(oid, cpsOrderStatus);
|
|
|
|
+ if (zhishui > 0) {
|
|
|
|
+ return zhishui;
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if ("zhishui".equals(ownershipId)) {
|
|
|
|
+ int zhishui = supplyChainMapper.updatezhishuiOrderRegimentalSettleAmount(oid, cpsOrderStatus);
|
|
|
|
+ if (zhishui > 0) {
|
|
|
|
+ return zhishui;
|
|
|
|
+ }
|
|
|
|
+ int ruixuan = supplyChainMapper.updateRuiXuanOrderRegimentalSettleAmount(oid, cpsOrderStatus);
|
|
|
|
+ if (ruixuan > 0) {
|
|
|
|
+ return ruixuan;
|
|
|
|
+ }
|
|
|
|
+ int mgs = supplyChainMapper.updateMgsOrderRegimentalSettleAmount(oid, cpsOrderStatus);
|
|
|
|
+ if (mgs > 0) {
|
|
|
|
+ return mgs;
|
|
|
|
+ }
|
|
|
|
+ int rocket = supplyChainMapper.updateRocketOrderRegimentalSettleAmount(oid, cpsOrderStatus);
|
|
|
|
+ if (rocket > 0) {
|
|
|
|
+ return rocket;
|
|
|
|
+ }
|
|
|
|
+ int yufu = supplyChainMapper.updateYufuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
|
|
|
|
+ if (yufu > 0) {
|
|
|
|
+ return yufu;
|
|
|
|
+ }
|
|
|
|
+ int yuxiu = supplyChainMapper.updateYuxiuOrderRegimentalSettleAmount(oid, cpsOrderStatus);
|
|
|
|
+ if (yuxiu > 0) {
|
|
|
|
+ return yuxiu;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|