Commit 3c361f48 authored by 盖献康's avatar 盖献康

Merge remote-tracking branch 'origin/dev' into dev

parents db5790d6 eecab2bc
...@@ -57,28 +57,28 @@ ...@@ -57,28 +57,28 @@
where where
su.del_flag = 0 su.del_flag = 0
<if test="entity.userType !=null and entity.userType != '' "> <if test="entity.userType !=null and entity.userType != '' ">
and user_type = #{entity.userType} and su.user_type = #{entity.userType}
</if> </if>
<if test="entity.name !=null and entity.name != '' "> <if test="entity.name !=null and entity.name != '' ">
and name like concat ("%",#{entity.name},"%") and su.name like concat ("%",#{entity.name},"%")
</if> </if>
<if test="entity.identity !=null and entity.identity != '' "> <if test="entity.identity !=null and entity.identity != '' ">
and identity = #{entity.identity} and su.identity = #{entity.identity}
</if> </if>
<if test="entity.flag !=null and entity.flag != '' "> <if test="entity.flag !=null and entity.flag != '' ">
and flag = #{entity.flag} and su.flag = #{entity.flag}
</if> </if>
<if test="entity.position !=null and entity.position != '' "> <if test="entity.position !=null and entity.position != '' ">
and position in(${entity.position}) and su.position in(${entity.position})
</if> </if>
<if test="entity.blacklistFlag == 1 || entity.blacklistFlag == 0"> <if test="entity.blacklistFlag == 1 || entity.blacklistFlag == 0">
and blacklist_flag = #{entity.blacklistFlag} and blacklist_flag = #{entity.blacklistFlag}
</if> </if>
<if test="entity.deptId !=null and entity.deptId != '' "> <if test="entity.deptId !=null and entity.deptId != '' ">
and dept_id in(${entity.deptId}) and su.dept_id in(${entity.deptId})
</if> </if>
<if test="entity.phone !=null and entity.phone != '' "> <if test="entity.phone !=null and entity.phone != '' ">
and phone like concat ("%",#{entity.phone},"%") and su.phone like concat ("%",#{entity.phone},"%")
</if> </if>
<if test="entity.beginTime != null and entity.beginTime !='' "><!-- 开始时间检索 --> <if test="entity.beginTime != null and entity.beginTime !='' "><!-- 开始时间检索 -->
and date_format(su.create_date,'%Y-%m-%d') &gt;= date_format(#{entity.beginTime},'%Y-%m-%d') and date_format(su.create_date,'%Y-%m-%d') &gt;= date_format(#{entity.beginTime},'%Y-%m-%d')
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
and date_format(su.create_date,'%Y-%m-%d') &lt;= date_format(#{entity.endTime},'%Y-%m-%d') and date_format(su.create_date,'%Y-%m-%d') &lt;= date_format(#{entity.endTime},'%Y-%m-%d')
</if> </if>
<if test="entity.px == '1'.toString() "><!-- 排序--> <if test="entity.px == '1'.toString() "><!-- 排序-->
order BY create_date desc order BY su.create_date desc
</if> </if>
<if test="entity.px == '2'.toString() "><!-- 排序--> <if test="entity.px == '2'.toString() "><!-- 排序-->
order BY sdd.dict_sort desc order BY sdd.dict_sort desc
......
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