bug
xiangpei
2024-08-19 d3d8a54252498f2a1b6da0d9d4a3ed12c7e8451a
ycl-server/src/main/resources/mapper/zgyw/ContractScoreMapper.xml
@@ -30,11 +30,11 @@
        FROM
        t_contract_score cs
        LEFT JOIN
        t_yw_unit u ON cs.unit_id = u.id and u.deleted = '0'
        t_yw_unit u ON cs.unit_id = u.id and u.deleted = 0
        LEFT JOIN
        t_contract c ON cs.contract_id = c.id and c.deleted = '0'
        t_contract c ON cs.contract_id = c.id and c.deleted = 0
        where
            cs.deleted = '0'
            cs.deleted = 0
        <if test="unitId != null">
            AND cs.unit_id = #{unitId}
        </if>
@@ -111,4 +111,5 @@
            #{id}
        </foreach>
    </delete>
</mapper>