默认值优化2
This commit is contained in:
@@ -100,6 +100,8 @@ public class FranchiseFeeServiceImpl implements FranchiseFeeService {
|
||||
if (Constants.ZERO_INTEGER.equals(request.getStatus())) {
|
||||
shopAuditInfoDO.setPassReason(request.getResult());
|
||||
shopSubStageStatusEnum = ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_73;
|
||||
//更新阶段信息
|
||||
shopStageInfoDAO.updateShopStageInfo(request.getShopId(), ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_80);
|
||||
} else if (Constants.ONE_INTEGER.equals(request.getStatus())) {
|
||||
shopAuditInfoDO.setRejectReason(request.getResult());
|
||||
shopSubStageStatusEnum = ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_74;
|
||||
@@ -109,8 +111,6 @@ public class FranchiseFeeServiceImpl implements FranchiseFeeService {
|
||||
}
|
||||
//插入audit
|
||||
shopAuditInfoMapper.insertSelective(shopAuditInfoDO);
|
||||
//更新阶段信息
|
||||
shopStageInfoDAO.updateShopStageInfo(request.getShopId(), ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_80);
|
||||
shopStageInfoDAO.updateShopStageAndAuditInfo(request.getShopId(), shopSubStageStatusEnum, shopAuditInfoDO.getId());
|
||||
//更新auditId
|
||||
FranchiseFeeDO franchiseFeeDO = franchiseFeeMapper.selectByPrimaryKey(request.getId());
|
||||
|
||||
Reference in New Issue
Block a user