Commit acbf4ae9 authored by fangxinjiang's avatar fangxinjiang

B端服务添加:接口调试

parent 17ba0ee9
......@@ -87,7 +87,7 @@ public interface TSettleDomainMapper extends BaseMapper<TSettleDomain> {
IPage<TSettleDomainVo> getTSettleDomainPageB(Page page, @Param("tSettleDomain")TSettleDomainVo tSettleDomain);
List<TCustomerInfo> getTCustomerInfoForB(@Param("tSettleDomain")List<String> tSettleDomain);
List<TCustomerInfo> getTCustomerInfoForB(@Param("ids")List<String> tSettleDomain);
IPage<CustomerOwnerSelectVo> getCustomerOwnerPage(Page page,
@Param("customerName")String customerName,
......
......@@ -353,7 +353,7 @@
and a.CUSTOMER_NAME like concat('%', #{tSettleDomain.customerName} ,'%')
</if>
<if test="tSettleDomain.customerCode != null and tSettleDomain.customerCode.trim() != ''">
and a.CUSTOMER_CODE = #{tSettleDomain.customerCode}
and a.CUSTOMER_NO = #{tSettleDomain.customerCode}
</if>
<if test="tSettleDomain.customerIds != null and tSettleDomain.customerIds.size() > 0">
and a.CUSTOMER_ID in
......@@ -362,7 +362,7 @@
</foreach>
</if>
</if>
group by a.CUSTOMER_CODE order by CREATE_TIME desc
group by a.CUSTOMER_NO order by CREATE_TIME desc
</select>
<select id="getTSettleDomainPageB" resultMap="tSettleDomainMap">
......@@ -399,15 +399,13 @@
a.CUSTOMER_NO as 'customerCode'
FROM t_settle_domain a
WHERE a.DELETE_FLAG='0'
<if test="tSettleDomain != null">
<if test="tSettleDomain.customerIds != null and tSettleDomain.customerIds.size() > 0">
and a.CUSTOMER_ID in
<foreach collection="tSettleDomain.customerIds" item="param" index="index" open="(" close=")" separator=",">
#{param}
</foreach>
</if>
<if test="ids != null and ids.size() > 0">
and a.CUSTOMER_ID in
<foreach collection="ids" item="param" index="index" open="(" close=")" separator=",">
#{param}
</foreach>
</if>
group by a.CUSTOMER_CODE order by CREATE_TIME desc
group by a.CUSTOMER_NO order by CREATE_TIME desc
</select>
<select id="getCustomerOwnerPage" resultType="com.yifu.cloud.plus.v1.yifu.archives.vo.CustomerOwnerSelectVo">
......@@ -428,6 +426,6 @@
#{item}
</foreach>
</if>
group by a.CUSTOMER_CODE order by CREATE_TIME desc
group by a.CUSTOMER_NO order by CREATE_TIME desc
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment