Browse Source

干部评价模块功能调整

dev
李鹏飞 6 years ago
parent
commit
92dedb21bb
  1. 2
      esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/resources/mapper/evaluate/EvaluateInfoDao.xml
  2. 3
      esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/resources/mapper/evaluate/EvaluateOptionDao.xml

2
esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/resources/mapper/evaluate/EvaluateInfoDao.xml

@ -52,7 +52,7 @@
<if test="id != null and id != ''"> <if test="id != null and id != ''">
and info.OFFICER_ID = #{id} and info.OFFICER_ID = #{id}
</if> </if>
<if test="roleCode != null and roleCode != ''"> <if test='roleCode != null and roleCode != "" and roleCode != "0"'>
and info.ROLE_CODE = #{roleCode} and info.ROLE_CODE = #{roleCode}
</if> </if>
<if test="fullName != null and fullName != ''"> <if test="fullName != null and fullName != ''">

3
esua-epdc/epdc-module/epdc-custom/epdc-custom-server/src/main/resources/mapper/evaluate/EvaluateOptionDao.xml

@ -42,6 +42,9 @@
<if test='roleCode != null and roleCode != "" and roleCode != "0"'> <if test='roleCode != null and roleCode != "" and roleCode != "0"'>
and ROLE_CODE = #{roleCode} and ROLE_CODE = #{roleCode}
</if> </if>
<if test='available != null and available != "" '>
and AVAILABLE = #{available}
</if>
order by sort, UPDATED_TIME desc order by sort, UPDATED_TIME desc
</select> </select>

Loading…
Cancel
Save