烘料房测试版2
This commit is contained in:
parent
363cae4399
commit
659f41c467
@ -6,5 +6,5 @@ import lombok.Data;
|
||||
@Data
|
||||
public class MachineQueryDTO {
|
||||
private String machineName;
|
||||
private String machineLocation;
|
||||
private String machineCode;
|
||||
}
|
||||
|
||||
@ -111,12 +111,12 @@ public class MoldInjectionMachineServiceImpl implements IMoldInjectionMachineSer
|
||||
*/
|
||||
@Override
|
||||
public List<MachineQueryDTO> selectMoldInjectionMachineLocationList() {
|
||||
List<MoldInjectionMachine> list = moldInjectionMachineMapper.selectList(new LambdaQueryWrapper<MoldInjectionMachine>().select(MoldInjectionMachine::getMachineLocation));
|
||||
List<MoldInjectionMachine> list = moldInjectionMachineMapper.selectList(new LambdaQueryWrapper<MoldInjectionMachine>().select(MoldInjectionMachine::getInjectionMachineName));
|
||||
List<MachineQueryDTO> queryList = new ArrayList<>();
|
||||
for (MoldInjectionMachine item : list) {
|
||||
MachineQueryDTO machineQueryDTO = new MachineQueryDTO();
|
||||
machineQueryDTO.setMachineName(item.getMachineLocation());
|
||||
machineQueryDTO.setMachineLocation(item.getMachineLocation());
|
||||
machineQueryDTO.setMachineName(item.getInjectionMachineName());
|
||||
machineQueryDTO.setMachineCode(item.getInjectionMachineCode());
|
||||
queryList.add(machineQueryDTO);
|
||||
}
|
||||
return queryList;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user