调度系统接口开发

This commit is contained in:
2025-08-13 09:04:15 +08:00
parent 45a010bf30
commit 7d595c1f9f
17 changed files with 249 additions and 118 deletions

View File

@@ -3,7 +3,7 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.zg.project.wisdom.mapper.AgyWcsMapper">
<mapper namespace="com.zg.project.wisdom.mapper.AgvWcsMapper">
<resultMap id="AgyWcsResultMap" type="com.zg.project.wisdom.domain.AgyWcs">
<id property="id" column="id"/>
@@ -12,8 +12,8 @@
</resultMap>
<!-- 插入 AGV-WCS 映射关系 -->
<insert id="insertAgyWcs" parameterType="com.zg.project.wisdom.domain.AgyWcs">
INSERT INTO agy_wcs (requestId, TaskID)
<insert id="insertAgvWcs" parameterType="com.zg.project.wisdom.domain.AgyWcs">
INSERT INTO agv_wcs (requestId, TaskID)
VALUES (#{requestId}, #{taskId})
</insert>

View File

@@ -29,34 +29,18 @@
task_id,
task_status,
msg,
job_id,
owner,
type,
priority,
source_name,
target_name,
create_time,
update_time,
is_delete,
create_by,
update_by
create_by
)
VALUES
(
#{taskId},
#{TaskStatus},
#{taskStatus},
#{msg},
#{jobId},
#{owner},
#{type},
#{priority},
#{sourceName},
#{targetName},
#{createTime},
#{updateTime},
#{isDelete},
#{createBy},
#{updateBy}
#{createBy}
)
</insert>
@@ -64,7 +48,7 @@
SELECT COUNT(*)
FROM wcs_task_result
WHERE task_id = #{taskId}
AND TaskStatus = '1'
AND task_status = '1'
</select>
</mapper>