Commit 474b3b8c by 徐高华

非空判断

parent 19e7c963
......@@ -25,6 +25,7 @@ import com.gic.haoban.manage.web.vo.moment.PlanListVO;
import com.gic.haoban.manage.web.vo.moment.TaskDetailVO;
import com.gic.haoban.manage.web.vo.moment.TaskMaterialVO;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -97,6 +98,9 @@ public class QwMomentController {
@RequestMapping("task-list")
public RestResponse<Page<PlanClerkListVO>> taskList(@RequestBody PlanClerkListQO qo) {
logger.info("活动下任务列表={}", JSONObject.toJSONString(qo));
if(StringUtils.isEmpty(qo.getClerkId())) {
return RestResponse.failure("9999","导购参数为空") ;
}
TaskListWxaQDTO qdto = EntityUtil.changeEntityByJSON(TaskListWxaQDTO.class,qo) ;
ClerkDTO clerk = this.clerkService.getclerkById(qo.getClerkId()) ;
if(0 != clerk.getClerkType()) {
......
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