| | |
| | | </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 |