1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
| <mapper namespace="com.zy.asrs.common.wms.mapper.OrderMapper">
|
| <update id="updateOrder1">
| update wms_order
| set settle = 6
| ,update_time = getdate()
| ,memo = '删除按钮手动转换'
| <if test="userId != null">
| ,update_by = #{userId}
| </if>
| where 1=1
| and id = #{orderId}
| </update>
|
| <update id="updateSettle">
| update wms_order
| set settle = #{settle}
| ,update_time = getdate()
| <if test="userId != null">
| ,update_by = #{userId}
| </if>
| where 1=1
| and id = #{orderId}
| and host_id = #{hostId}
| </update>
|
|
| </mapper>
|
|