ljx 4 жил өмнө
parent
commit
9381fe8b96

+ 2 - 0
src/main/java/com/imed/costaccount/model/vo/AfterAllocationFormVO.java

@@ -8,6 +8,8 @@ import java.util.Date;
 @Data
 public class AfterAllocationFormVO {
 
+    private Long id;
+
     private Integer year;
 
     private Integer month;

+ 1 - 0
src/main/java/com/imed/costaccount/service/impl/AllocationServiceImpl.java

@@ -691,6 +691,7 @@ public class AllocationServiceImpl extends ServiceImpl<AllocationMapper, Allocat
 //        list.
         List<AfterAllocationFormVO> vos = list.stream().map(i -> {
             AfterAllocationFormVO vo = new AfterAllocationFormVO();
+            vo.setId(i.getId());
             vo.setYear(i.getDateYear());
             vo.setMonth(i.getDateMonth());
             vo.setShareLevel(i.getLevelSort());