1.0.63 回款阶段添加付款节点、付款条款模板字段

dev
yinq 2 months ago
parent b057eb6f7c
commit 8b9f66dd12

@ -42,6 +42,16 @@ public class BasePaymentStage extends TenantEntity {
*/ */
private String collectionStage; private String collectionStage;
/**
*
*/
private String paymentMethod;
/**
*
*/
private String paymentTemplate;
/** /**
* *
*/ */

@ -33,15 +33,25 @@ public class BasePaymentStageBo extends BaseEntity {
/** /**
* *
*/ */
@NotBlank(message = "阶段名称不能为空", groups = { AddGroup.class, EditGroup.class }) @NotBlank(message = "阶段名称不能为空", groups = {AddGroup.class, EditGroup.class})
private String stageName; private String stageName;
/** /**
* *
*/ */
@NotBlank(message = "回款阶段(关联各节点,提示用)不能为空", groups = { AddGroup.class, EditGroup.class }) @NotBlank(message = "回款阶段(关联各节点,提示用)不能为空", groups = {AddGroup.class, EditGroup.class})
private String collectionStage; private String collectionStage;
/**
*
*/
private String paymentMethod;
/**
*
*/
private String paymentTemplate;
/** /**
* *
*/ */

@ -13,7 +13,6 @@ import java.io.Serializable;
import java.util.Date; import java.util.Date;
/** /**
* base_payment_stage * base_payment_stage
* *
@ -53,6 +52,18 @@ public class BasePaymentStageVo implements Serializable {
@ExcelDictFormat(dictType = "collection_stage") @ExcelDictFormat(dictType = "collection_stage")
private String collectionStage; private String collectionStage;
/**
*
*/
@ExcelProperty(value = "付款节点")
private String paymentMethod;
/**
*
*/
@ExcelProperty(value = "付款条款模板")
private String paymentTemplate;
/** /**
* *
*/ */

@ -77,7 +77,8 @@ public class BasePaymentStageServiceImpl implements IBasePaymentStageService {
.eq(StringUtils.isNotBlank(bo.getStageCode()), BasePaymentStage::getStageCode, bo.getStageCode()) .eq(StringUtils.isNotBlank(bo.getStageCode()), BasePaymentStage::getStageCode, bo.getStageCode())
.like(StringUtils.isNotBlank(bo.getStageName()), BasePaymentStage::getStageName, bo.getStageName()) .like(StringUtils.isNotBlank(bo.getStageName()), BasePaymentStage::getStageName, bo.getStageName())
.eq(StringUtils.isNotBlank(bo.getCollectionStage()), BasePaymentStage::getCollectionStage, bo.getCollectionStage()) .eq(StringUtils.isNotBlank(bo.getCollectionStage()), BasePaymentStage::getCollectionStage, bo.getCollectionStage())
.eq(bo.getSortOrder() != null, BasePaymentStage::getSortOrder, bo.getSortOrder()); .eq(bo.getSortOrder() != null, BasePaymentStage::getSortOrder, bo.getSortOrder())
.orderByAsc(BasePaymentStage::getSortOrder);
return lqw; return lqw;
} }

@ -12,6 +12,8 @@
stage_code, stage_code,
stage_name, stage_name,
collection_stage, collection_stage,
payment_method,
payment_template,
sort_order, sort_order,
remark, remark,
del_flag, del_flag,

Loading…
Cancel
Save