|
@@ -4,6 +4,7 @@ package com.usky.fire.controller.web;
|
|
|
import com.usky.common.log.annotation.Log;
|
|
|
import com.usky.common.log.enums.BusinessType;
|
|
|
import com.usky.fire.service.vo.DemFireReformVO;
|
|
|
+import com.usky.fire.service.vo.MobileScheduleVO;
|
|
|
import com.usky.fire.service.vo.UpdateReformReviewVO;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -11,8 +12,6 @@ import com.usky.fire.service.DemFireReformService;
|
|
|
import com.usky.common.core.bean.ApiResult;
|
|
|
import com.usky.common.core.bean.CommonPage;
|
|
|
|
|
|
-import org.springframework.stereotype.Controller;
|
|
|
-
|
|
|
import java.util.Map;
|
|
|
import java.util.List;
|
|
|
/**
|
|
@@ -49,6 +48,26 @@ public class DemFireReformController {
|
|
|
return ApiResult.success(demFireReformService.fireReformList(companyName, reformId, companyType, pageNum, pageSize));
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 移动端-消防整改-待办事项列表查询
|
|
|
+ *
|
|
|
+ * @param companyId 单位编号
|
|
|
+ * @param reformId 整改单编号
|
|
|
+ * @param reformStatus 整改状态(1 已接收、2 整改中、3 整改完成、4 审核不通过、5 审核通过)
|
|
|
+ * @param pageNum 当前页
|
|
|
+ * @param pageSize 每页条数
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("mobileScheduleList")
|
|
|
+ public ApiResult<CommonPage<MobileScheduleVO>> mobileScheduleList(@RequestParam(value = "companyId", required = false) String companyId,
|
|
|
+ @RequestParam(value = "reformId", required = false) String reformId,
|
|
|
+ @RequestParam(value = "reformStatus", required = false) Integer reformStatus,
|
|
|
+ @RequestParam(value = "pageNum",required = false,defaultValue = "1") Integer pageNum,
|
|
|
+ @RequestParam(value = "pageSize",required = false,defaultValue = "10") Integer pageSize){
|
|
|
+ return ApiResult.success(demFireReformService.mobileScheduleList(companyId, reformId, reformStatus, pageNum, pageSize));
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 重点单位信息-消防整改审核-审核/查看资料
|
|
|
*
|
|
@@ -74,5 +93,17 @@ public class DemFireReformController {
|
|
|
return ApiResult.success();
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 移动端-消防整改-去整改
|
|
|
+ *
|
|
|
+ * @param reformId 整改单编号
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @Log(title="移动端-消防整改-去整改", businessType = BusinessType.UPDATE)
|
|
|
+ @PutMapping("updateMobileReformStatus")
|
|
|
+ public ApiResult<Void> updateMobileReformStatus(@RequestParam(value="reformId") String reformId){
|
|
|
+ demFireReformService.updateMobileReformStatus(reformId);
|
|
|
+ return ApiResult.success();
|
|
|
+ }
|
|
|
}
|
|
|
|