Commit 17d2bb80 by 徐高华

朋友圈

parent 24466341
...@@ -76,6 +76,12 @@ public class QwMomentController { ...@@ -76,6 +76,12 @@ public class QwMomentController {
} }
ServiceResponse<Page<QwMomentPlanWxaDTO>> pageResp = this.qwMomentApiService.planListWxa(qdto) ; ServiceResponse<Page<QwMomentPlanWxaDTO>> pageResp = this.qwMomentApiService.planListWxa(qdto) ;
Page<PlanListVO> retPage = PageHelperUtils.changePageToCurrentPage(pageResp.getResult(), PlanListVO.class); Page<PlanListVO> retPage = PageHelperUtils.changePageToCurrentPage(pageResp.getResult(), PlanListVO.class);
if(qo.getPlanStatus()==1) {
for(PlanListVO vo : retPage.getResult()) {
// 作为失效的数量返回
vo.setNotExecNum(vo.getTotalNum()-vo.getExecNum());
}
}
return RestResponse.successResult(retPage) ; return RestResponse.successResult(retPage) ;
} }
......
...@@ -21,7 +21,7 @@ public class PlanListVO implements Serializable { ...@@ -21,7 +21,7 @@ public class PlanListVO implements Serializable {
*/ */
private int execNum ; private int execNum ;
/** /**
* 未完成 * 未完成 - 或已失效
*/ */
private int notExecNum ; private int notExecNum ;
......
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