feat(credit): 添加客户流程步骤字段支持

- 在CreditMpCustomer实体中新增step字段用于跟踪客户流程步骤
- 更新status字段描述从"0正常, 1冻结"改为"0未受理, 1已受理"
- 在CreditMpCustomerMapper.xml中添加step查询条件支持
- 在CreditMpCustomerParam参数类中添加step查询字段
- 定义步骤状态:0未受理1已受理2材料提交3合同签订4执行回款5完结
This commit is contained in:
2026-03-19 16:13:03 +08:00
parent 3b723a74c6
commit 77a276e643
3 changed files with 11 additions and 1 deletions

View File

@@ -61,6 +61,9 @@ public class CreditMpCustomer implements Serializable {
@Schema(description = "是否有数据") @Schema(description = "是否有数据")
private Boolean hasData; private Boolean hasData;
@Schema(description = "步骤, 0未受理1已受理2材料提交3合同签订4执行回款5完结")
private Integer step;
@Schema(description = "备注") @Schema(description = "备注")
private String comments; private String comments;
@@ -70,7 +73,7 @@ public class CreditMpCustomer implements Serializable {
@Schema(description = "排序(数字越小越靠前)") @Schema(description = "排序(数字越小越靠前)")
private Integer sortNumber; private Integer sortNumber;
@Schema(description = "状态, 0正常, 1冻结") @Schema(description = "状态, 0未受理, 1已受理")
private Integer status; private Integer status;
@Schema(description = "是否删除, 0否, 1是") @Schema(description = "是否删除, 0否, 1是")

View File

@@ -65,6 +65,9 @@
<if test="param.userId != null"> <if test="param.userId != null">
AND a.user_id = #{param.userId} AND a.user_id = #{param.userId}
</if> </if>
<if test="param.step != null">
AND a.step = #{param.step}
</if>
<if test="param.createTimeStart != null"> <if test="param.createTimeStart != null">
AND a.create_time &gt;= #{param.createTimeStart} AND a.create_time &gt;= #{param.createTimeStart}
</if> </if>

View File

@@ -61,6 +61,10 @@ public class CreditMpCustomerParam extends BaseParam {
@QueryField(type = QueryType.EQ) @QueryField(type = QueryType.EQ)
private Boolean hasData; private Boolean hasData;
@Schema(description = "步骤, 0未受理1已受理2材料提交3合同签订4执行回款5完结")
@QueryField(type = QueryType.EQ)
private Integer step;
@Schema(description = "备注") @Schema(description = "备注")
private String comments; private String comments;