|
|
|
@ -504,4 +504,54 @@
|
|
|
|
|
where ldpl.warehouse_id = #{warehouseId} |
|
|
|
|
</update> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="findAllDealWithWaybillNo" resultType="cn.hutool.json.JSONObject"> |
|
|
|
|
select id id, |
|
|
|
|
waybill_no waybillNo, |
|
|
|
|
status status |
|
|
|
|
from deal_with_waybill_pay_type |
|
|
|
|
where status = 0 |
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
<update id="updateStatusDealwithWaybillById"> |
|
|
|
|
update deal_with_waybill_pay_type |
|
|
|
|
set status = 1 |
|
|
|
|
where id = #{id} |
|
|
|
|
</update> |
|
|
|
|
|
|
|
|
|
<update id="udpateWaybillPayWay"> |
|
|
|
|
update logpm_warehouse_waybill |
|
|
|
|
set pay_way = #{payWay}, |
|
|
|
|
check_status = 1 |
|
|
|
|
where waybill_no = #{waybillNo} |
|
|
|
|
|
|
|
|
|
</update> |
|
|
|
|
|
|
|
|
|
<delete id="deletedTrunklinePackageByWaybillNo"> |
|
|
|
|
delete from logpm_statistics_trunkline_package |
|
|
|
|
where waybill_no = #{waybillNo} |
|
|
|
|
</delete> |
|
|
|
|
|
|
|
|
|
<delete id="deletedWarehousePackageByWaybillNo"> |
|
|
|
|
delete from logpm_statistics_warehouse_package |
|
|
|
|
where waybill_no = #{waybillNo} |
|
|
|
|
</delete> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<delete id="deletedDistributionPackageByWaybillNo"> |
|
|
|
|
delete from logpm_statistics_distribution_package |
|
|
|
|
where waybill_no = #{waybillNo} |
|
|
|
|
</delete> |
|
|
|
|
|
|
|
|
|
<delete id="deletedOrderByWaybillNo"> |
|
|
|
|
delete from logpm_statistics_order_info |
|
|
|
|
where waybill_no = #{waybillNo} |
|
|
|
|
</delete> |
|
|
|
|
|
|
|
|
|
<delete id="deletedBalanceOrderByWaybillNo"> |
|
|
|
|
delete from logpm_statistics_balance_order_info |
|
|
|
|
where waybill_no = #{waybillNo} |
|
|
|
|
</delete> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</mapper> |
|
|
|
|