|
|
@ -1033,6 +1033,7 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl<ImsDutyMainMapper, I |
|
|
|
if (null == s.getGroupId()) { |
|
|
|
if (null == s.getGroupId()) { |
|
|
|
ImsDutyMainPersonEntity imsDutyMainPersonEntity = imsDutyMainPersonMapper.selectOne(new LambdaQueryWrapper<ImsDutyMainPersonEntity>() {{ |
|
|
|
ImsDutyMainPersonEntity imsDutyMainPersonEntity = imsDutyMainPersonMapper.selectOne(new LambdaQueryWrapper<ImsDutyMainPersonEntity>() {{ |
|
|
|
eq(ImsDutyMainPersonEntity::getDutyMainId, s.getDutyId()); |
|
|
|
eq(ImsDutyMainPersonEntity::getDutyMainId, s.getDutyId()); |
|
|
|
|
|
|
|
last("limit 1"); |
|
|
|
}}); |
|
|
|
}}); |
|
|
|
s.setManagerId(imsDutyMainPersonEntity.getDutyChargePerson()); |
|
|
|
s.setManagerId(imsDutyMainPersonEntity.getDutyChargePerson()); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -1187,6 +1188,7 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl<ImsDutyMainMapper, I |
|
|
|
if (null == s.getGroupId()) { |
|
|
|
if (null == s.getGroupId()) { |
|
|
|
ImsDutyMainPersonEntity imsDutyMainPersonEntity = imsDutyMainPersonMapper.selectOne(new LambdaQueryWrapper<ImsDutyMainPersonEntity>() {{ |
|
|
|
ImsDutyMainPersonEntity imsDutyMainPersonEntity = imsDutyMainPersonMapper.selectOne(new LambdaQueryWrapper<ImsDutyMainPersonEntity>() {{ |
|
|
|
eq(ImsDutyMainPersonEntity::getDutyMainId, s.getId()); |
|
|
|
eq(ImsDutyMainPersonEntity::getDutyMainId, s.getId()); |
|
|
|
|
|
|
|
last(" limit 1"); |
|
|
|
}}); |
|
|
|
}}); |
|
|
|
s.setManagerId(imsDutyMainPersonEntity.getDutyChargePerson().toString()); |
|
|
|
s.setManagerId(imsDutyMainPersonEntity.getDutyChargePerson().toString()); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -1382,6 +1384,7 @@ public class ImsDutyMainServiceImpl extends BaseServiceImpl<ImsDutyMainMapper, I |
|
|
|
if (null == dutyMainInfoVo.getDutyGroupId()) { |
|
|
|
if (null == dutyMainInfoVo.getDutyGroupId()) { |
|
|
|
ImsDutyMainPersonEntity imsDutyMainPersonEntity = imsDutyMainPersonMapper.selectOne(new LambdaQueryWrapper<ImsDutyMainPersonEntity>() {{ |
|
|
|
ImsDutyMainPersonEntity imsDutyMainPersonEntity = imsDutyMainPersonMapper.selectOne(new LambdaQueryWrapper<ImsDutyMainPersonEntity>() {{ |
|
|
|
eq(ImsDutyMainPersonEntity::getDutyMainId, dutyMainInfoVo.getId()); |
|
|
|
eq(ImsDutyMainPersonEntity::getDutyMainId, dutyMainInfoVo.getId()); |
|
|
|
|
|
|
|
last(" LIMIT 1"); |
|
|
|
}}); |
|
|
|
}}); |
|
|
|
dutyMainInfoVo.setManagerId(imsDutyMainPersonEntity.getDutyChargePerson().toString()); |
|
|
|
dutyMainInfoVo.setManagerId(imsDutyMainPersonEntity.getDutyChargePerson().toString()); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|