bug
xiangpei
2024-08-19 d3d8a54252498f2a1b6da0d9d4a3ed12c7e8451a
ycl-server/src/main/resources/mapper/zgyw/ContractResultMapper.xml
@@ -9,11 +9,11 @@
        ct.name AS contractName
        FROM t_contract_result c
        LEFT JOIN
        t_yw_unit u ON c.unit_id = u.id and u.deleted = '0'
        t_yw_unit u ON c.unit_id = u.id and u.deleted = 0
        LEFT JOIN
        t_contract ct ON c.contract_id = ct.id and ct.deleted = '0'
        t_contract ct ON c.contract_id = ct.id and ct.deleted = 0
        where
        c.deleted = '0'
        c.deleted = 0
        <if test="unitId != null">
            AND c.unit_id = #{unitId}
        </if>