Commit c7f95ea8 by 徐高华

朋友圈

parent 591bc844
...@@ -76,7 +76,6 @@ ...@@ -76,7 +76,6 @@
creator_id, creator_id,
creator_name, creator_name,
status_flag, status_flag,
delete_flag,
publish_type, publish_type,
publish_time, publish_time,
plan_clerk_type, plan_clerk_type,
...@@ -103,7 +102,6 @@ ...@@ -103,7 +102,6 @@
#{creatorId,jdbcType=VARCHAR}, #{creatorId,jdbcType=VARCHAR},
#{creatorName,jdbcType=VARCHAR}, #{creatorName,jdbcType=VARCHAR},
#{statusFlag,jdbcType=INTEGER}, #{statusFlag,jdbcType=INTEGER},
#{deleteFlag,jdbcType=INTEGER},
#{publishType,jdbcType=INTEGER}, #{publishType,jdbcType=INTEGER},
#{publishTime,jdbcType=TIMESTAMP}, #{publishTime,jdbcType=TIMESTAMP},
#{planClerkType,jdbcType=INTEGER}, #{planClerkType,jdbcType=INTEGER},
......
...@@ -157,6 +157,9 @@ public class QwMomentController { ...@@ -157,6 +157,9 @@ public class QwMomentController {
public RestResponse<Page<HaobanQwMomentPlanVO>> planList(@RequestBody PlanListQO qo) { public RestResponse<Page<HaobanQwMomentPlanVO>> planList(@RequestBody PlanListQO qo) {
QwMomentPlanQDTO qdto = EntityUtil.changeEntityByJSON(QwMomentPlanQDTO.class,qo) ; QwMomentPlanQDTO qdto = EntityUtil.changeEntityByJSON(QwMomentPlanQDTO.class,qo) ;
qdto.setCreatorIdList(CreatorUtils.getCreatorIdList(qo.getShowSelfFlag())); qdto.setCreatorIdList(CreatorUtils.getCreatorIdList(qo.getShowSelfFlag()));
WebLoginDTO loginUser = AuthWebRequestUtil.getLoginUser();
qdto.setEnterpriseId(loginUser.getEnterpriseId());
qdto.setWxEnterpriseId(loginUser.getWxEnterpriseId());
ServiceResponse<Page<QwMomentPlanDTO>> resp = this.qwMomentApiService.planList(qdto) ; ServiceResponse<Page<QwMomentPlanDTO>> resp = this.qwMomentApiService.planList(qdto) ;
Page<HaobanQwMomentPlanVO> retPage = PageHelperUtils.changePageToCurrentPage(resp.getResult(), HaobanQwMomentPlanVO.class); Page<HaobanQwMomentPlanVO> retPage = PageHelperUtils.changePageToCurrentPage(resp.getResult(), HaobanQwMomentPlanVO.class);
return RestResponse.successResult(retPage); return RestResponse.successResult(retPage);
......
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