给客户信息页面增加分配用户相关的接口
This commit is contained in:
@@ -23,4 +23,18 @@
|
||||
set value= #{ubValue}
|
||||
where type = #{type} and key_id = #{keyId}
|
||||
</update>
|
||||
|
||||
<select id="getUBKeyIdByTypeAndOneValue" resultType="java.lang.Long">
|
||||
select ub.key_id from jsh_user_business ub
|
||||
where ub.type='UserCustomer'
|
||||
<bind name="bindOneValue" value="'%['+oneValue+']%'"/>
|
||||
and ub.value like #{bindOneValue}
|
||||
and ifnull(ub.delete_flag,'0') !='1'
|
||||
</select>
|
||||
|
||||
<select id="getOldListByType" resultType="com.jsh.erp.datasource.entities.UserBusiness">
|
||||
select * from jsh_user_business ub
|
||||
where ub.type='UserCustomer'
|
||||
and ifnull(ub.delete_flag,'0') !='1'
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user