Commit 10b9b2f8018ed32781a25cbe58b5c1afe286d64c
1 parent
6876993b19
Exists in
master
and in
6 other branches
检查报告
Showing 1 changed file with 4 additions and 6 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/LisFacade.java
View file @
10b9b2f
| ... | ... | @@ -130,13 +130,16 @@ |
| 130 | 130 | checkByDate.add(CheckByDate1); |
| 131 | 131 | } |
| 132 | 132 | }else{ |
| 133 | + CheckByDate checkByItem = new CheckByDate(); | |
| 134 | + checkByItem.setTime("检验报告"); | |
| 135 | + checkByDate.add(checkByItem); | |
| 133 | 136 | for (CheckResponse check : result) { |
| 134 | 137 | sortLisItems(check); |
| 135 | 138 | List<CheckType> checkType =new ArrayList<CheckType>(); |
| 136 | 139 | |
| 137 | 140 | List<CheckResponse> result2 = new ArrayList<>(); |
| 138 | 141 | |
| 139 | - check.setTitle(check.getTitle()+" "+DateUtil.getyyyy_MM_dd(check.getApplyDate())); | |
| 142 | + check.setTitle(check.getTitle() + " " + DateUtil.getyyyy_MM_dd(check.getApplyDate())); | |
| 140 | 143 | CheckType CheckType1 = new CheckType(); |
| 141 | 144 | result2.add(check); |
| 142 | 145 | |
| 143 | 146 | |
| ... | ... | @@ -145,12 +148,7 @@ |
| 145 | 148 | CheckType1.setTypeName(result2); |
| 146 | 149 | checkType.add(CheckType1); |
| 147 | 150 | } |
| 148 | - | |
| 149 | - CheckByDate checkByItem = new CheckByDate(); | |
| 150 | - | |
| 151 | - checkByItem.setTime("检验报告"); | |
| 152 | 151 | checkByItem.setTypes(checkType); |
| 153 | - checkByDate.add(checkByItem); | |
| 154 | 152 | } |
| 155 | 153 | } |
| 156 | 154 | return new BaseObjectResponse().setErrorcode(ErrorCodeConstants.SUCCESS).setErrormsg(ErrorCodeConstants.SUCCESS_DESCRIPTION).setData(checkByDate); |