2024-4-1 设备管理-设备运行记录-定时任务-设备生成不全+创建人不对

master
A0010407 10 months ago
parent d5cee2a8f8
commit 132c2dd84d

@ -460,10 +460,9 @@ public class DeviceTaskServiceImpl implements IDeviceTaskService {
for (EquOperation operation : operationList) {
operation.setId(IdUtils.fastSimpleUUID());// id
operation.setFactoryCode(poolName.replace("ds_", ""));// 工厂
operation.setOperationTime(DateUtils.getTime());// 日期
operation.setOperationTime(operationTime);// 运行时间(默认运行时间)
operation.setActualOperationTime(operationTime);// 实际运行时间(默认运行时间)
operation.setCreateBy("jod");
operation.setCreateBy("job");
operation.setCreateTime(DateUtils.getNowDate());
}

@ -118,12 +118,10 @@
zx.equipment_name AS 'groupLine',
be.workshop_name AS 'workshop'
from base_equipment be
left join equ_bind_auxiliary_equipment bae
on bae.auxiliary_equipment_code = be.equipment_code
left join base_equipment zx
on bae.equipment_code = zx.equipment_code
left join equ_bind_auxiliary_equipment bae on bae.auxiliary_equipment_code = be.equipment_code
left join base_equipment zx on bae.equipment_code = zx.equipment_code
where be.del_flag = '0'
and be.equipment_category = '0'
and be.equipment_category != '1'
</select>
<select id="checkInsertOperation" resultType="java.lang.Integer">

Loading…
Cancel
Save