...
|
...
|
@@ -273,10 +273,10 @@ |
|
|
limit 1
|
|
|
</select>
|
|
|
|
|
|
<update id="updateValidStatus" parameterType="java.lang.Integer">
|
|
|
<update id="updateValidStatus">
|
|
|
update storage_deposit
|
|
|
set del_status=0, update_time = unix_timestamp(now()), new_order_code = 0
|
|
|
where id=#{id} and del_status=1
|
|
|
set del_status=0, update_time = unix_timestamp(now()), new_order_code = 0, status=#{status}
|
|
|
where id=#{id} and del_status=1 and status=#{preStatus}
|
|
|
</update>
|
|
|
|
|
|
<update id="updateSellLock">
|
...
|
...
|
@@ -287,4 +287,10 @@ |
|
|
AND del_status = 0
|
|
|
</update>
|
|
|
|
|
|
<update id="updateToNotBindShelfCode">
|
|
|
update storage_deposit
|
|
|
set shelf_code='', del_status=0, update_time = unix_timestamp(now()), new_order_code = 0, status=#{status}
|
|
|
where id=#{id} and del_status=1 and status=#{preStatus}
|
|
|
</update>
|
|
|
|
|
|
</mapper> |
|
|
\ No newline at end of file |
...
|
...
|
|