|
|
@@ -190,7 +190,7 @@ public class LifeGroupBuyServiceImpl extends ServiceImpl<LifeGroupBuyMainMapper,
|
|
|
public boolean updateStatus(String id, String status, String approvalComments) {
|
|
|
lifeGroupBuyMainMapper.update(null, new LambdaUpdateWrapper<LifeGroupBuyMain>().eq(LifeGroupBuyMain::getId, id).set(LifeGroupBuyMain::getStatus, status).set(LifeGroupBuyMain::getApprovalComments, approvalComments));
|
|
|
//处理中台审核记录
|
|
|
- if(StringUtils.isNotEmpty(id) && StringUtils.isNotEmpty(status) && status.equals("2")){
|
|
|
+ if(StringUtils.isNotEmpty(id) && StringUtils.isNotEmpty(status) && (status.equals("2") || status.equals("3"))){
|
|
|
LambdaUpdateWrapper<WebAudit> wrapper = new LambdaUpdateWrapper<>();
|
|
|
wrapper.eq(WebAudit::getLifeGroupPackageId, id);
|
|
|
wrapper.set(WebAudit::getStatus, "1");
|