ソースを参照

矿山域-流程管理

ltt 1 年間 前
コミット
2b9ccd5b74

+ 2 - 0
business-modules/business-mine/src/main/java/com/sckw/mine/entity/req/WorkFlowPageListParam.java

@@ -35,4 +35,6 @@ public class WorkFlowPageListParam {
     private Date startTime;
     @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private Date endTime;
+
+    private String createBy;
 }

+ 3 - 0
business-modules/business-mine/src/main/resources/mapper/WorkFlowMapper.xml

@@ -48,6 +48,9 @@
             <if test="param.tenantId != null and param.tenantId != ''">
                and tenant_id = #{param.tenantId}
             </if>
+            <if test="param.createBy != null and param.createBy != ''">
+                and create_by like concat('%',#{param.createBy},'%')
+            </if>
             <if test="param.id != null">
                 and id = #{param.id}
             </if>