新增字段案引号

This commit is contained in:
2026-02-02 10:17:10 +08:00
parent 32f48732f4
commit bfbc7ba24b
3 changed files with 9 additions and 0 deletions

View File

@@ -41,6 +41,9 @@ public class PwlProject implements Serializable {
@Schema(description = "项目标识") @Schema(description = "项目标识")
private String code; private String code;
@Schema(description = "案引号")
private String caseIndex;
@Schema(description = "上级id, 0是顶级") @Schema(description = "上级id, 0是顶级")
private Integer parentId; private Integer parentId;

View File

@@ -21,6 +21,9 @@
<if test="param.code != null"> <if test="param.code != null">
AND a.code LIKE CONCAT('%', #{param.code}, '%') AND a.code LIKE CONCAT('%', #{param.code}, '%')
</if> </if>
<if test="param.caseIndex != null">
AND a.case_index LIKE CONCAT('%', #{param.caseIndex}, '%')
</if>
<if test="param.parentId != null"> <if test="param.parentId != null">
AND a.parent_id = #{param.parentId} AND a.parent_id = #{param.parentId}
</if> </if>

View File

@@ -40,6 +40,9 @@ public class PwlProjectParam extends BaseParam {
@Schema(description = "项目标识") @Schema(description = "项目标识")
private String code; private String code;
@Schema(description = "案引号")
private String caseIndex;
@Schema(description = "上级id, 0是顶级") @Schema(description = "上级id, 0是顶级")
@QueryField(type = QueryType.EQ) @QueryField(type = QueryType.EQ)
private Integer parentId; private Integer parentId;