feat(dms): 添加润滑标准编码字段并优化查询

- 在 DmsBillsLubeDetailMapper.xml 中添加润滑标准编码字段映射
- 更新 DmsBillsLubeDetailVo 类,增加润滑标准编码属性
- 修改查询 SQL,加入润滑标准编码字段
-为 DubboReference 添加超时设置,提高稳定性
- 移除 DmsPlanInspectMapper.xml 中的冗余注释
master
zch 1 week ago
parent 6363cb81b1
commit 269219e976

@ -137,4 +137,10 @@ public class DmsBillsLubeDetailVo implements Serializable {
*/
@ExcelProperty(value = "润滑部位名称")
private String lubeStationName;
/**
* ()
*/
@ExcelProperty(value = "润滑标准编码")
private String lubeStandardCode;
}

@ -27,6 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="lubeProtocol" column="lube_protocol" />
<result property="lubeOperationDescription" column="lube_operation_description" />
<result property="lubeStationCode" column="lube_station_code" />
<result property="lubeStandardCode" column="lube_standard_code" />
</resultMap>
<!-- LubricationDetail 结果映射 -->
@ -49,11 +50,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<sql id="selectDmsBillsLubeDetailJoinVo">
select dbld.bills_lube_detail_id, dbld.lube_instance_id, dbld.machine_id, dbld.lube_station_id, dbld.lube_standard_id,
dbld.operation_description, dbld.maint_status,
dbld.operation_description, dbld.maint_status, dbld.begin_time, dbld.end_time,
dbdl.machine_code,dbdl.machine_name,
dbdt.device_type_name,
dbls.lube_station_code, dbls.lube_station_name,
dblsd.lube_protocol,
dblsd.lube_standard_code, dblsd.lube_protocol,
dblsd.operation_description as lube_operation_description
from dms_bills_lube_detail dbld
left join prod_base_machine_info dbdl on dbld.machine_id = dbdl.machine_id

@ -42,10 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
a.inspect_route_id, a.device_amount, a.plan_time, a.cycle_period,a.time_limit,a.job_id,
a.performer, a.remark, a.create_by, a.create_time, a.update_by,
a.update_time
/* ,
b.cron_expression*/
from dms_plan_inspect a
-- left join sys_job b on a.job_id = b.job_id left join sys_job b on a.job_id = b.job_id
from dms_plan_inspect a left join sys_job b on a.job_id = b.job_id
where a.plan_inspect_code = #{planInspectCode}
</select>

@ -19,7 +19,7 @@ public class DmsLubeStanceExecutor {
private static final ObjectMapper objectMapper = new ObjectMapper();
@DubboReference
@DubboReference(timeout = 15000)
private final RemoteLubeInstanceService dmsBillsLubeInstanceService;
public DmsLubeStanceExecutor(RemoteLubeInstanceService dmsBillsLubeInstanceService) {

Loading…
Cancel
Save