Commit f39c1890 by 徐高华

非空判断

parent 60aa928b
...@@ -74,6 +74,9 @@ public class QwMomentController { ...@@ -74,6 +74,9 @@ public class QwMomentController {
logger.info("查询活动列表={}", JSONObject.toJSONString(qo)); logger.info("查询活动列表={}", JSONObject.toJSONString(qo));
PlanListWxaQDTO qdto = EntityUtil.changeEntityByJSON(PlanListWxaQDTO.class,qo) ; PlanListWxaQDTO qdto = EntityUtil.changeEntityByJSON(PlanListWxaQDTO.class,qo) ;
ClerkDTO clerk = this.clerkService.getclerkById(qo.getClerkId()) ; ClerkDTO clerk = this.clerkService.getclerkById(qo.getClerkId()) ;
if(null == clerk) {
return RestResponse.failure("9999","导购不存在或已删除") ;
}
if(0 != clerk.getClerkType()) { if(0 != clerk.getClerkType()) {
qdto.setClerkId(null); qdto.setClerkId(null);
} }
......
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