Commit 93c85009 authored by 赵啸非's avatar 赵啸非

重构部分功能模块

parent debf3958
Pipeline #2326 canceled with stages
......@@ -48,6 +48,13 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
protected void findAfter(MatterEntity entity, PageInfo pageInfo, Context context, List<MatterEntity> list) throws AppException {
for (MatterEntity matterEntity : list) {
matterEntity.setDatumCount(matterEntity.getMatterDatumList().size());
matterEntity.getMatterDatumList().forEach(matterDatumEntity -> {
matterDatumEntity.setMatterName(matterEntity.getMatterName());
matterDatumEntity.setMatterNo(matterEntity.getMatterNo());
matterDatumEntity.setDeptCode(matterEntity.getDeptCode());
});
if (entity.getIsTerminal() == YesNoEnum.YES.getValue()) {
String searchMatterName = StrUtil.subBetween(entity.getMatterName(), "%");
if(!ObjectUtils.isEmpty(searchMatterName)){
......
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