PDA设备名称显示BUG+保养图片上传BUG解决

orign^2
wws 1 year ago
parent 8856c74e4d
commit 739bc7237c

@ -66,6 +66,9 @@ public class DevicePDAServiceImpl implements IDevicePDAService {
@Autowired
private SparePartsLedgerMapper sparePartsLedgerMapper;
@Autowired
private EquipmentMapper equipmentMapper;
/**
* list-
@ -115,6 +118,9 @@ public class DevicePDAServiceImpl implements IDevicePDAService {
timeArray.add(order.getOrderEnd());
order.setTimeArray(timeArray);
// 设备名称
order.setEquipmentName(equipmentMapper.selectEquipmentByEquipmentCode(order.getEquipmentCode()).getEquipmentName());
order.setPlanName(equOrderMapper.selectPlanNameByPlanCode(order.getOrderCode()));
order.setWorkCenterName(equOrderMapper.selectCenterNameByCenterCode(order.getPlanWorkshop()));
@ -155,7 +161,7 @@ public class DevicePDAServiceImpl implements IDevicePDAService {
// 保养图片
BaseFileData selectTemp = new BaseFileData();
selectTemp.setSourceId(equOrder.getId());
selectTemp.setSourceId(order.getOrderId());
List<String> upkeepPictures = equFileMapper.selectUrlList(selectTemp);
if (upkeepPictures != null) {
order.setUpkeepPictures(upkeepPictures);

Loading…
Cancel
Save