add interface
This commit is contained in:
@@ -280,4 +280,12 @@
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="getUserCountByRegionId" resultType="integer">
|
||||
select count(1) from enterprise_user where deleted = 0 and user_region_ids like concat("%", #{regionId}, "%")
|
||||
</select>
|
||||
|
||||
<select id="getUserListByDeptLeader" resultMap="BaseResultMap">
|
||||
select user_id, leader_dept_ids from enterprise_user where leader_dept_ids like concat("%", #{regionId}, "%") and deleted = 0
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user