配置完待办不选择提醒人查询不出来问题修改

This commit is contained in:
z 2025-02-14 13:40:17 +08:00
parent 1a10d558e6
commit ab936ae1ca
2 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ public class AttentiontodoServiceImpl implements AttentiontodoService {
attentiontodoMapper.deleteall(updateReqVO); attentiontodoMapper.deleteall(updateReqVO);
if(updateReqVO.getTaskDispatchDetails()!=null&&updateReqVO.getTaskDispatchDetails().size()>0) { if(updateReqVO.getTaskDispatchDetails()!=null&&updateReqVO.getTaskDispatchDetails().size()>0) {
Map<String, Object> mapp = (Map<String, Object>) updateReqVO.getTaskDispatchDetails().get(0); Map<String, Object> mapp = (Map<String, Object>) updateReqVO.getTaskDispatchDetails().get(0);
if (mapp.get("remindman") != null) { // if (mapp.get("remindman") != null) {
for (Object taskDispatchDetail : updateReqVO.getTaskDispatchDetails()) { for (Object taskDispatchDetail : updateReqVO.getTaskDispatchDetails()) {
Map<String, Object> map = (Map<String, Object>) taskDispatchDetail; Map<String, Object> map = (Map<String, Object>) taskDispatchDetail;
Object remindmanValue = map.get("remindman"); Object remindmanValue = map.get("remindman");
@ -76,7 +76,7 @@ public class AttentiontodoServiceImpl implements AttentiontodoService {
attentiontodoMapper.insert(attentiontodo); attentiontodoMapper.insert(attentiontodo);
} }
} }
} // }
} }
@Override @Override

View File

@ -22,7 +22,7 @@
SELECT a.*, b.tenant_id as txrid SELECT a.*, b.tenant_id as txrid
FROM db_attentiontodo a FROM db_attentiontodo a
INNER JOIN system_users b ON a.attr4 = b.nickname LEFT JOIN system_users b ON a.attr4 = b.nickname
WHERE a.attr2 = #{param1} WHERE a.attr2 = #{param1}
</select> </select>