Commit 29a5baafaf17c4c2ab1ad7e6638c97b009bf3580

Authored by baohanddd
1 parent 7e0ef95943

add data import :机构、部门、用户(医生)

Showing 1 changed file with 6 additions and 6 deletions

platform-biz-service/src/main/resources/mainOrm/Users.xml View file @ 29a5baa
... ... @@ -204,23 +204,23 @@
204 204 <if test="keyword != null and keyword != ''">
205 205 and name like CONCAT(#{keyword}, '%')
206 206 </if>
207   - <if test="ksId != null and ksId != ''">
  207 + <if test="ksId != null">
208 208 and u.ks_id = #{ksId,jdbcType=INTEGER}
209 209 </if>
210   - <if test="orgId != null and orgId != ''">
  210 + <if test="orgId != null">
211 211 and u.org_id = #{orgId,jdbcType=INTEGER}
212 212 </if>
213   - <if test="deptId != null and deptId != ''">
  213 + <if test="deptId != null">
214 214 and u.dept_id = #{deptId,jdbcType=INTEGER}
215 215 </if>
216   - <if test="roleId != null and roleId != ''">
  216 + <if test="roleId != null">
217 217 and ur.role_id = #{roleId,jdbcType=INTEGER}
218 218 </if>
219   - <if test="yn != null and yn != ''">
  219 + <if test="yn != null">
220 220 and u.yn = #{yn,jdbcType=INTEGER}
221 221 and ur.yn = #{yn,jdbcType=INTEGER}
222 222 </if>
223   - <if test="type != null and type != ''">
  223 + <if test="type != null">
224 224 and u.type = #{type,jdbcType=INTEGER}
225 225 </if>
226 226 <include refid="orderAndLimit"/>