wuxw
2024-10-26 7585a63850f3aad6ca716f1d8ff302dfc6dcd85e
优化代码
1个文件已修改
6 ■■■■■ 已修改文件
java110-db/src/main/resources/mapper/common/CarInoutPaymentV1ServiceDaoImplMapper.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/common/CarInoutPaymentV1ServiceDaoImplMapper.xml
@@ -26,6 +26,9 @@
        left join t_dict td on ci.state = td.status_cd and td.table_columns='state' and td.table_name = 'car_inout'
        left join t_dict td1 on t.pay_type = td1.status_cd and td1.table_columns='pay_type' and td1.table_name = 'car_inout_payment'
        where 1 =1
        <if test="carNum !=null and carNum != ''">
            and ci.car_num= #{carNum}
        </if>
        <if test="realCharge !=null and realCharge != ''">
            and t.real_charge= #{realCharge}
        </if>
@@ -111,6 +114,9 @@
        left join car_inout ci on t.inout_id = ci.inout_id and ci.status_cd = '0' and t.community_id = ci.community_id
        where 1 =1
        <if test="carNum !=null and carNum != ''">
            and ci.car_num= #{carNum}
        </if>
        <if test="realCharge !=null and realCharge != ''">
            and t.real_charge= #{realCharge}
        </if>