---修改备注
This commit is contained in:
@ -28,7 +28,7 @@ import com.pictc.annotations.datalog.ValueDirectionType;
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
@LogTable(source="lng_customer_attr_power",name="客户")
|
||||
@LogTable(source="lng_customer_attr_power",name="客户业务信息")
|
||||
public class UpdateLngCustomerAttrPowerDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ -28,7 +28,7 @@ import com.pictc.annotations.datalog.ValueDirectionType;
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
@LogTable(source="lng_customer_bank",name="客户")
|
||||
@LogTable(source="lng_customer_bank",name="客户银行信息")
|
||||
public class UpdateLngCustomerBankDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ -28,7 +28,7 @@ import com.pictc.annotations.datalog.ValueDirectionType;
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
@LogTable(source="lng_customer_contact",name="客户")
|
||||
@LogTable(source="lng_customer_contact",name="客户联系人信息")
|
||||
public class UpdateLngCustomerContactDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ -28,7 +28,7 @@ import com.pictc.annotations.datalog.ValueDirectionType;
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
@LogTable(source="lng_customer_doc",name="客户")
|
||||
@LogTable(source="lng_customer_doc",name="客户证书信息")
|
||||
public class UpdateLngCustomerDocDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ -252,7 +252,7 @@ public class UpdateLngCustomerDto implements Serializable {
|
||||
* lngCustomerAttrPower
|
||||
*/
|
||||
@ApiModelProperty("lngCustomerAttrPower子表")
|
||||
@LogJoin(name = "lngCustomerAttrPower子表",
|
||||
@LogJoin(name = "客户业务信息",
|
||||
columns = {
|
||||
@LogJoinColumn(field = "cuCode",relatedField = "cuCode", valueDirection = ValueDirectionType.RIGHT)
|
||||
},
|
||||
@ -262,7 +262,7 @@ public class UpdateLngCustomerDto implements Serializable {
|
||||
* lngCustomerBank
|
||||
*/
|
||||
@ApiModelProperty("lngCustomerBank子表")
|
||||
@LogJoin(name = "lngCustomerBank子表",
|
||||
@LogJoin(name = "客户银行信息",
|
||||
columns = {
|
||||
@LogJoinColumn(field = "cuCode",relatedField = "cuCode", valueDirection = ValueDirectionType.RIGHT)
|
||||
},
|
||||
@ -272,7 +272,7 @@ public class UpdateLngCustomerDto implements Serializable {
|
||||
* lngCustomerDoc
|
||||
*/
|
||||
@ApiModelProperty("lngCustomerDoc子表")
|
||||
@LogJoin(name = "lngCustomerDoc子表",
|
||||
@LogJoin(name = "客户证书信息",
|
||||
columns = {
|
||||
@LogJoinColumn(field = "cuCode",relatedField = "cuCode", valueDirection = ValueDirectionType.RIGHT)
|
||||
},
|
||||
@ -282,8 +282,7 @@ public class UpdateLngCustomerDto implements Serializable {
|
||||
* lngCustomerContact
|
||||
*/
|
||||
@ApiModelProperty("lngCustomerContact子表")
|
||||
@LogJoin(name = "lngCustomerContact子表",
|
||||
columns = {
|
||||
@LogJoin(name = "客户联系人信息",columns = {
|
||||
@LogJoinColumn(field = "cuCode",relatedField = "cuCode", valueDirection = ValueDirectionType.RIGHT)
|
||||
},
|
||||
caseType = JoinCaseType.FULL, target = UpdateLngCustomerContactDto.class, type = JoinType.MANY)
|
||||
|
||||
@ -123,9 +123,9 @@ public class CustomerController {
|
||||
@Override
|
||||
public UpdateLngCustomerDto after(DataOperationContent<UpdateLngCustomerDto> content) {
|
||||
String msg = CommonCallUtils.saveAfter(content.getTableName(),content.getIdValue());
|
||||
if (StringUtils.isNotBlank(msg)) {
|
||||
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DB_FUNCTION_EXEC_ERROR, msg));
|
||||
}
|
||||
if (StringUtils.isNotBlank(msg)) {
|
||||
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DB_FUNCTION_EXEC_ERROR, msg));
|
||||
}
|
||||
codeRuleClient.useEncode(CUSTOMER_CODE);
|
||||
return content.getObj();
|
||||
}
|
||||
|
||||
@ -22,7 +22,7 @@ import lombok.Data;
|
||||
*/
|
||||
@Data
|
||||
@TableName("lng_customer_attr_power")
|
||||
@ApiModel(value = "客户对象", description = "客户")
|
||||
@ApiModel(value = "客户业务信息", description = "客户")
|
||||
public class LngCustomerAttrPower implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ -25,7 +25,7 @@ import java.util.List;
|
||||
*/
|
||||
@Data
|
||||
@TableName("lng_customer_bank")
|
||||
@ApiModel(value = "客户对象", description = "客户")
|
||||
@ApiModel(value = "客户银行信息", description = "客户")
|
||||
public class LngCustomerBank implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ -25,7 +25,7 @@ import java.util.List;
|
||||
*/
|
||||
@Data
|
||||
@TableName("lng_customer_contact")
|
||||
@ApiModel(value = "客户对象", description = "客户")
|
||||
@ApiModel(value = "客户-联系人", description = "客户")
|
||||
public class LngCustomerContact implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ -25,7 +25,7 @@ import java.util.List;
|
||||
*/
|
||||
@Data
|
||||
@TableName("lng_customer_doc")
|
||||
@ApiModel(value = "客户对象", description = "客户")
|
||||
@ApiModel(value = "客户-资质证书", description = "客户")
|
||||
public class LngCustomerDoc implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
Reference in New Issue
Block a user