|
@@ -21,6 +21,9 @@
|
|
<if test="dto.createBy != null and dto.createBy != '' ">
|
|
<if test="dto.createBy != null and dto.createBy != '' ">
|
|
AND p.create_by LIKE CONCAT(CONCAT('%',#{dto.createBy}),'%')
|
|
AND p.create_by LIKE CONCAT(CONCAT('%',#{dto.createBy}),'%')
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="dto.instanceId != null">
|
|
|
|
+ AND i.id = #{dto.instanceId}
|
|
|
|
+ </if>
|
|
<if test="dto.instanceState != null">
|
|
<if test="dto.instanceState != null">
|
|
AND i.instance_state = #{dto.instanceState}
|
|
AND i.instance_state = #{dto.instanceState}
|
|
</if>
|
|
</if>
|