From d6d25613f504d8fc4c6ffa8a1854beb4dac044d0 Mon Sep 17 00:00:00 2001
From: chen.llin <1442464845@qq.comm>
Date: 星期日, 18 一月 2026 09:16:24 +0800
Subject: [PATCH] 菜单
---
src/main/resources/mapper/TaskMapper.xml | 40 +++++++++++++++++++++++++++++++++++++---
1 files changed, 37 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/TaskMapper.xml b/src/main/resources/mapper/TaskMapper.xml
index edd5bd9..bb52fca 100644
--- a/src/main/resources/mapper/TaskMapper.xml
+++ b/src/main/resources/mapper/TaskMapper.xml
@@ -2,11 +2,45 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.zy.asrs.mapper.TaskMapper">
- <!-- 閫氱敤鏌ヨ鏄犲皠缁撴灉 -->
<resultMap id="BaseResultMap" type="com.zy.asrs.entity.Task">
- <id column="id" property="id" />
- <result column="task_type" property="taskType" />
+ <id column="id" property="id" jdbcType="BIGINT"/>
+ <result column="wrk_no" property="wrkNo" jdbcType="INTEGER"/>
+ <result column="io_time" property="ioTime" jdbcType="TIMESTAMP"/>
+ <result column="wrk_sts" property="wrkSts" jdbcType="BIGINT"/>
+ <result column="io_type" property="ioType" jdbcType="INTEGER"/>
+ <result column="task_type" property="taskType" jdbcType="VARCHAR"/>
+ <result column="io_pri" property="ioPri" jdbcType="DOUBLE"/>
+ <result column="crn_no" property="crnNo" jdbcType="INTEGER"/>
+ <result column="source_sta_no" property="sourceStaNo" jdbcType="VARCHAR"/>
+ <result column="sta_no" property="staNo" jdbcType="VARCHAR"/>
+ <result column="source_loc_no" property="sourceLocNo" jdbcType="VARCHAR"/>
+ <result column="loc_no" property="locNo" jdbcType="VARCHAR"/>
+ <result column="full_plt" property="fullPlt" jdbcType="VARCHAR"/>
+ <result column="picking" property="picking" jdbcType="VARCHAR"/>
+ <result column="exit_mk" property="exitMk" jdbcType="VARCHAR"/>
+ <result column="empty_mk" property="emptyMk" jdbcType="VARCHAR"/>
+ <result column="link_mis" property="linkMis" jdbcType="VARCHAR"/>
+ <result column="barcode" property="barcode" jdbcType="VARCHAR"/>
+ <result column="appe_user" property="appeUser" jdbcType="BIGINT"/>
+ <result column="appe_time" property="appeTime" jdbcType="TIMESTAMP"/>
+ <result column="modi_user" property="modiUser" jdbcType="BIGINT"/>
+ <result column="modi_time" property="modiTime" jdbcType="TIMESTAMP"/>
+ <result column="error_time" property="errorTime" jdbcType="TIMESTAMP"/>
+ <result column="upd_mk" property="updMk" jdbcType="VARCHAR"/>
+
+
</resultMap>
+
+ <select id="selectToBeCompleteData" resultMap="BaseResultMap">
+ select * from agv_task where ((wrk_sts = 4 Or wrk_sts = 14 Or wrk_sts = 15 ) and io_type != 103 and io_type != 104 and io_type != 107 ) or (wrk_sts = 2 and io_type=6) order by upd_mk,error_time,io_time,wrk_no
+ </select>
+
+
+ <select id="selectToBeHistoryData" resultMap="BaseResultMap">
+ select * from agv_task
+ where wrk_sts=5 or wrk_sts=15
+ order by io_time,wrk_no asc
+ </select>
</mapper>
--
Gitblit v1.9.1