---修改备注

This commit is contained in:
2025-11-21 18:05:32 +08:00
parent e33f097105
commit f70bf01752
10 changed files with 15 additions and 16 deletions

View File

@ -28,7 +28,7 @@ import com.pictc.annotations.datalog.ValueDirectionType;
* @Version 1.0 * @Version 1.0
*/ */
@Data @Data
@LogTable(source="lng_customer_attr_power",name="客户") @LogTable(source="lng_customer_attr_power",name="客户业务信息")
public class UpdateLngCustomerAttrPowerDto implements Serializable { public class UpdateLngCustomerAttrPowerDto implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@ -28,7 +28,7 @@ import com.pictc.annotations.datalog.ValueDirectionType;
* @Version 1.0 * @Version 1.0
*/ */
@Data @Data
@LogTable(source="lng_customer_bank",name="客户") @LogTable(source="lng_customer_bank",name="客户银行信息")
public class UpdateLngCustomerBankDto implements Serializable { public class UpdateLngCustomerBankDto implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@ -28,7 +28,7 @@ import com.pictc.annotations.datalog.ValueDirectionType;
* @Version 1.0 * @Version 1.0
*/ */
@Data @Data
@LogTable(source="lng_customer_contact",name="客户") @LogTable(source="lng_customer_contact",name="客户联系人信息")
public class UpdateLngCustomerContactDto implements Serializable { public class UpdateLngCustomerContactDto implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@ -28,7 +28,7 @@ import com.pictc.annotations.datalog.ValueDirectionType;
* @Version 1.0 * @Version 1.0
*/ */
@Data @Data
@LogTable(source="lng_customer_doc",name="客户") @LogTable(source="lng_customer_doc",name="客户证书信息")
public class UpdateLngCustomerDocDto implements Serializable { public class UpdateLngCustomerDocDto implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@ -252,7 +252,7 @@ public class UpdateLngCustomerDto implements Serializable {
* lngCustomerAttrPower * lngCustomerAttrPower
*/ */
@ApiModelProperty("lngCustomerAttrPower子表") @ApiModelProperty("lngCustomerAttrPower子表")
@LogJoin(name = "lngCustomerAttrPower子表", @LogJoin(name = "客户业务信息",
columns = { columns = {
@LogJoinColumn(field = "cuCode",relatedField = "cuCode", valueDirection = ValueDirectionType.RIGHT) @LogJoinColumn(field = "cuCode",relatedField = "cuCode", valueDirection = ValueDirectionType.RIGHT)
}, },
@ -262,7 +262,7 @@ public class UpdateLngCustomerDto implements Serializable {
* lngCustomerBank * lngCustomerBank
*/ */
@ApiModelProperty("lngCustomerBank子表") @ApiModelProperty("lngCustomerBank子表")
@LogJoin(name = "lngCustomerBank子表", @LogJoin(name = "客户银行信息",
columns = { columns = {
@LogJoinColumn(field = "cuCode",relatedField = "cuCode", valueDirection = ValueDirectionType.RIGHT) @LogJoinColumn(field = "cuCode",relatedField = "cuCode", valueDirection = ValueDirectionType.RIGHT)
}, },
@ -272,7 +272,7 @@ public class UpdateLngCustomerDto implements Serializable {
* lngCustomerDoc * lngCustomerDoc
*/ */
@ApiModelProperty("lngCustomerDoc子表") @ApiModelProperty("lngCustomerDoc子表")
@LogJoin(name = "lngCustomerDoc子表", @LogJoin(name = "客户证书信息",
columns = { columns = {
@LogJoinColumn(field = "cuCode",relatedField = "cuCode", valueDirection = ValueDirectionType.RIGHT) @LogJoinColumn(field = "cuCode",relatedField = "cuCode", valueDirection = ValueDirectionType.RIGHT)
}, },
@ -282,8 +282,7 @@ public class UpdateLngCustomerDto implements Serializable {
* lngCustomerContact * lngCustomerContact
*/ */
@ApiModelProperty("lngCustomerContact子表") @ApiModelProperty("lngCustomerContact子表")
@LogJoin(name = "lngCustomerContact子表", @LogJoin(name = "客户联系人信息",columns = {
columns = {
@LogJoinColumn(field = "cuCode",relatedField = "cuCode", valueDirection = ValueDirectionType.RIGHT) @LogJoinColumn(field = "cuCode",relatedField = "cuCode", valueDirection = ValueDirectionType.RIGHT)
}, },
caseType = JoinCaseType.FULL, target = UpdateLngCustomerContactDto.class, type = JoinType.MANY) caseType = JoinCaseType.FULL, target = UpdateLngCustomerContactDto.class, type = JoinType.MANY)

View File

@ -123,9 +123,9 @@ public class CustomerController {
@Override @Override
public UpdateLngCustomerDto after(DataOperationContent<UpdateLngCustomerDto> content) { public UpdateLngCustomerDto after(DataOperationContent<UpdateLngCustomerDto> content) {
String msg = CommonCallUtils.saveAfter(content.getTableName(),content.getIdValue()); String msg = CommonCallUtils.saveAfter(content.getTableName(),content.getIdValue());
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));
} }
codeRuleClient.useEncode(CUSTOMER_CODE); codeRuleClient.useEncode(CUSTOMER_CODE);
return content.getObj(); return content.getObj();
} }

View File

@ -22,7 +22,7 @@ import lombok.Data;
*/ */
@Data @Data
@TableName("lng_customer_attr_power") @TableName("lng_customer_attr_power")
@ApiModel(value = "客户对象", description = "客户") @ApiModel(value = "客户业务信息", description = "客户")
public class LngCustomerAttrPower implements Serializable { public class LngCustomerAttrPower implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@ -25,7 +25,7 @@ import java.util.List;
*/ */
@Data @Data
@TableName("lng_customer_bank") @TableName("lng_customer_bank")
@ApiModel(value = "客户对象", description = "客户") @ApiModel(value = "客户银行信息", description = "客户")
public class LngCustomerBank implements Serializable { public class LngCustomerBank implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@ -25,7 +25,7 @@ import java.util.List;
*/ */
@Data @Data
@TableName("lng_customer_contact") @TableName("lng_customer_contact")
@ApiModel(value = "客户对象", description = "客户") @ApiModel(value = "客户-联系人", description = "客户")
public class LngCustomerContact implements Serializable { public class LngCustomerContact implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;

View File

@ -25,7 +25,7 @@ import java.util.List;
*/ */
@Data @Data
@TableName("lng_customer_doc") @TableName("lng_customer_doc")
@ApiModel(value = "客户对象", description = "客户") @ApiModel(value = "客户-资质证书", description = "客户")
public class LngCustomerDoc implements Serializable { public class LngCustomerDoc implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;