Commit dfa8879e by hzc

测试获取申请数据

parent 75fce46f
......@@ -4,10 +4,10 @@
<sql id="whereSql">
where 1=1
<if test="userId!=null and userId!=''">
user_id= #{userId}
and user_id= #{userId}
</if>
<if test="statusArr!=null">
status in (
and status in (
<foreach collection="statusArr" item="status">
#{status}
</foreach>
......@@ -25,7 +25,7 @@
parameterType="com.keymobile.indicators.model.entity.indicators.BaseIndDefAuditParams">
select * from base_ind_def_audit
<include refid="whereSql"></include>
order by status asc ,update_time desc
order by status asc,update_time desc
limit #{offset}, #{size}
</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