Commit dfa8879e by hzc

测试获取申请数据

parent 75fce46f
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<sql id="whereSql"> <sql id="whereSql">
where 1=1 where 1=1
<if test="userId!=null and userId!=''"> <if test="userId!=null and userId!=''">
user_id= #{userId} and user_id= #{userId}
</if> </if>
<if test="statusArr!=null"> <if test="statusArr!=null">
status in ( and status in (
<foreach collection="statusArr" item="status"> <foreach collection="statusArr" item="status">
#{status} #{status}
</foreach> </foreach>
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
parameterType="com.keymobile.indicators.model.entity.indicators.BaseIndDefAuditParams"> parameterType="com.keymobile.indicators.model.entity.indicators.BaseIndDefAuditParams">
select * from base_ind_def_audit select * from base_ind_def_audit
<include refid="whereSql"></include> <include refid="whereSql"></include>
order by status asc ,update_time desc order by status asc,update_time desc
limit #{offset}, #{size} limit #{offset}, #{size}
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment