|
|
@ -145,6 +145,10 @@ |
|
|
|
<where> |
|
|
|
and `bms_master_user`.`type` = 'center' |
|
|
|
<include refid="whereMasterUserBaseCondition"></include> |
|
|
|
<if test="query.userCode != null and query.userCode != ''"> and `sys_user`.`code` LIKE CONCAT('%',#{query.userCode},'%') </if> |
|
|
|
<if test="query.userName != null and query.userName != ''"> and `sys_user`.`name` LIKE CONCAT('%',#{query.userName},'%') </if> |
|
|
|
<if test="query.centerName != null and query.centerName != ''"> and `bms_cost_center`.`name` LIKE CONCAT('%',#{query.centerName},'%') </if> |
|
|
|
<if test="query.centerCode != null and query.centerCode != ''"> and `bms_cost_center`.`code` LIKE CONCAT('%',#{query.centerCode},'%') </if> |
|
|
|
and `bms_master_user`.`del_flag` = '0' |
|
|
|
and `sys_user`.`del_flag` = '0' |
|
|
|
and `bms_cost_center`.`del_flag` = '0' |
|
|
|