任务 后台代码
This commit is contained in:
@@ -0,0 +1,179 @@
|
||||
<?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.ruoyi.job.mydojobdetailfinish.mapper.MydoJobDetailFinishMapper">
|
||||
|
||||
<resultMap type="MydoJobDetailFinish" id="MydoJobDetailFinishResult">
|
||||
<result property="jobDetailId" column="job_detail_id" />
|
||||
<result property="jobId" column="job_id" />
|
||||
<result property="stockId" column="stock_id" />
|
||||
<result property="lotNo" column="lot_no" />
|
||||
<result property="inDate" column="in_date" />
|
||||
<result property="inOrOutId" column="in_or_out_id" />
|
||||
<result property="inOrOutDId" column="in_or_out_d_id" />
|
||||
<result property="productGuid" column="product_guid" />
|
||||
<result property="productId" column="product_id" />
|
||||
<result property="stockStatus" column="stock_status" />
|
||||
<result property="inQuantity" column="in_quantity" />
|
||||
<result property="stockQuantity" column="stock_quantity" />
|
||||
<result property="outQuantity" column="out_quantity" />
|
||||
<result property="layerQuantity" column="layer_quantity" />
|
||||
<result property="outLayerQuantity" column="out_layer_quantity" />
|
||||
<result property="giveNum" column="give_num" />
|
||||
<result property="stockinId" column="stockin_id" />
|
||||
<result property="stackingId" column="stacking_id" />
|
||||
<result property="exitId" column="exit_id" />
|
||||
<result property="printDate" column="print_date" />
|
||||
<result property="customerId" column="customer_id" />
|
||||
<result property="supplierId" column="supplier_id" />
|
||||
<result property="spare1" column="spare1" />
|
||||
<result property="spare2" column="spare2" />
|
||||
<result property="spare3" column="spare3" />
|
||||
<result property="spare4" column="spare4" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectMydoJobDetailFinishVo">
|
||||
select job_detail_id, job_id, stock_id, lot_no, in_date, in_or_out_id, in_or_out_d_id, product_guid, product_id, stock_status, in_quantity, stock_quantity, out_quantity, layer_quantity, out_layer_quantity, give_num, stockin_id, stacking_id, exit_id, print_date, customer_id, supplier_id, spare1, spare2, spare3, spare4 from mydo_job_detail_finish
|
||||
</sql>
|
||||
|
||||
<select id="selectMydoJobDetailFinishList" parameterType="MydoJobDetailFinish" resultMap="MydoJobDetailFinishResult">
|
||||
<include refid="selectMydoJobDetailFinishVo"/>
|
||||
<where>
|
||||
<if test="jobDetailId != null and jobDetailId != ''"> and job_detail_id = #{jobDetailId}</if>
|
||||
<if test="jobId != null and jobId != ''"> and job_id = #{jobId}</if>
|
||||
<if test="stockId != null and stockId != ''"> and stock_id = #{stockId}</if>
|
||||
<if test="lotNo != null and lotNo != ''"> and lot_no = #{lotNo}</if>
|
||||
<if test="inDate != null and inDate != ''"> and in_date = #{inDate}</if>
|
||||
<if test="inOrOutId != null and inOrOutId != ''"> and in_or_out_id = #{inOrOutId}</if>
|
||||
<if test="inOrOutDId != null and inOrOutDId != ''"> and in_or_out_d_id = #{inOrOutDId}</if>
|
||||
<if test="productGuid != null and productGuid != ''"> and product_guid = #{productGuid}</if>
|
||||
<if test="productId != null and productId != ''"> and product_id = #{productId}</if>
|
||||
<if test="stockStatus != null and stockStatus != ''"> and stock_status = #{stockStatus}</if>
|
||||
<if test="inQuantity != null and inQuantity != ''"> and in_quantity = #{inQuantity}</if>
|
||||
<if test="stockQuantity != null and stockQuantity != ''"> and stock_quantity = #{stockQuantity}</if>
|
||||
<if test="outQuantity != null and outQuantity != ''"> and out_quantity = #{outQuantity}</if>
|
||||
<if test="layerQuantity != null and layerQuantity != ''"> and layer_quantity = #{layerQuantity}</if>
|
||||
<if test="outLayerQuantity != null and outLayerQuantity != ''"> and out_layer_quantity = #{outLayerQuantity}</if>
|
||||
<if test="giveNum != null and giveNum != ''"> and give_num = #{giveNum}</if>
|
||||
<if test="stockinId != null and stockinId != ''"> and stockin_id = #{stockinId}</if>
|
||||
<if test="stackingId != null and stackingId != ''"> and stacking_id = #{stackingId}</if>
|
||||
<if test="exitId != null and exitId != ''"> and exit_id = #{exitId}</if>
|
||||
<if test="printDate != null and printDate != ''"> and print_date = #{printDate}</if>
|
||||
<if test="customerId != null and customerId != ''"> and customer_id = #{customerId}</if>
|
||||
<if test="supplierId != null and supplierId != ''"> and supplier_id = #{supplierId}</if>
|
||||
<if test="spare1 != null and spare1 != ''"> and spare1 = #{spare1}</if>
|
||||
<if test="spare2 != null and spare2 != ''"> and spare2 = #{spare2}</if>
|
||||
<if test="spare3 != null and spare3 != ''"> and spare3 = #{spare3}</if>
|
||||
<if test="spare4 != null and spare4 != ''"> and spare4 = #{spare4}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectMydoJobDetailFinishByJobDetailId" parameterType="String" resultMap="MydoJobDetailFinishResult">
|
||||
<include refid="selectMydoJobDetailFinishVo"/>
|
||||
where job_detail_id = #{jobDetailId}
|
||||
</select>
|
||||
|
||||
<insert id="insertMydoJobDetailFinish" parameterType="MydoJobDetailFinish">
|
||||
insert into mydo_job_detail_finish
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="jobDetailId != null and jobDetailId != ''">job_detail_id,</if>
|
||||
<if test="jobId != null and jobId != ''">job_id,</if>
|
||||
<if test="stockId != null">stock_id,</if>
|
||||
<if test="lotNo != null">lot_no,</if>
|
||||
<if test="inDate != null">in_date,</if>
|
||||
<if test="inOrOutId != null">in_or_out_id,</if>
|
||||
<if test="inOrOutDId != null">in_or_out_d_id,</if>
|
||||
<if test="productGuid != null">product_guid,</if>
|
||||
<if test="productId != null">product_id,</if>
|
||||
<if test="stockStatus != null">stock_status,</if>
|
||||
<if test="inQuantity != null">in_quantity,</if>
|
||||
<if test="stockQuantity != null">stock_quantity,</if>
|
||||
<if test="outQuantity != null">out_quantity,</if>
|
||||
<if test="layerQuantity != null">layer_quantity,</if>
|
||||
<if test="outLayerQuantity != null">out_layer_quantity,</if>
|
||||
<if test="giveNum != null">give_num,</if>
|
||||
<if test="stockinId != null">stockin_id,</if>
|
||||
<if test="stackingId != null">stacking_id,</if>
|
||||
<if test="exitId != null">exit_id,</if>
|
||||
<if test="printDate != null">print_date,</if>
|
||||
<if test="customerId != null">customer_id,</if>
|
||||
<if test="supplierId != null">supplier_id,</if>
|
||||
<if test="spare1 != null">spare1,</if>
|
||||
<if test="spare2 != null">spare2,</if>
|
||||
<if test="spare3 != null">spare3,</if>
|
||||
<if test="spare4 != null">spare4,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="jobDetailId != null and jobDetailId != ''">#{jobDetailId},</if>
|
||||
<if test="jobId != null and jobId != ''">#{jobId},</if>
|
||||
<if test="stockId != null">#{stockId},</if>
|
||||
<if test="lotNo != null">#{lotNo},</if>
|
||||
<if test="inDate != null">#{inDate},</if>
|
||||
<if test="inOrOutId != null">#{inOrOutId},</if>
|
||||
<if test="inOrOutDId != null">#{inOrOutDId},</if>
|
||||
<if test="productGuid != null">#{productGuid},</if>
|
||||
<if test="productId != null">#{productId},</if>
|
||||
<if test="stockStatus != null">#{stockStatus},</if>
|
||||
<if test="inQuantity != null">#{inQuantity},</if>
|
||||
<if test="stockQuantity != null">#{stockQuantity},</if>
|
||||
<if test="outQuantity != null">#{outQuantity},</if>
|
||||
<if test="layerQuantity != null">#{layerQuantity},</if>
|
||||
<if test="outLayerQuantity != null">#{outLayerQuantity},</if>
|
||||
<if test="giveNum != null">#{giveNum},</if>
|
||||
<if test="stockinId != null">#{stockinId},</if>
|
||||
<if test="stackingId != null">#{stackingId},</if>
|
||||
<if test="exitId != null">#{exitId},</if>
|
||||
<if test="printDate != null">#{printDate},</if>
|
||||
<if test="customerId != null">#{customerId},</if>
|
||||
<if test="supplierId != null">#{supplierId},</if>
|
||||
<if test="spare1 != null">#{spare1},</if>
|
||||
<if test="spare2 != null">#{spare2},</if>
|
||||
<if test="spare3 != null">#{spare3},</if>
|
||||
<if test="spare4 != null">#{spare4},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateMydoJobDetailFinish" parameterType="MydoJobDetailFinish">
|
||||
update mydo_job_detail_finish
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="jobId != null and jobId != ''">job_id = #{jobId},</if>
|
||||
<if test="stockId != null">stock_id = #{stockId},</if>
|
||||
<if test="lotNo != null">lot_no = #{lotNo},</if>
|
||||
<if test="inDate != null">in_date = #{inDate},</if>
|
||||
<if test="inOrOutId != null">in_or_out_id = #{inOrOutId},</if>
|
||||
<if test="inOrOutDId != null">in_or_out_d_id = #{inOrOutDId},</if>
|
||||
<if test="productGuid != null">product_guid = #{productGuid},</if>
|
||||
<if test="productId != null">product_id = #{productId},</if>
|
||||
<if test="stockStatus != null">stock_status = #{stockStatus},</if>
|
||||
<if test="inQuantity != null">in_quantity = #{inQuantity},</if>
|
||||
<if test="stockQuantity != null">stock_quantity = #{stockQuantity},</if>
|
||||
<if test="outQuantity != null">out_quantity = #{outQuantity},</if>
|
||||
<if test="layerQuantity != null">layer_quantity = #{layerQuantity},</if>
|
||||
<if test="outLayerQuantity != null">out_layer_quantity = #{outLayerQuantity},</if>
|
||||
<if test="giveNum != null">give_num = #{giveNum},</if>
|
||||
<if test="stockinId != null">stockin_id = #{stockinId},</if>
|
||||
<if test="stackingId != null">stacking_id = #{stackingId},</if>
|
||||
<if test="exitId != null">exit_id = #{exitId},</if>
|
||||
<if test="printDate != null">print_date = #{printDate},</if>
|
||||
<if test="customerId != null">customer_id = #{customerId},</if>
|
||||
<if test="supplierId != null">supplier_id = #{supplierId},</if>
|
||||
<if test="spare1 != null">spare1 = #{spare1},</if>
|
||||
<if test="spare2 != null">spare2 = #{spare2},</if>
|
||||
<if test="spare3 != null">spare3 = #{spare3},</if>
|
||||
<if test="spare4 != null">spare4 = #{spare4},</if>
|
||||
</trim>
|
||||
where job_detail_id = #{jobDetailId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteMydoJobDetailFinishByJobDetailId" parameterType="String">
|
||||
delete from mydo_job_detail_finish where job_detail_id = #{jobDetailId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteMydoJobDetailFinishByJobDetailIds" parameterType="String">
|
||||
delete from mydo_job_detail_finish where job_detail_id in
|
||||
<foreach item="jobDetailId" collection="array" open="(" separator="," close=")">
|
||||
#{jobDetailId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
@@ -3,7 +3,7 @@
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.job.mydojobfinish.mapper.MydoJobFinishMapper">
|
||||
|
||||
|
||||
<resultMap type="MydoJobFinish" id="MydoJobFinishResult">
|
||||
<result property="jobId" column="job_id" />
|
||||
<result property="status" column="status" />
|
||||
@@ -26,41 +26,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="startTime" column="start_time" />
|
||||
<result property="finishTime" column="finish_time" />
|
||||
<result property="entranceId" column="entrance_id" />
|
||||
<result property="exitId" column="Exit_id" />
|
||||
<result property="classNowName" column="class_now_name" />
|
||||
<result property="classWorkshopName" column="class_workshop_name" />
|
||||
<result property="classgroupNumber" column="classgroup_number" />
|
||||
<result property="classWorkshopDateTime" column="class_workshop_date_time" />
|
||||
<result property="exitId" column="exit_id" />
|
||||
<result property="classId" column="class_id" />
|
||||
<result property="classNowDateTime" column="class_now_date_time" />
|
||||
<result property="warehouseId" column="warehouse_id" />
|
||||
<result property="outId" column="out_id" />
|
||||
<result property="siteId" column="site_id" />
|
||||
<result property="carNumber" column="car_number" />
|
||||
<result property="faultFlag" column="fault_flag" />
|
||||
<result property="devId" column="Dev_id" />
|
||||
<result property="stockSource" column="stock_source" />
|
||||
<result property="floor" column="floor" />
|
||||
<result property="location" column="location" />
|
||||
<result property="dwTime" column="dw_time" />
|
||||
<result property="countId" column="count_id" />
|
||||
<result property="xdTime" column="xd_time" />
|
||||
<result property="sendFlag" column="send_flag" />
|
||||
<result property="agvStatus" column="agv_status" />
|
||||
<result property="wcsNo" column="wcs_no" />
|
||||
<result property="srcAgv" column="src_agv" />
|
||||
<result property="tarAgv" column="tar_agv" />
|
||||
<result property="groupGuid" column="group_guid" />
|
||||
<result property="photoPath" column="photo_path" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectMydoJobFinishVo">
|
||||
select job_id, status, on_line_type, task_no, supplier_id, customer_id, department_id, tray_code, roadway_id, cargo_space_id, target_roadway_id, target_cargo_space_id, line_id, workshop_id, priority, execution_phase, in_or_out, create_time, start_time, finish_time, entrance_id, Exit_id, class_now_name, class_workshop_name, classgroup_number, class_workshop_date_time, class_id, class_now_date_time, warehouse_id, out_id, site_id, car_number, fault_flag, Dev_id, stock_source, floor, location, dw_time, count_id, xd_time, send_flag, agv_status, wcs_no, src_agv, tar_agv, group_guid, photo_path from mydo_job_finish
|
||||
select job_id, status, on_line_type, task_no, supplier_id, customer_id, department_id, tray_code, roadway_id, cargo_space_id, target_roadway_id, target_cargo_space_id, line_id, workshop_id, priority, execution_phase, in_or_out, create_time, start_time, finish_time, entrance_id, exit_id, class_id, warehouse_id, fault_flag from mydo_job_finish
|
||||
</sql>
|
||||
|
||||
<select id="selectMydoJobFinishList" parameterType="MydoJobFinish" resultMap="MydoJobFinishResult">
|
||||
<include refid="selectMydoJobFinishVo"/>
|
||||
<where>
|
||||
<where>
|
||||
<if test="jobId != null and jobId != ''"> and job_id = #{jobId}</if>
|
||||
<if test="status != null and status != ''"> and status = #{status}</if>
|
||||
<if test="onLineType != null and onLineType != ''"> and on_line_type = #{onLineType}</if>
|
||||
@@ -81,32 +59,115 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="startTime != null and startTime != ''"> and start_time = #{startTime}</if>
|
||||
<if test="finishTime != null and finishTime != ''"> and finish_time = #{finishTime}</if>
|
||||
<if test="entranceId != null and entranceId != ''"> and entrance_id = #{entranceId}</if>
|
||||
<if test="exitId != null and exitId != ''"> and Exit_id = #{exitId}</if>
|
||||
<if test="classNowName != null and classNowName != ''"> and class_now_name like concat('%', #{classNowName}, '%')</if>
|
||||
<if test="classWorkshopName != null and classWorkshopName != ''"> and class_workshop_name like concat('%', #{classWorkshopName}, '%')</if>
|
||||
<if test="classgroupNumber != null and classgroupNumber != ''"> and classgroup_number = #{classgroupNumber}</if>
|
||||
<if test="classWorkshopDateTime != null and classWorkshopDateTime != ''"> and class_workshop_date_time = #{classWorkshopDateTime}</if>
|
||||
<if test="exitId != null and exitId != ''"> and exit_id = #{exitId}</if>
|
||||
<if test="classId != null and classId != ''"> and class_id = #{classId}</if>
|
||||
<if test="classNowDateTime != null and classNowDateTime != ''"> and class_now_date_time = #{classNowDateTime}</if>
|
||||
<if test="warehouseId != null and warehouseId != ''"> and warehouse_id = #{warehouseId}</if>
|
||||
<if test="outId != null and outId != ''"> and out_id = #{outId}</if>
|
||||
<if test="siteId != null and siteId != ''"> and site_id = #{siteId}</if>
|
||||
<if test="carNumber != null and carNumber != ''"> and car_number = #{carNumber}</if>
|
||||
<if test="faultFlag != null and faultFlag != ''"> and fault_flag = #{faultFlag}</if>
|
||||
<if test="devId != null and devId != ''"> and Dev_id = #{devId}</if>
|
||||
<if test="stockSource != null and stockSource != ''"> and stock_source = #{stockSource}</if>
|
||||
<if test="floor != null and floor != ''"> and floor = #{floor}</if>
|
||||
<if test="location != null and location != ''"> and location = #{location}</if>
|
||||
<if test="dwTime != null and dwTime != ''"> and dw_time = #{dwTime}</if>
|
||||
<if test="countId != null and countId != ''"> and count_id = #{countId}</if>
|
||||
<if test="xdTime != null and xdTime != ''"> and xd_time = #{xdTime}</if>
|
||||
<if test="sendFlag != null and sendFlag != ''"> and send_flag = #{sendFlag}</if>
|
||||
<if test="agvStatus != null and agvStatus != ''"> and agv_status = #{agvStatus}</if>
|
||||
<if test="wcsNo != null and wcsNo != ''"> and wcs_no = #{wcsNo}</if>
|
||||
<if test="srcAgv != null and srcAgv != ''"> and src_agv = #{srcAgv}</if>
|
||||
<if test="tarAgv != null and tarAgv != ''"> and tar_agv = #{tarAgv}</if>
|
||||
<if test="groupGuid != null and groupGuid != ''"> and group_guid = #{groupGuid}</if>
|
||||
<if test="photoPath != null and photoPath != ''"> and photo_path = #{photoPath}</if>
|
||||
</where>
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
<select id="selectMydoJobFinishByJobId" parameterType="String" resultMap="MydoJobFinishResult">
|
||||
<include refid="selectMydoJobFinishVo"/>
|
||||
where job_id = #{jobId}
|
||||
</select>
|
||||
|
||||
<insert id="insertMydoJobFinish" parameterType="MydoJobFinish">
|
||||
insert into mydo_job_finish
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="jobId != null and jobId != ''">job_id,</if>
|
||||
<if test="status != null and status != ''">status,</if>
|
||||
<if test="onLineType != null">on_line_type,</if>
|
||||
<if test="taskNo != null and taskNo != ''">task_no,</if>
|
||||
<if test="supplierId != null">supplier_id,</if>
|
||||
<if test="customerId != null">customer_id,</if>
|
||||
<if test="departmentId != null">department_id,</if>
|
||||
<if test="trayCode != null">tray_code,</if>
|
||||
<if test="roadwayId != null">roadway_id,</if>
|
||||
<if test="cargoSpaceId != null">cargo_space_id,</if>
|
||||
<if test="targetRoadwayId != null">target_roadway_id,</if>
|
||||
<if test="targetCargoSpaceId != null">target_cargo_space_id,</if>
|
||||
<if test="lineId != null">line_id,</if>
|
||||
<if test="workshopId != null">workshop_id,</if>
|
||||
<if test="priority != null">priority,</if>
|
||||
<if test="executionPhase != null">execution_phase,</if>
|
||||
<if test="inOrOut != null">in_or_out,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="startTime != null">start_time,</if>
|
||||
<if test="finishTime != null">finish_time,</if>
|
||||
<if test="entranceId != null">entrance_id,</if>
|
||||
<if test="exitId != null">exit_id,</if>
|
||||
<if test="classId != null">class_id,</if>
|
||||
<if test="warehouseId != null">warehouse_id,</if>
|
||||
<if test="faultFlag != null">fault_flag,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="jobId != null and jobId != ''">#{jobId},</if>
|
||||
<if test="status != null and status != ''">#{status},</if>
|
||||
<if test="onLineType != null">#{onLineType},</if>
|
||||
<if test="taskNo != null and taskNo != ''">#{taskNo},</if>
|
||||
<if test="supplierId != null">#{supplierId},</if>
|
||||
<if test="customerId != null">#{customerId},</if>
|
||||
<if test="departmentId != null">#{departmentId},</if>
|
||||
<if test="trayCode != null">#{trayCode},</if>
|
||||
<if test="roadwayId != null">#{roadwayId},</if>
|
||||
<if test="cargoSpaceId != null">#{cargoSpaceId},</if>
|
||||
<if test="targetRoadwayId != null">#{targetRoadwayId},</if>
|
||||
<if test="targetCargoSpaceId != null">#{targetCargoSpaceId},</if>
|
||||
<if test="lineId != null">#{lineId},</if>
|
||||
<if test="workshopId != null">#{workshopId},</if>
|
||||
<if test="priority != null">#{priority},</if>
|
||||
<if test="executionPhase != null">#{executionPhase},</if>
|
||||
<if test="inOrOut != null">#{inOrOut},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="startTime != null">#{startTime},</if>
|
||||
<if test="finishTime != null">#{finishTime},</if>
|
||||
<if test="entranceId != null">#{entranceId},</if>
|
||||
<if test="exitId != null">#{exitId},</if>
|
||||
<if test="classId != null">#{classId},</if>
|
||||
<if test="warehouseId != null">#{warehouseId},</if>
|
||||
<if test="faultFlag != null">#{faultFlag},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updateMydoJobFinish" parameterType="MydoJobFinish">
|
||||
update mydo_job_finish
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="status != null and status != ''">status = #{status},</if>
|
||||
<if test="onLineType != null">on_line_type = #{onLineType},</if>
|
||||
<if test="taskNo != null and taskNo != ''">task_no = #{taskNo},</if>
|
||||
<if test="supplierId != null">supplier_id = #{supplierId},</if>
|
||||
<if test="customerId != null">customer_id = #{customerId},</if>
|
||||
<if test="departmentId != null">department_id = #{departmentId},</if>
|
||||
<if test="trayCode != null">tray_code = #{trayCode},</if>
|
||||
<if test="roadwayId != null">roadway_id = #{roadwayId},</if>
|
||||
<if test="cargoSpaceId != null">cargo_space_id = #{cargoSpaceId},</if>
|
||||
<if test="targetRoadwayId != null">target_roadway_id = #{targetRoadwayId},</if>
|
||||
<if test="targetCargoSpaceId != null">target_cargo_space_id = #{targetCargoSpaceId},</if>
|
||||
<if test="lineId != null">line_id = #{lineId},</if>
|
||||
<if test="workshopId != null">workshop_id = #{workshopId},</if>
|
||||
<if test="priority != null">priority = #{priority},</if>
|
||||
<if test="executionPhase != null">execution_phase = #{executionPhase},</if>
|
||||
<if test="inOrOut != null">in_or_out = #{inOrOut},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="startTime != null">start_time = #{startTime},</if>
|
||||
<if test="finishTime != null">finish_time = #{finishTime},</if>
|
||||
<if test="entranceId != null">entrance_id = #{entranceId},</if>
|
||||
<if test="exitId != null">exit_id = #{exitId},</if>
|
||||
<if test="classId != null">class_id = #{classId},</if>
|
||||
<if test="warehouseId != null">warehouse_id = #{warehouseId},</if>
|
||||
<if test="faultFlag != null">fault_flag = #{faultFlag},</if>
|
||||
</trim>
|
||||
where job_id = #{jobId}
|
||||
</update>
|
||||
|
||||
<delete id="deleteMydoJobFinishByJobId" parameterType="String">
|
||||
delete from mydo_job_finish where job_id = #{jobId}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteMydoJobFinishByJobIds" parameterType="String">
|
||||
delete from mydo_job_finish where job_id in
|
||||
<foreach item="jobId" collection="array" open="(" separator="," close=")">
|
||||
#{jobId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user