Commit eb524a66 authored by 赵啸非's avatar 赵啸非

添加材料数量统计

parent 1c44edec
...@@ -23,11 +23,6 @@ public class MatterDatumVo extends BaseEntityLong { ...@@ -23,11 +23,6 @@ public class MatterDatumVo extends BaseEntityLong {
* 事项编号 * 事项编号
*/ */
private String matterNo; private String matterNo;
/**
* 部门名称
*/
private String deptName;
private Long siteId; private Long siteId;
......
...@@ -46,6 +46,13 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter ...@@ -46,6 +46,13 @@ public class MatterServiceImpl extends AbstractCRUDServiceImpl<MatterDao, Matter
protected void findAfter(MatterEntity entity, PageInfo pageInfo, Context context, List<MatterEntity> list) throws AppException { protected void findAfter(MatterEntity entity, PageInfo pageInfo, Context context, List<MatterEntity> list) throws AppException {
for (MatterEntity matterEntity : list) { for (MatterEntity matterEntity : list) {
matterEntity.setDatumCount(matterEntity.getMatterDatumList().size()); 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()) { if (entity.getIsTerminal() == YesNoEnum.YES.getValue()) {
String searchMatterName = StrUtil.subBetween(entity.getMatterName(), "%"); String searchMatterName = StrUtil.subBetween(entity.getMatterName(), "%");
if(!ObjectUtils.isEmpty(searchMatterName)){ 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