| | |
| | | import org.jeecg.modules.eam.constant.EquipmentLeanOutStatusEnum; |
| | | import org.jeecg.modules.eam.entity.EamEquipmentLeanOut; |
| | | import org.jeecg.modules.eam.request.EamEquipmentLeanOutQuery; |
| | | import org.jeecg.modules.eam.request.EamEquipmentLeanOutRequest; |
| | | import org.jeecg.modules.eam.service.IEamEquipmentLeanOutService; |
| | | import org.jeecg.modules.system.service.ISysBusinessCodeRuleService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 编辑 |
| | | * 审批 |
| | | * |
| | | * @param request |
| | | * @return |
| | |
| | | @AutoLog(value = "设备借出归还-审批流") |
| | | @ApiOperation(value = "设备借出归还-审批流", notes = "设备借出归还-审批流") |
| | | @RequestMapping(value = "/approval", method = {RequestMethod.PUT, RequestMethod.POST}) |
| | | public Result<?> approval(@RequestBody EamEquipmentLeanOut request) { |
| | | public Result<?> approval(@RequestBody EamEquipmentLeanOutRequest request) { |
| | | if (request == null) { |
| | | return Result.error("添加的对象不能为空!"); |
| | | } |