xiangpei
2024-07-17 588c48d3419f8347c63f52d1832a8bf2fdddcc5f
ycl-server/src/main/resources/mapper/zgyw/WorkOrderMapper.xml
@@ -17,11 +17,11 @@
    <select id="page" resultType="com.ycl.platform.domain.vo.WorkOrderVO">
        SELECT
        wo.*,
        u.unit_name,
        p.yw_person_name
            wo.*,
            u.unit_name,
            p.yw_person_name
        FROM
        t_work_order wo
            t_work_order wo
        LEFT JOIN t_yw_unit u ON wo.unit_id = u.id and u.deleted = '0'
        LEFT JOIN t_yw_people p ON wo.yw_people_id = p.id and p.deleted = '0'
        where
@@ -32,7 +32,7 @@
            <if test="query.status != null">
                AND wo.status = #{query.status}
            </if>
            <if test="query.errorType != null and query.errType != ''">
            <if test="query.errorType != null and query.errorType != ''">
                AND wo.error_type = #{query.errorType}
            </if>
            <if test="query.start != null">