| | |
| | | import com.moral.api.pojo.ext.allocation.AllocationPageExt; |
| | | import com.moral.api.pojo.query.allocation.*; |
| | | import com.moral.api.pojo.query.allocationextension.AllocationExtensionAddCond; |
| | | import com.moral.api.pojo.vo.allocation.AllocationFindVo; |
| | | import com.moral.api.pojo.vo.allocation.AllocationPageVo; |
| | | import com.moral.api.pojo.vo.allocation.AllocationVo; |
| | | import com.moral.api.utils.BeanConverts; |
| | |
| | | import io.swagger.annotations.*; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.util.ObjectUtils; |
| | | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.lang.reflect.Field; |
| | | import java.util.ArrayList; |
| | | import java.util.HashMap; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | import com.moral.api.utils.NoModelWriteData; |
| | | import com.moral.constant.Constants; |
| | | import com.moral.constant.ResultMessage; |
| | | import com.moral.util.DateUtils; |
| | | import com.moral.util.WebUtils; |
| | | |
| | | |
| | | import javax.validation.Valid; |
| | | |
| | |
| | | public ResultMessage contaminate() { |
| | | List<Map<String, Object>> professions = allocationService.sysDictData(Constants.WU_RAN_LEI_XING); |
| | | return ResultMessage.ok(professions); |
| | | } |
| | | |
| | | @ApiOperation(value = "责任单位", notes = "责任单位") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "token", value = "token", required = true, paramType = "header", dataType = "String") |
| | | }) |
| | | @RequestMapping(value = "unit", method = RequestMethod.GET) |
| | | public ResultMessage unit() { |
| | | List<ResponsibilityUnit> responsibilityUnits = allocationService.seleteUnit(); |
| | | return ResultMessage.ok(responsibilityUnits); |
| | | } |
| | | |
| | | |
| | |
| | | allocationVo.setFileChangeList(allocationext.getFileChangeList()); |
| | | allocationVo.setFileApproveList(allocationext.getFileApproveList()); |
| | | allocationVo.setApproveList(allocationext.getApproveList()); |
| | | allocationVo.setTime(DateUtils.dateToDateString(allocationVo.getEscalationTime(), DateUtils.yyyy_MM_dd_CN)); |
| | | return ResultMessage.ok(allocationVo); |
| | | } |
| | | @GetMapping("remove") |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | } |