guoyuji
2024-09-19 9853c8b3acea46269c44008f8cfb24ad2b4d1386
north-glass-erp/src/main/resources/mapper/pp/PatchLogMapper.xml
@@ -373,13 +373,14 @@
    </select>
    <delete id="deleteReplenishMp">
        delete from pp.patch_log where patch_id=#{patchId}
        delete from pp.patch_log where id=#{id}
    </delete>
    <update id="updatePatchDdMp">
        update pp.damage_details set patch_status=0,quantity=quantity-#{qualityInspector}
    <delete id="updatePatchDdMp">
        delete from pp.damage_details
     where reporting_work_id=#{reportingWorkId} and order_number=#{orderSort} and technology_number=#{technologyNumber}
    </update>
        and breakage_reason=#{patchReason}
    </delete>
    <update id="updatePatchBgMp">
        update pp.reporting_work_detail set patch_status=0