大屏接口
parent
b90b8ee452
commit
75b227fabe
@ -0,0 +1,16 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.kiisoo.ic.employee.mapper.PrivilageCpUserDOMapper">
|
||||||
|
<insert id="insertCpUserCustomerRelation">
|
||||||
|
insert into op_cp_user_customer_relation (customer_user_id,cp_user_id,cp_id)values (#{customerUserId},#{cpUserId},#{cpId})
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<select id="selectAllCount" resultType="java.lang.Long">
|
||||||
|
select count(id) from op_cp_user_customer_relation
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectDistinctAllCount" resultType="java.lang.Long">
|
||||||
|
select count(distinct customer_user_id) from op_cp_user_customer_relation
|
||||||
|
</select>
|
||||||
|
|
||||||
|
</mapper>
|
Loading…
Reference in New Issue