package com.newfiber.api.pc.controller.zhz; import com.newfiber.api.core.annotation.SysLog; import com.newfiber.api.core.commons.CustomException; import com.newfiber.api.core.commons.ResultCode; import com.newfiber.api.core.commons.ResultObj; import com.newfiber.api.pc.model.meet.MeetAlertInfo; import com.newfiber.api.pc.service.MeetAlertInfoService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.util.StringUtils; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * 警情详细信息管理(主要是人员与物资都在此) * @Author:zhz * @CreateDate:2020/11/27 15:33 * @Description: */ @RestController @RequestMapping("/meet/info/") @Api(value = "MeetAlertInfoController",tags = "警情详细信息管理(主要是人员与物资都在此)") public class MeetAlertInfoController { @Autowired private MeetAlertInfoService meetAlertInfoService; @PostMapping("/personPlan") @ApiOperation("人员安排-(调度)(没有就新增,有就修改人数)") @SysLog(actionType = "3",value = "人员安排-(调度)(没有就新增,有就修改人数)") public ResultObj personPlan(@RequestBody MeetAlertInfo meetAlertInfo){ if(StringUtils.isEmpty(meetAlertInfo.getAId())){ throw new CustomException(ResultCode.PARAM_NULL); } return null; } }