feat:法大大一期 限制提交去掉
This commit is contained in:
@@ -102,9 +102,9 @@ public class FranchiseFeeServiceImpl implements FranchiseFeeService {
|
|||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public Boolean update(FranchiseFeeRequest request) {
|
public Boolean update(FranchiseFeeRequest request) {
|
||||||
ShopStageInfoDO shopStageInfo = shopStageInfoDAO.getShopSubStageInfo(request.getShopId(), ShopSubStageEnum.SHOP_STAGE_7);
|
ShopStageInfoDO shopStageInfo = shopStageInfoDAO.getShopSubStageInfo(request.getShopId(), ShopSubStageEnum.SHOP_STAGE_7);
|
||||||
if (shopStageInfo.getShopSubStageStatus().equals(SHOP_SUB_STAGE_STATUS_73.getShopSubStageStatus())){
|
// if (shopStageInfo.getShopSubStageStatus().equals(SHOP_SUB_STAGE_STATUS_73.getShopSubStageStatus())){
|
||||||
throw new ServiceException(ErrorCodeEnum.NOT_ALLOW_OPERATE);
|
// throw new ServiceException(ErrorCodeEnum.NOT_ALLOW_OPERATE);
|
||||||
}
|
// }
|
||||||
FranchiseFeeDO franchiseFeeDO = request.toFranchiseFeeDO();
|
FranchiseFeeDO franchiseFeeDO = request.toFranchiseFeeDO();
|
||||||
FranchiseFeeDO franchiseFeeDO1 = franchiseFeeMapper.selectByShopId(request.getShopId());
|
FranchiseFeeDO franchiseFeeDO1 = franchiseFeeMapper.selectByShopId(request.getShopId());
|
||||||
if (Objects.nonNull(franchiseFeeDO1)) {
|
if (Objects.nonNull(franchiseFeeDO1)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user