|
|
@ -306,9 +306,9 @@ public class EquPlanServiceImpl implements IEquPlanService {
|
|
|
|
List<EquPlanPerson> personList = equPlanPersonMapper.selectEquPlanPersonByPlanCode(equPlan.getPlanCode());
|
|
|
|
List<EquPlanPerson> personList = equPlanPersonMapper.selectEquPlanPersonByPlanCode(equPlan.getPlanCode());
|
|
|
|
|
|
|
|
|
|
|
|
// 处理人员信息列表信息用于前端穿梭框信息回填
|
|
|
|
// 处理人员信息列表信息用于前端穿梭框信息回填
|
|
|
|
List<Long> persons = new ArrayList<>();
|
|
|
|
List<String> persons = new ArrayList<>();
|
|
|
|
for (EquPlanPerson person : personList) {
|
|
|
|
for (EquPlanPerson person : personList) {
|
|
|
|
persons.add(person.getUserId());
|
|
|
|
persons.add(person.getUserName());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 通过计划编码获取设备信息列表
|
|
|
|
// 通过计划编码获取设备信息列表
|
|
|
@ -378,7 +378,7 @@ public class EquPlanServiceImpl implements IEquPlanService {
|
|
|
|
EquPlanPerson equPlanPerson = new EquPlanPerson();
|
|
|
|
EquPlanPerson equPlanPerson = new EquPlanPerson();
|
|
|
|
|
|
|
|
|
|
|
|
equPlanPerson.setId(IdUtils.fastSimpleUUID());// id
|
|
|
|
equPlanPerson.setId(IdUtils.fastSimpleUUID());// id
|
|
|
|
equPlanPerson.setUserId(user.getUserId());// 用户id
|
|
|
|
equPlanPerson.setUserName(user.getUserName());// 用户名称
|
|
|
|
equPlanPerson.setPlanCode(equPlan.getPlanCode());// 计划编码
|
|
|
|
equPlanPerson.setPlanCode(equPlan.getPlanCode());// 计划编码
|
|
|
|
equPlanPerson.setFactoryCode(factory);// 工厂code
|
|
|
|
equPlanPerson.setFactoryCode(factory);// 工厂code
|
|
|
|
equPlanPerson.setCreateBy(SecurityContextHolder.getUserName());
|
|
|
|
equPlanPerson.setCreateBy(SecurityContextHolder.getUserName());
|
|
|
|