Commit 7b0f1268 authored by 廖旭伟's avatar 廖旭伟

事项申请列表增加类型名称

parent f92eecf2
...@@ -136,6 +136,20 @@ public class MatterApplyServiceImpl extends AbstractCRUDServiceImpl<MatterApplyD ...@@ -136,6 +136,20 @@ public class MatterApplyServiceImpl extends AbstractCRUDServiceImpl<MatterApplyD
for (MatterApplyEntity entity:list){ for (MatterApplyEntity entity:list){
List<MatterApplyDatumEntity> datumEntities = matterApplyDatumService.find(new MatterApplyDatumQuery().applyId(entity.getId())); List<MatterApplyDatumEntity> datumEntities = matterApplyDatumService.find(new MatterApplyDatumQuery().applyId(entity.getId()));
entity.setApplyDatumList(datumEntities); entity.setApplyDatumList(datumEntities);
if(entity.getApplyType()==1){
entity.setApplyTypeName("移动端申请");
}else {
if(entity.getCreateUserId()!=null) {
UserEntity userEntity = userService.get(entity.getCreateUserId());
if(userEntity!=null) {
entity.setApplyTypeName("后台申请(" + userEntity.getRealName() + ")");
}else {
entity.setApplyTypeName("后台申请");
}
}else {
entity.setApplyTypeName("后台申请");
}
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment