|
|
@@ -517,8 +517,8 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
@Override
|
|
|
public void adjustGroupsParkingTime(Long relationId, GoodsDonSku sku) {
|
|
|
Long skuId = sku.getId();
|
|
|
- //更新GPT Plus10人、4人月付车队状态
|
|
|
- if (skuId == 161l || skuId == 178l) {
|
|
|
+ //更新GPT Plus10人、4人月付车队状态 待优化
|
|
|
+ if (skuId == 161l || skuId == 178l || skuId == 422l || skuId == 423l) {
|
|
|
GroupsRelation relation = groupsRelationMapper.selectById(relationId);
|
|
|
Long groupsId = relation.getGroupsId();
|
|
|
GroupsTrips groupsTrips = groupsMapper.selectById(groupsId);
|
|
|
@@ -528,7 +528,7 @@ public class GroupRelationFrontServiceImpl implements GroupRelationFrontService
|
|
|
return;
|
|
|
}
|
|
|
Integer extraNum = 5;
|
|
|
- if (skuId == 178l) {
|
|
|
+ if (skuId == 178l || skuId == 423l) {
|
|
|
extraNum = 2;
|
|
|
}
|
|
|
Integer maxNum = sku.getNum() + extraNum;
|