Browse Source

fix:结算单全部查询条件修改

CAYK\miaosen.zhao 4 months ago
parent
commit
0dedbfd2e3

+ 1 - 1
src/main/resources/mapper/settlement/SettlementBasicInfoMapper.xml

@@ -140,7 +140,7 @@
                 </foreach>
             </if>
             <if test="businessNo != null and businessNo != ''">
-                AND t2.business_number = #{businessNo}
+                AND (t2.settlement_number LIKE concat('%',#{businessNo},'%') or t2.business_number LIKE concat('%',#{businessNo},'%'))
             </if>
             <if test="startDate != null">
                 <![CDATA[ AND DATE_FORMAT(t2.settlement_date, '%Y-%m-%d')>=  DATE_FORMAT(#{startDate}, '%Y-%m-%d') ]]>