guoyuji
2024-07-16 03df078310b88f2b4472c07ed9a09278b425ee00
north-glass-erp/src/main/resources/mapper/pp/ReportingWork.xml
@@ -105,6 +105,7 @@
        select ogd.process
        from sd.order_glass_detail as ogd
        where ogd.production_id = LEFT(#{processIdStr}, 11)
          and ogd.technology_number=#{technologyStr}
        limit 1
    </select>
@@ -704,7 +705,7 @@
        update reporting_work as rw left join damage_details as dd on rw.reporting_work_id = dd.reporting_work_id
        set dd.quality_ins_status = 2,
            rw.quality_inspector=#{username},
            rw.examine_time=NOW()
            rw.quality_ins_time=NOW()
        where rw.reporting_work_id = #{reportingWorkId}
    </update>