Merge branch 'dev' of http://47.94.165.164:13000/geg-gas/geg-gas-pcitc into dev
This commit is contained in:
@ -1,14 +1,9 @@
|
||||
package com.xjrsoft.module.mdm.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import com.xjrsoft.common.annotation.Trans;
|
||||
import com.xjrsoft.common.enums.TransType;
|
||||
import java.time.LocalTime;
|
||||
import java.time.LocalDateTime;
|
||||
import java.math.BigDecimal;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @title: 分页列表出参
|
||||
@ -38,25 +33,25 @@ public class LngBDocCpPageVo {
|
||||
* 供应商适用(Y-是,N-否)
|
||||
*/
|
||||
@ApiModelProperty("供应商适用(Y-是,N-否)")
|
||||
@Trans(type = TransType.DIC, id = "1676483934342787074")
|
||||
@Trans(type = TransType.DIC, id = "1978056598125330433")
|
||||
private String suSign;
|
||||
/**
|
||||
* 供应商必须提供(Y-是,N-否;供应商适用N时置为N且只读)
|
||||
*/
|
||||
@ApiModelProperty("供应商必须提供(Y-是,N-否;供应商适用N时置为N且只读)")
|
||||
@Trans(type = TransType.DIC, id = "1676831752869834753")
|
||||
@Trans(type = TransType.DIC, id = "1978056598125330433")
|
||||
private String suNecSign;
|
||||
/**
|
||||
* 客户适用(Y-是,N-否)
|
||||
*/
|
||||
@ApiModelProperty("客户适用(Y-是,N-否)")
|
||||
@Trans(type = TransType.DIC, id = "1679007059387240450")
|
||||
@Trans(type = TransType.DIC, id = "1978056598125330433")
|
||||
private String cuSign;
|
||||
/**
|
||||
* 客户必须提供(Y-是,N-否;客户适用N时置为N且只读)
|
||||
*/
|
||||
@ApiModelProperty("客户必须提供(Y-是,N-否;客户适用N时置为N且只读)")
|
||||
@Trans(type = TransType.DIC, id = "1679010661178691585")
|
||||
@Trans(type = TransType.DIC, id = "1978056598125330433")
|
||||
private String cuNecSign;
|
||||
/**
|
||||
* 有效标志(Y-有效,N-无效)
|
||||
|
||||
@ -78,9 +78,9 @@ public class BankServiceImpl extends ServiceImpl<LngBBankMapper, LngBBank> imple
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean disable(List<Long> ids) {
|
||||
DataLogTools.disable(UpdateLngBBankDto.class,ids);
|
||||
|
||||
|
||||
for (Long id : ids) {
|
||||
String msg = commonCallService.enableBefore(TableNameConstants.LNG_B_BANK, id);
|
||||
String msg = commonCallService.disableBefore(TableNameConstants.LNG_B_BANK, id);
|
||||
if (StringUtils.isNotBlank(msg)) {
|
||||
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DB_FUNCTION_EXEC_ERROR, msg));
|
||||
}
|
||||
|
||||
@ -76,7 +76,7 @@ public class CountryRegionServiceImpl extends ServiceImpl<LngBRegionMapper, LngB
|
||||
public boolean disable(List<Long> ids) {
|
||||
dataService.disable(UpdateLngBRegionDto.class,ids);
|
||||
for (Long id : ids) {
|
||||
String msg = commonCallService.enableBefore(TableNameConstants.LNG_B_REGION, id);
|
||||
String msg = commonCallService.disableBefore(TableNameConstants.LNG_B_REGION, id);
|
||||
if (StringUtils.isNotBlank(msg)) {
|
||||
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DB_FUNCTION_EXEC_ERROR, msg));
|
||||
}
|
||||
|
||||
@ -72,7 +72,7 @@ public class ExpenseNameServiceImpl extends ServiceImpl<LngBFeeMapper, LngBFee>
|
||||
public Boolean disable(List<Long> ids) {
|
||||
DataLogTools.disable(UpdateLngBBankDto.class,ids);
|
||||
for (Long id : ids) {
|
||||
String msg = commonCallService.enableBefore(TableNameConstants.LNG_B_FEE, id);
|
||||
String msg = commonCallService.disableBefore(TableNameConstants.LNG_B_FEE, id);
|
||||
if (StringUtils.isNotBlank(msg)) {
|
||||
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DB_FUNCTION_EXEC_ERROR, msg));
|
||||
}
|
||||
|
||||
@ -80,7 +80,7 @@ public class PipeGasDownloadPointServiceImpl extends ServiceImpl<LngBStationPngM
|
||||
DataLogTools.disable(UpdateLngBStationPngDto.class,ids);
|
||||
|
||||
for (Long id : ids) {
|
||||
String msg = commonCallService.enableBefore(TableNameConstants.LNG_B_STATION_PNG, id);
|
||||
String msg = commonCallService.disableBefore(TableNameConstants.LNG_B_STATION_PNG, id);
|
||||
if (StringUtils.isNotBlank(msg)) {
|
||||
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DB_FUNCTION_EXEC_ERROR, msg));
|
||||
}
|
||||
|
||||
@ -88,7 +88,7 @@ public class PipelineGgasLineServiceImpl extends ServiceImpl<LngBPngLineMapper,
|
||||
DataLogTools.disable(UpdateLngBPngLineDto.class,ids);
|
||||
|
||||
for (Long id : ids) {
|
||||
String msg = commonCallService.enableBefore(TableNameConstants.LNG_B_PNG_LINE, id);
|
||||
String msg = commonCallService.disableBefore(TableNameConstants.LNG_B_PNG_LINE, id);
|
||||
if (StringUtils.isNotBlank(msg)) {
|
||||
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DB_FUNCTION_EXEC_ERROR, msg));
|
||||
}
|
||||
|
||||
@ -72,7 +72,7 @@ public class TaxRateServiceImpl extends ServiceImpl<LngBTaxMapper, LngBTax> impl
|
||||
public Boolean disable(List<Long> ids) {
|
||||
DataLogTools.disable(UpdateLngBBankDto.class,ids);
|
||||
for (Long id : ids) {
|
||||
String msg = commonCallService.enableBefore(TableNameConstants.LNG_B_TAX, id);
|
||||
String msg = commonCallService.disableBefore(TableNameConstants.LNG_B_TAX, id);
|
||||
if (StringUtils.isNotBlank(msg)) {
|
||||
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DB_FUNCTION_EXEC_ERROR, msg));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user