生成税率和费用名称代码
This commit is contained in:
@ -79,14 +79,14 @@ public class BankServiceImpl extends ServiceImpl<LngBBankMapper, LngBBank> imple
|
|||||||
@Override
|
@Override
|
||||||
public boolean disable(List<Long> ids) {
|
public boolean disable(List<Long> ids) {
|
||||||
DataLogTools.disable(UpdateLngBBankDto.class,ids);
|
DataLogTools.disable(UpdateLngBBankDto.class,ids);
|
||||||
/**
|
|
||||||
for (Long id : ids) {
|
for (Long id : ids) {
|
||||||
String msg = commonCallService.enableBefore(TableNameConstants.LNG_B_PRICE_TERM, id);
|
String msg = commonCallService.enableBefore(TableNameConstants.LNG_B_PRICE_TERM, id);
|
||||||
if (StringUtils.isNotBlank(msg)) {
|
if (StringUtils.isNotBlank(msg)) {
|
||||||
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DB_FUNCTION_EXEC_ERROR, msg));
|
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DB_FUNCTION_EXEC_ERROR, msg));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
**/
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,17 +1,13 @@
|
|||||||
package com.xjrsoft.module.mdm.service.impl;
|
package com.xjrsoft.module.mdm.service.impl;
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
import com.github.yulichang.base.MPJBaseServiceImpl;
|
|
||||||
import com.xjrsoft.module.mdm.entity.LngBFee;
|
import com.xjrsoft.module.mdm.entity.LngBFee;
|
||||||
import com.xjrsoft.module.mdm.mapper.LngBFeeMapper;
|
import com.xjrsoft.module.mdm.mapper.LngBFeeMapper;
|
||||||
import com.xjrsoft.module.mdm.service.IExpenseNameService;
|
import com.xjrsoft.module.mdm.service.IExpenseNameService;
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Objects;
|
|
||||||
import java.util.stream.Collectors;
|
|
||||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @title: service
|
* @title: service
|
||||||
|
|||||||
Reference in New Issue
Block a user