feat: 添加客户平台-账单管理接口
This commit is contained in:
@@ -27,8 +27,23 @@
|
||||
cdr.del_flag = 0
|
||||
AND ch.id is not null
|
||||
AND cdr.user_id is not null
|
||||
<if test="userId != null and userId != ''">
|
||||
AND cdr.user_id = #{userId}
|
||||
<if test="item.userId != null and item.userId != ''">
|
||||
AND cdr.user_id = #{item.userId}
|
||||
</if>
|
||||
<if test="item.userName != null and item.userName != ''">
|
||||
AND u.user_name like concat('%', #{item.userName}, '%')
|
||||
</if>
|
||||
<if test="item.clientName != null and item.clientName != ''">
|
||||
AND c.client_name like concat('%', #{item.clientName}, '%')
|
||||
</if>
|
||||
<if test="item.clientMac != null and item.clientMac != ''">
|
||||
AND c.client_mac like concat('%', #{item.clientMac}, '%')
|
||||
</if>
|
||||
<if test="item.startTimeS != null and item.startTimeE != null">
|
||||
AND ch.start_time between #{item.startTimeS} and #{item.startTimeE}
|
||||
</if>
|
||||
<if test="item.endTimeS != null and item.endTimeE != null">
|
||||
AND ch.end_time between #{item.endTimeS} and #{item.endTimeE}
|
||||
</if>
|
||||
ORDER BY
|
||||
ch.start_time DESC
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<?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="org.wfc.system.mapper.UOrderMapper">
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?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="org.wfc.system.mapper.UUserMapper">
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user