Commit ee3db2392d779471c18e44a4082371aa159bc4db
1 parent
29a5baafaf
Exists in
master
and in
1 other branch
add data import :机构、部门、用户(医生)
Showing 1 changed file with 8 additions and 8 deletions
platform-biz-service/src/main/resources/mainOrm/Users.xml
View file @
ee3db23
... | ... | @@ -218,7 +218,7 @@ |
218 | 218 | </if> |
219 | 219 | <if test="yn != null"> |
220 | 220 | and u.yn = #{yn,jdbcType=INTEGER} |
221 | - and ur.yn = #{yn,jdbcType=INTEGER} | |
221 | +-- and ur.yn = #{yn,jdbcType=INTEGER} | |
222 | 222 | </if> |
223 | 223 | <if test="type != null"> |
224 | 224 | and u.type = #{type,jdbcType=INTEGER} |
225 | 225 | |
226 | 226 | |
227 | 227 | |
228 | 228 | |
229 | 229 | |
230 | 230 | |
... | ... | @@ -235,23 +235,23 @@ |
235 | 235 | <if test="keyword != null and keyword != ''"> |
236 | 236 | and name like CONCAT(#{keyword}, '%') |
237 | 237 | </if> |
238 | - <if test="ksId != null and ksId != ''"> | |
238 | + <if test="ksId != null"> | |
239 | 239 | and u.ks_id = #{ksId,jdbcType=INTEGER} |
240 | 240 | </if> |
241 | - <if test="orgId != null and orgId != ''"> | |
241 | + <if test="orgId != null"> | |
242 | 242 | and u.org_id = #{orgId,jdbcType=INTEGER} |
243 | 243 | </if> |
244 | - <if test="deptId != null and deptId != ''"> | |
244 | + <if test="deptId != null"> | |
245 | 245 | and u.dept_id = #{deptId,jdbcType=INTEGER} |
246 | 246 | </if> |
247 | - <if test="roleId != null and roleId != ''"> | |
247 | + <if test="roleId != null"> | |
248 | 248 | and ur.role_id = #{roleId,jdbcType=INTEGER} |
249 | 249 | </if> |
250 | - <if test="yn != null and yn != ''"> | |
250 | + <if test="yn != null"> | |
251 | 251 | and u.yn = #{yn,jdbcType=INTEGER} |
252 | - and ur.yn = #{yn,jdbcType=INTEGER} | |
252 | + -- and ur.yn = #{yn,jdbcType=INTEGER} | |
253 | 253 | </if> |
254 | - <if test="type != null and type != ''"> | |
254 | + <if test="type != null"> | |
255 | 255 | and u.type = #{type,jdbcType=INTEGER} |
256 | 256 | </if> |
257 | 257 | </select> |