新增字段案引号
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user