Commit acbf4ae9 authored by fangxinjiang's avatar fangxinjiang

B端服务添加:接口调试

parent 17ba0ee9
...@@ -87,7 +87,7 @@ public interface TSettleDomainMapper extends BaseMapper<TSettleDomain> { ...@@ -87,7 +87,7 @@ public interface TSettleDomainMapper extends BaseMapper<TSettleDomain> {
IPage<TSettleDomainVo> getTSettleDomainPageB(Page page, @Param("tSettleDomain")TSettleDomainVo 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, IPage<CustomerOwnerSelectVo> getCustomerOwnerPage(Page page,
@Param("customerName")String customerName, @Param("customerName")String customerName,
......
...@@ -353,7 +353,7 @@ ...@@ -353,7 +353,7 @@
and a.CUSTOMER_NAME like concat('%', #{tSettleDomain.customerName} ,'%') and a.CUSTOMER_NAME like concat('%', #{tSettleDomain.customerName} ,'%')
</if> </if>
<if test="tSettleDomain.customerCode != null and tSettleDomain.customerCode.trim() != ''"> <if test="tSettleDomain.customerCode != null and tSettleDomain.customerCode.trim() != ''">
and a.CUSTOMER_CODE = #{tSettleDomain.customerCode} and a.CUSTOMER_NO = #{tSettleDomain.customerCode}
</if> </if>
<if test="tSettleDomain.customerIds != null and tSettleDomain.customerIds.size() > 0"> <if test="tSettleDomain.customerIds != null and tSettleDomain.customerIds.size() > 0">
and a.CUSTOMER_ID in and a.CUSTOMER_ID in
...@@ -362,7 +362,7 @@ ...@@ -362,7 +362,7 @@
</foreach> </foreach>
</if> </if>
</if> </if>
group by a.CUSTOMER_CODE order by CREATE_TIME desc group by a.CUSTOMER_NO order by CREATE_TIME desc
</select> </select>
<select id="getTSettleDomainPageB" resultMap="tSettleDomainMap"> <select id="getTSettleDomainPageB" resultMap="tSettleDomainMap">
...@@ -399,15 +399,13 @@ ...@@ -399,15 +399,13 @@
a.CUSTOMER_NO as 'customerCode' a.CUSTOMER_NO as 'customerCode'
FROM t_settle_domain a FROM t_settle_domain a
WHERE a.DELETE_FLAG='0' WHERE a.DELETE_FLAG='0'
<if test="tSettleDomain != null"> <if test="ids != null and ids.size() > 0">
<if test="tSettleDomain.customerIds != null and tSettleDomain.customerIds.size() > 0">
and a.CUSTOMER_ID in and a.CUSTOMER_ID in
<foreach collection="tSettleDomain.customerIds" item="param" index="index" open="(" close=")" separator=","> <foreach collection="ids" item="param" index="index" open="(" close=")" separator=",">
#{param} #{param}
</foreach> </foreach>
</if> </if>
</if> group by a.CUSTOMER_NO order by CREATE_TIME desc
group by a.CUSTOMER_CODE order by CREATE_TIME desc
</select> </select>
<select id="getCustomerOwnerPage" resultType="com.yifu.cloud.plus.v1.yifu.archives.vo.CustomerOwnerSelectVo"> <select id="getCustomerOwnerPage" resultType="com.yifu.cloud.plus.v1.yifu.archives.vo.CustomerOwnerSelectVo">
...@@ -428,6 +426,6 @@ ...@@ -428,6 +426,6 @@
#{item} #{item}
</foreach> </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>
</mapper> </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