| | |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.gkhy.safePlatform.targetDuty.entity.WorkApprove; |
| | | import com.gkhy.safePlatform.targetDuty.model.dto.req.ExcApprove; |
| | | import com.gkhy.safePlatform.targetDuty.model.dto.req.SubmitApprove; |
| | | import com.gkhy.safePlatform.targetDuty.service.WorkApproveService; |
| | | import org.springframework.util.StringUtils; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.gkhy.safePlatform.commons.query.PageQuery; |
| | | import com.gkhy.safePlatform.commons.utils.PageUtils; |
| | |
| | | return new ResultVO<>(ResultCodes.OK); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 审批 |
| | | * |
| | | * @param excApprove 实体对象 |
| | | * @return 修改结果 |
| | | */ |
| | | @PostMapping(value = "/excApprove") |
| | | public ResultVO excApprove(@RequestBody ExcApprove excApprove) { |
| | | if(excApprove.getId() == null){ |
| | | return new ResultVO<>(ResultCodes.CLIENT_PARAM_ILLEGAL); |
| | | } |
| | | workApproveService.excApprove(excApprove); |
| | | return new ResultVO<>(ResultCodes.OK); |
| | | } |
| | | |
| | | /** |
| | | * 删除数据 |
| | | * |