1
This commit is contained in:
parent
e3a8fc2bda
commit
5930bd171a
|
|
@ -21,11 +21,11 @@
|
||||||
<result property="orderStatus" column="order_status" />
|
<result property="orderStatus" column="order_status" />
|
||||||
<result property="isLock" column="is_lock" />
|
<result property="isLock" column="is_lock" />
|
||||||
<result property="orderId" column="order_id" />
|
<result property="orderId" column="order_id" />
|
||||||
<result property="stockId" column="stock_id" />
|
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="selectAppPmsOrderOutVo">
|
<sql id="selectAppPmsOrderOutVo">
|
||||||
select record_id, list_id, order_type, customer_id, goods_id, goods_num, goods_desc, spare1, spare2,pick_num,tr_num,shelves_num,stock_num,order_status,is_lock,order_id,stock_id from app_pms_order_out
|
select record_id, list_id, order_type, customer_id, goods_id, goods_num, goods_desc, spare1, spare2,pick_num,tr_num,shelves_num,stock_num,order_status,is_lock,order_id from app_pms_order_out
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectAppPmsOrderOutList" parameterType="AppPmsOrderOut" resultMap="AppPmsOrderOutResult">
|
<select id="selectAppPmsOrderOutList" parameterType="AppPmsOrderOut" resultMap="AppPmsOrderOutResult">
|
||||||
|
|
@ -39,7 +39,6 @@
|
||||||
<if test="orderStatus != null and orderStatus != ''"> and order_status = #{orderStatus}</if>
|
<if test="orderStatus != null and orderStatus != ''"> and order_status = #{orderStatus}</if>
|
||||||
<if test="isLock != null and isLock != ''"> and is_lock = #{isLock}</if>
|
<if test="isLock != null and isLock != ''"> and is_lock = #{isLock}</if>
|
||||||
<if test="orderId != null and orderId != ''"> and order_id = #{orderId}</if>
|
<if test="orderId != null and orderId != ''"> and order_id = #{orderId}</if>
|
||||||
<if test="stockId != null and stockId != ''"> and stock_id = #{stockId}</if>
|
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
@ -67,7 +66,7 @@
|
||||||
<if test="orderStatus != null">order_status,</if>
|
<if test="orderStatus != null">order_status,</if>
|
||||||
<if test="isLock != null">is_lock,</if>
|
<if test="isLock != null">is_lock,</if>
|
||||||
<if test="orderId != null">order_id,</if>
|
<if test="orderId != null">order_id,</if>
|
||||||
<if test="stockId != null">stock_id,</if>
|
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="recordId != null">#{recordId},</if>
|
<if test="recordId != null">#{recordId},</if>
|
||||||
|
|
@ -86,7 +85,7 @@
|
||||||
<if test="orderStatus != null">#{orderStatus},</if>
|
<if test="orderStatus != null">#{orderStatus},</if>
|
||||||
<if test="isLock != null">#{isLock},</if>
|
<if test="isLock != null">#{isLock},</if>
|
||||||
<if test="orderId != null">#{orderId},</if>
|
<if test="orderId != null">#{orderId},</if>
|
||||||
<if test="stockId != null">#{stockId},</if>
|
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
|
|
@ -107,7 +106,7 @@
|
||||||
<if test="stockNum != null">stock_num = #{stockNum},</if>
|
<if test="stockNum != null">stock_num = #{stockNum},</if>
|
||||||
<if test="isLock != null">is_lock = #{isLock},</if>
|
<if test="isLock != null">is_lock = #{isLock},</if>
|
||||||
<if test="orderId != null">order_id = #{orderId},</if>
|
<if test="orderId != null">order_id = #{orderId},</if>
|
||||||
<if test="stockId != null">stock_id = #{stockId},</if>
|
|
||||||
</trim>
|
</trim>
|
||||||
where record_id = #{recordId}
|
where record_id = #{recordId}
|
||||||
</update>
|
</update>
|
||||||
|
|
|
||||||
|
|
@ -25,10 +25,11 @@
|
||||||
<result property="plcId" column="plc_id" />
|
<result property="plcId" column="plc_id" />
|
||||||
<result property="locationId" column="location_id" />
|
<result property="locationId" column="location_id" />
|
||||||
<result property="ckType" column="ck_type" />
|
<result property="ckType" column="ck_type" />
|
||||||
|
<result property="stockId" column="stock_id" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<sql id="selectAppTaskVo">
|
<sql id="selectAppTaskVo">
|
||||||
select task_id, task_type, task_status, task_priority, vehicle_id, origin, destination, wcs_task_id, create_time, finish_time, goods_id, op_num, stock_num, op_user, pre_task, remark,plc_id,location_id,ck_type from app_task
|
select task_id, task_type, task_status, task_priority, vehicle_id, origin, destination, wcs_task_id, create_time, finish_time, goods_id, op_num, stock_num, op_user, pre_task, remark,plc_id,location_id,ck_type,stock_id from app_task
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="selectAppTaskList" parameterType="AppTask" resultMap="AppTaskResult">
|
<select id="selectAppTaskList" parameterType="AppTask" resultMap="AppTaskResult">
|
||||||
|
|
@ -43,7 +44,7 @@
|
||||||
<if test="wcsTaskId != null and wcsTaskId != ''"> and wcs_task_id = #{wcsTaskId}</if>
|
<if test="wcsTaskId != null and wcsTaskId != ''"> and wcs_task_id = #{wcsTaskId}</if>
|
||||||
<if test="finishTime != null "> and finish_time = #{finishTime}</if>
|
<if test="finishTime != null "> and finish_time = #{finishTime}</if>
|
||||||
<if test="goodsId != null and goodsId != ''"> and goods_id = #{goodsId}</if>
|
<if test="goodsId != null and goodsId != ''"> and goods_id = #{goodsId}</if>
|
||||||
|
<if test="stockId != null and stockId != ''"> and stock_id = #{stockId}</if>
|
||||||
<if test="opUser != null and opUser != ''"> and op_user = #{opUser}</if>
|
<if test="opUser != null and opUser != ''"> and op_user = #{opUser}</if>
|
||||||
<if test="preTask != null and preTask != ''"> and pre_task = #{preTask}</if>
|
<if test="preTask != null and preTask != ''"> and pre_task = #{preTask}</if>
|
||||||
<if test="remark != null and remark != ''"> and remark = #{remark}</if>
|
<if test="remark != null and remark != ''"> and remark = #{remark}</if>
|
||||||
|
|
@ -79,6 +80,7 @@
|
||||||
<if test="remark != null">remark,</if>
|
<if test="remark != null">remark,</if>
|
||||||
<if test="locationId != null">location_id,</if>
|
<if test="locationId != null">location_id,</if>
|
||||||
<if test="ckType != null">ck_type,</if>
|
<if test="ckType != null">ck_type,</if>
|
||||||
|
<if test="stockId != null">stock_id,</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="taskId != null">#{taskId},</if>
|
<if test="taskId != null">#{taskId},</if>
|
||||||
|
|
@ -99,6 +101,7 @@
|
||||||
<if test="remark != null">#{remark},</if>
|
<if test="remark != null">#{remark},</if>
|
||||||
<if test="locationId != null">#{locationId},</if>
|
<if test="locationId != null">#{locationId},</if>
|
||||||
<if test="ckType != null">#{ckType},</if>
|
<if test="ckType != null">#{ckType},</if>
|
||||||
|
<if test="stockId != null">#{stockId},</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
|
|
@ -125,6 +128,7 @@
|
||||||
<if test="appTask.remark != null">remark,</if>
|
<if test="appTask.remark != null">remark,</if>
|
||||||
<if test="appTask.locationId != null">location_id,</if>
|
<if test="appTask.locationId != null">location_id,</if>
|
||||||
<if test="appTask.ckType != null">ck_type,</if>
|
<if test="appTask.ckType != null">ck_type,</if>
|
||||||
|
<if test="appTask.stockId != null">stock_id,</if>
|
||||||
</trim>
|
</trim>
|
||||||
)
|
)
|
||||||
values
|
values
|
||||||
|
|
@ -147,6 +151,7 @@
|
||||||
<if test="appTask.preTask != null">#{appTask.preTask},</if>
|
<if test="appTask.preTask != null">#{appTask.preTask},</if>
|
||||||
<if test="appTask.remark != null">#{appTask.remark},</if>
|
<if test="appTask.remark != null">#{appTask.remark},</if>
|
||||||
<if test="appTask.ckType != null">#{appTask.ckType},</if>
|
<if test="appTask.ckType != null">#{appTask.ckType},</if>
|
||||||
|
<if test="appTask.stockId != null">#{appTask.stockId},</if>
|
||||||
</trim>
|
</trim>
|
||||||
)
|
)
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|
@ -173,6 +178,7 @@
|
||||||
<if test="remark != null">remark = #{remark},</if>
|
<if test="remark != null">remark = #{remark},</if>
|
||||||
<if test="locationId != null">location_id = #{locationId},</if>
|
<if test="locationId != null">location_id = #{locationId},</if>
|
||||||
<if test="ckType != null">ck_type = #{ckType},</if>
|
<if test="ckType != null">ck_type = #{ckType},</if>
|
||||||
|
<if test="stockId != null">stock_id = #{stockId},</if>
|
||||||
</trim>
|
</trim>
|
||||||
where task_id = #{taskId}
|
where task_id = #{taskId}
|
||||||
</update>
|
</update>
|
||||||
|
|
@ -198,6 +204,7 @@
|
||||||
<if test="appTask.remark != null">remark = #{appTask.remark},</if>
|
<if test="appTask.remark != null">remark = #{appTask.remark},</if>
|
||||||
<if test="appTask.locationId != null">location_id = #{appTask.locationId},</if>
|
<if test="appTask.locationId != null">location_id = #{appTask.locationId},</if>
|
||||||
<if test="appTask.ckType != null">ck_type = #{appTask.ckType},</if>
|
<if test="appTask.ckType != null">ck_type = #{appTask.ckType},</if>
|
||||||
|
<if test="appTask.stockId != null">stock_id = #{appTask.stockId},</if>
|
||||||
</trim>
|
</trim>
|
||||||
where task_id = #{appTask.taskId}
|
where task_id = #{appTask.taskId}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user