fix(schedule): 修复重量读取逻辑及配置更新

- 更新Redis和数据库地址
- 优化重量秤数据读取与资源关闭
- 使用数据库重量并处理低于40kg的默认值
- 修复调度线程命名及查询返回类型
This commit is contained in:
刘汗青
2026-08-31 10:31:46 +08:00
parent 2272a89b2a
commit 52772494d4
5 changed files with 67 additions and 39 deletions

View File

@@ -84,10 +84,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectDdjDeviceExecutionQueueVo"/>
where rwh = #{rwh} and dev_id = #{devId}
</select>
<select id="selectOutJobCount">
select count(*) from ddj_device_execution_queue
where spare2=#{spare2}
<select id="selectOutJobCount" resultType="java.lang.Integer">
select count(*)
from ddj_device_execution_queue
where spare2 = #{spare2}
</select>