소스 검색

[合同][修改][加测试用例]

release_toaliyun_real
luozukai 6 년 전
부모
커밋
8556f50507
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. +6
    -6
      mallinkService/src/main/resources/mapper/WxBillSettleMapper.xml

+ 6
- 6
mallinkService/src/main/resources/mapper/WxBillSettleMapper.xml 파일 보기

@@ -26,16 +26,16 @@
where 1=1 where 1=1
<if test=" null != id ">and s.`id` = #{id}</if> <if test=" null != id ">and s.`id` = #{id}</if>
<if test=" null != tenantId ">and s.`tenant_id` = #{tenantId}</if> <if test=" null != tenantId ">and s.`tenant_id` = #{tenantId}</if>
<if test=" null != merchantName ">and m.name like concat('%', #{merchantName},'%')</if>
<if test="startTime != null">
<if test=" null != merchantName and merchantName !='' ">and m.name like concat('%', #{merchantName},'%')</if>
<if test="startTime != null and startTime !=''">
and createtime &gt;= #{startTime} and createtime &gt;= #{startTime}
</if> </if>
<if test="endTime != null">
<if test="endTime != null and endTime !=''">
and createtime &lt;= #{endTime} and createtime &lt;= #{endTime}
</if> </if>
<if test=" null != settleNumber ">and s.`settle_number` = #{settleNumber}</if>
<if test=" null != status ">and s.`status` = #{status}</if>
<if test=" null != applyStatus ">and s.`apply_status` = #{applyStatus}</if>
<if test=" null != settleNumber and settleNumber !='' ">and s.`settle_number` = #{settleNumber}</if>
<if test=" null != status and status !=''">and s.`status` = #{status}</if>
<if test=" null != applyStatus and applyStatus !=''">and s.`apply_status` = #{applyStatus}</if>


<if test=" null != sortColumns">order by ${sortColumns}</if> <if test=" null != sortColumns">order by ${sortColumns}</if>
</sql> </sql>


불러오는 중...
취소
저장