Commit 2343b553 authored by wuqinghua's avatar wuqinghua

Merge remote-tracking branch 'origin/master'

parents e42c7cd1 35c63348
...@@ -74,8 +74,8 @@ public class CommonController ...@@ -74,8 +74,8 @@ public class CommonController
// 上传文件路径 // 上传文件路径
String filePath = GassafetyProgressConfig.getUploadPath(); String filePath = GassafetyProgressConfig.getUploadPath();
// 上传并返回新文件名称 // 上传并返回新文件名称
String fileName = FileUploadUtils.upload(filePath, file); String fileName = file.getOriginalFilename();
String url = serverConfig.getUrl() + fileName; String url = serverConfig.getUrl() + FileUploadUtils.upload(filePath, file);
AjaxResult ajax = AjaxResult.success(); AjaxResult ajax = AjaxResult.success();
ajax.put("fileName", fileName); ajax.put("fileName", fileName);
ajax.put("url", url); ajax.put("url", url);
......
package com.zehong.web.controller.operationMonitor;
import java.util.List;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.zehong.common.annotation.Log;
import com.zehong.common.core.controller.BaseController;
import com.zehong.common.core.domain.AjaxResult;
import com.zehong.common.enums.BusinessType;
import com.zehong.system.domain.TWorkOrder;
import com.zehong.system.service.ITWorkOrderService;
import com.zehong.common.utils.poi.ExcelUtil;
import com.zehong.common.core.page.TableDataInfo;
/**
* 燃气任务Controller
*
* @author zehong
* @date 2022-02-10
*/
@RestController
@RequestMapping("/system/order")
public class TWorkOrderController extends BaseController
{
@Autowired
private ITWorkOrderService tWorkOrderService;
/**
* 查询燃气任务列表
*/
@PreAuthorize("@ss.hasPermi('system:order:list')")
@GetMapping("/list")
public TableDataInfo list(TWorkOrder tWorkOrder)
{
startPage();
List<TWorkOrder> list = tWorkOrderService.selectTWorkOrderList(tWorkOrder);
return getDataTable(list);
}
/**
* 导出燃气任务列表
*/
@PreAuthorize("@ss.hasPermi('system:order:export')")
@Log(title = "燃气任务", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public AjaxResult export(TWorkOrder tWorkOrder)
{
List<TWorkOrder> list = tWorkOrderService.selectTWorkOrderList(tWorkOrder);
ExcelUtil<TWorkOrder> util = new ExcelUtil<TWorkOrder>(TWorkOrder.class);
return util.exportExcel(list, "燃气任务数据");
}
/**
* 获取燃气任务详细信息
*/
@PreAuthorize("@ss.hasPermi('system:order:query')")
@GetMapping(value = "/{workId}")
public AjaxResult getInfo(@PathVariable("workId") Long workId)
{
return AjaxResult.success(tWorkOrderService.selectTWorkOrderById(workId));
}
/**
* 新增燃气任务
*/
@PreAuthorize("@ss.hasPermi('system:order:add')")
@Log(title = "燃气任务", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody TWorkOrder tWorkOrder)
{
return toAjax(tWorkOrderService.insertTWorkOrder(tWorkOrder));
}
/**
* 修改燃气任务
*/
@PreAuthorize("@ss.hasPermi('system:order:edit')")
@Log(title = "燃气任务", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody TWorkOrder tWorkOrder)
{
return toAjax(tWorkOrderService.updateTWorkOrder(tWorkOrder));
}
/**
* 删除燃气任务
*/
@PreAuthorize("@ss.hasPermi('system:order:remove')")
@Log(title = "燃气任务", businessType = BusinessType.DELETE)
@DeleteMapping("/{workIds}")
public AjaxResult remove(@PathVariable Long[] workIds)
{
return toAjax(tWorkOrderService.deleteTWorkOrderByIds(workIds));
}
}
package com.zehong.web.controller.standingBook;
import java.util.List;
import com.zehong.system.domain.form.THiddenDangerStandingBookForm;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.zehong.common.annotation.Log;
import com.zehong.common.core.controller.BaseController;
import com.zehong.common.core.domain.AjaxResult;
import com.zehong.common.enums.BusinessType;
import com.zehong.system.domain.THiddenDangerStandingBook;
import com.zehong.system.service.ITHiddenDangerStandingBookService;
import com.zehong.common.utils.poi.ExcelUtil;
import com.zehong.common.core.page.TableDataInfo;
/**
* 隐患整治台账Controller
*
* @author zehong
* @date 2022-02-09
*/
@RestController
@RequestMapping("/standingBook/hidden")
public class THiddenDangerStandingBookController extends BaseController
{
@Autowired
private ITHiddenDangerStandingBookService tHiddenDangerStandingBookService;
/**
* 查询隐患整治台账列表
*/
@PreAuthorize("@ss.hasPermi('standingBook:hidden:list')")
@GetMapping("/list")
public TableDataInfo list(THiddenDangerStandingBookForm tHiddenDangerStandingBook)
{
startPage();
List<THiddenDangerStandingBook> list = tHiddenDangerStandingBookService.selectTHiddenDangerStandingBookList(tHiddenDangerStandingBook);
return getDataTable(list);
}
/**
* 导出隐患整治台账列表
*/
@PreAuthorize("@ss.hasPermi('standingBook:hidden:export')")
@Log(title = "隐患整治台账", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public AjaxResult export(THiddenDangerStandingBookForm tHiddenDangerStandingBook)
{
List<THiddenDangerStandingBook> list = tHiddenDangerStandingBookService.selectTHiddenDangerStandingBookList(tHiddenDangerStandingBook);
ExcelUtil<THiddenDangerStandingBook> util = new ExcelUtil<THiddenDangerStandingBook>(THiddenDangerStandingBook.class);
return util.exportExcel(list, "隐患整治台账数据");
}
/**
* 获取隐患整治台账详细信息
*/
@PreAuthorize("@ss.hasPermi('standingBook:hidden:query')")
@GetMapping(value = "/{hiddenId}")
public AjaxResult getInfo(@PathVariable("hiddenId") Long hiddenId)
{
return AjaxResult.success(tHiddenDangerStandingBookService.selectTHiddenDangerStandingBookById(hiddenId));
}
/**
* 新增隐患整治台账
*/
@PreAuthorize("@ss.hasPermi('standingBook:hidden:add')")
@Log(title = "隐患整治台账", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody THiddenDangerStandingBook tHiddenDangerStandingBook)
{
return toAjax(tHiddenDangerStandingBookService.insertTHiddenDangerStandingBook(tHiddenDangerStandingBook));
}
/**
* 修改隐患整治台账
*/
@PreAuthorize("@ss.hasPermi('standingBook:hidden:edit')")
@Log(title = "隐患整治台账", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody THiddenDangerStandingBook tHiddenDangerStandingBook)
{
return toAjax(tHiddenDangerStandingBookService.updateTHiddenDangerStandingBook(tHiddenDangerStandingBook));
}
/**
* 删除隐患整治台账
*/
@PreAuthorize("@ss.hasPermi('standingBook:hidden:remove')")
@Log(title = "隐患整治台账", businessType = BusinessType.DELETE)
@DeleteMapping("/{hiddenIds}")
public AjaxResult remove(@PathVariable Long[] hiddenIds)
{
return toAjax(tHiddenDangerStandingBookService.deleteTHiddenDangerStandingBookByIds(hiddenIds));
}
}
package com.zehong.web.controller.standingBook;
import java.util.List;
import com.zehong.system.domain.form.TSafeEquipmentStandingBookForm;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.zehong.common.annotation.Log;
import com.zehong.common.core.controller.BaseController;
import com.zehong.common.core.domain.AjaxResult;
import com.zehong.common.enums.BusinessType;
import com.zehong.system.domain.TSafeEquipmentStandingBook;
import com.zehong.system.service.ITSafeEquipmentStandingBookService;
import com.zehong.common.utils.poi.ExcelUtil;
import com.zehong.common.core.page.TableDataInfo;
/**
* 用户加装安全装置台账Controller
*
* @author zehong
* @date 2022-02-09
*/
@RestController
@RequestMapping("/standingBook/equipment")
public class TSafeEquipmentStandingBookController extends BaseController
{
@Autowired
private ITSafeEquipmentStandingBookService tSafeEquipmentStandingBookService;
/**
* 查询用户加装安全装置台账列表
*/
@PreAuthorize("@ss.hasPermi('standingBook:equipment:list')")
@GetMapping("/list")
public TableDataInfo list(TSafeEquipmentStandingBookForm tSafeEquipmentStandingBook)
{
startPage();
List<TSafeEquipmentStandingBook> list = tSafeEquipmentStandingBookService.selectTSafeEquipmentStandingBookList(tSafeEquipmentStandingBook);
return getDataTable(list);
}
/**
* 导出用户加装安全装置台账列表
*/
@PreAuthorize("@ss.hasPermi('standingBook:equipment:export')")
@Log(title = "用户加装安全装置台账", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public AjaxResult export(TSafeEquipmentStandingBookForm tSafeEquipmentStandingBook)
{
List<TSafeEquipmentStandingBook> list = tSafeEquipmentStandingBookService.selectTSafeEquipmentStandingBookList(tSafeEquipmentStandingBook);
ExcelUtil<TSafeEquipmentStandingBook> util = new ExcelUtil<TSafeEquipmentStandingBook>(TSafeEquipmentStandingBook.class);
return util.exportExcel(list, "用户加装安全装置台账数据");
}
/**
* 获取用户加装安全装置台账详细信息
*/
@PreAuthorize("@ss.hasPermi('standingBook:equipment:query')")
@GetMapping(value = "/{safeEquipmentId}")
public AjaxResult getInfo(@PathVariable("safeEquipmentId") Long safeEquipmentId)
{
return AjaxResult.success(tSafeEquipmentStandingBookService.selectTSafeEquipmentStandingBookById(safeEquipmentId));
}
/**
* 新增用户加装安全装置台账
*/
@PreAuthorize("@ss.hasPermi('standingBook:equipment:add')")
@Log(title = "用户加装安全装置台账", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody TSafeEquipmentStandingBook tSafeEquipmentStandingBook)
{
return toAjax(tSafeEquipmentStandingBookService.insertTSafeEquipmentStandingBook(tSafeEquipmentStandingBook));
}
/**
* 修改用户加装安全装置台账
*/
@PreAuthorize("@ss.hasPermi('standingBook:equipment:edit')")
@Log(title = "用户加装安全装置台账", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody TSafeEquipmentStandingBook tSafeEquipmentStandingBook)
{
return toAjax(tSafeEquipmentStandingBookService.updateTSafeEquipmentStandingBook(tSafeEquipmentStandingBook));
}
/**
* 删除用户加装安全装置台账
*/
@PreAuthorize("@ss.hasPermi('standingBook:equipment:remove')")
@Log(title = "用户加装安全装置台账", businessType = BusinessType.DELETE)
@DeleteMapping("/{safeEquipmentIds}")
public AjaxResult remove(@PathVariable Long[] safeEquipmentIds)
{
return toAjax(tSafeEquipmentStandingBookService.deleteTSafeEquipmentStandingBookByIds(safeEquipmentIds));
}
}
package com.zehong.web.controller.standingBook;
import java.util.List;
import com.zehong.system.domain.form.TTroubleStandingBookForm;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.zehong.common.annotation.Log;
import com.zehong.common.core.controller.BaseController;
import com.zehong.common.core.domain.AjaxResult;
import com.zehong.common.enums.BusinessType;
import com.zehong.system.domain.TTroubleStandingBook;
import com.zehong.system.service.ITTroubleStandingBookService;
import com.zehong.common.utils.poi.ExcelUtil;
import com.zehong.common.core.page.TableDataInfo;
/**
* 事故台账Controller
*
* @author zehong
* @date 2022-02-09
*/
@RestController
@RequestMapping("/standingBook/trouble")
public class TTroubleStandingBookController extends BaseController
{
@Autowired
private ITTroubleStandingBookService tTroubleStandingBookService;
/**
* 查询事故台账列表
*/
@PreAuthorize("@ss.hasPermi('standingBook:trouble:list')")
@GetMapping("/list")
public TableDataInfo list(TTroubleStandingBookForm tTroubleStandingBook)
{
startPage();
List<TTroubleStandingBook> list = tTroubleStandingBookService.selectTTroubleStandingBookList(tTroubleStandingBook);
return getDataTable(list);
}
/**
* 导出事故台账列表
*/
@PreAuthorize("@ss.hasPermi('standingBook:trouble:export')")
@Log(title = "事故台账", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public AjaxResult export(TTroubleStandingBookForm tTroubleStandingBook)
{
List<TTroubleStandingBook> list = tTroubleStandingBookService.selectTTroubleStandingBookList(tTroubleStandingBook);
ExcelUtil<TTroubleStandingBook> util = new ExcelUtil<TTroubleStandingBook>(TTroubleStandingBook.class);
return util.exportExcel(list, "事故台账数据");
}
/**
* 获取事故台账详细信息
*/
@PreAuthorize("@ss.hasPermi('standingBook:trouble:query')")
@GetMapping(value = "/{troubleId}")
public AjaxResult getInfo(@PathVariable("troubleId") Long troubleId)
{
return AjaxResult.success(tTroubleStandingBookService.selectTTroubleStandingBookById(troubleId));
}
/**
* 新增事故台账
*/
@PreAuthorize("@ss.hasPermi('standingBook:trouble:add')")
@Log(title = "事故台账", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody TTroubleStandingBook tTroubleStandingBook)
{
return toAjax(tTroubleStandingBookService.insertTTroubleStandingBook(tTroubleStandingBook));
}
/**
* 修改事故台账
*/
@PreAuthorize("@ss.hasPermi('standingBook:trouble:edit')")
@Log(title = "事故台账", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody TTroubleStandingBook tTroubleStandingBook)
{
return toAjax(tTroubleStandingBookService.updateTTroubleStandingBook(tTroubleStandingBook));
}
/**
* 删除事故台账
*/
@PreAuthorize("@ss.hasPermi('standingBook:trouble:remove')")
@Log(title = "事故台账", businessType = BusinessType.DELETE)
@DeleteMapping("/{troubleIds}")
public AjaxResult remove(@PathVariable Long[] troubleIds)
{
return toAjax(tTroubleStandingBookService.deleteTTroubleStandingBookByIds(troubleIds));
}
}
...@@ -97,7 +97,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter ...@@ -97,7 +97,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
// 过滤请求 // 过滤请求
.authorizeRequests() .authorizeRequests()
// 对于登录login 验证码captchaImage 允许匿名访问 // 对于登录login 验证码captchaImage 允许匿名访问
.antMatchers("/login", "/captchaImage").anonymous() .antMatchers("/login", "/captchaImage","/common/upload").anonymous()
.antMatchers( .antMatchers(
HttpMethod.GET, HttpMethod.GET,
"/*.html", "/*.html",
......
...@@ -22,6 +22,10 @@ ...@@ -22,6 +22,10 @@
<groupId>com.zehong</groupId> <groupId>com.zehong</groupId>
<artifactId>gassafetyprogress-common</artifactId> <artifactId>gassafetyprogress-common</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
</dependencies> </dependencies>
......
package com.zehong.system.controller;
import java.util.List;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.zehong.common.annotation.Log;
import com.zehong.common.core.controller.BaseController;
import com.zehong.common.core.domain.AjaxResult;
import com.zehong.common.enums.BusinessType;
import com.zehong.system.domain.TEventInfo;
import com.zehong.system.service.ITEventInfoService;
import com.zehong.common.utils.poi.ExcelUtil;
import com.zehong.common.core.page.TableDataInfo;
/**
* 事件处置Controller
*
* @author zehong
* @date 2022-02-11
*/
@RestController
@RequestMapping("/system/eventInfo")
public class TEventInfoController extends BaseController
{
@Autowired
private ITEventInfoService tEventInfoService;
/**
* 查询事件处置列表
*/
@PreAuthorize("@ss.hasPermi('system:eventInfo:list')")
@GetMapping("/list")
public TableDataInfo list(TEventInfo tEventInfo)
{
startPage();
List<TEventInfo> list = tEventInfoService.selectTEventInfoList(tEventInfo);
return getDataTable(list);
}
/**
* 导出事件处置列表
*/
@PreAuthorize("@ss.hasPermi('system:eventInfo:export')")
@Log(title = "事件处置", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public AjaxResult export(TEventInfo tEventInfo)
{
List<TEventInfo> list = tEventInfoService.selectTEventInfoList(tEventInfo);
ExcelUtil<TEventInfo> util = new ExcelUtil<TEventInfo>(TEventInfo.class);
return util.exportExcel(list, "事件处置数据");
}
/**
* 获取事件处置详细信息
*/
@PreAuthorize("@ss.hasPermi('system:eventInfo:query')")
@GetMapping(value = "/{eventId}")
public AjaxResult getInfo(@PathVariable("eventId") Long eventId)
{
return AjaxResult.success(tEventInfoService.selectTEventInfoById(eventId));
}
/**
* 新增事件处置
*/
@PreAuthorize("@ss.hasPermi('system:eventInfo:add')")
@Log(title = "事件处置", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody TEventInfo tEventInfo)
{
return toAjax(tEventInfoService.insertTEventInfo(tEventInfo));
}
/**
* 修改事件处置
*/
@PreAuthorize("@ss.hasPermi('system:eventInfo:edit')")
@Log(title = "事件处置", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody TEventInfo tEventInfo)
{
return toAjax(tEventInfoService.updateTEventInfo(tEventInfo));
}
/**
* 删除事件处置
*/
@PreAuthorize("@ss.hasPermi('system:eventInfo:remove')")
@Log(title = "事件处置", businessType = BusinessType.DELETE)
@DeleteMapping("/{eventIds}")
public AjaxResult remove(@PathVariable Long[] eventIds)
{
return toAjax(tEventInfoService.deleteTEventInfoByIds(eventIds));
}
}
package com.zehong.system.controller;
import java.util.List;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.zehong.common.annotation.Log;
import com.zehong.common.core.controller.BaseController;
import com.zehong.common.core.domain.AjaxResult;
import com.zehong.common.enums.BusinessType;
import com.zehong.system.domain.TPlanInfo;
import com.zehong.system.service.ITPlanInfoService;
import com.zehong.common.utils.poi.ExcelUtil;
import com.zehong.common.core.page.TableDataInfo;
/**
* 应急预案Controller
*
* @author zehong
* @date 2022-02-11
*/
@RestController
@RequestMapping("/system/planInfo")
public class TPlanInfoController extends BaseController
{
@Autowired
private ITPlanInfoService tPlanInfoService;
/**
* 查询应急预案列表
*/
@PreAuthorize("@ss.hasPermi('system:planInfo:list')")
@GetMapping("/list")
public TableDataInfo list(TPlanInfo tPlanInfo)
{
startPage();
List<TPlanInfo> list = tPlanInfoService.selectTPlanInfoList(tPlanInfo);
return getDataTable(list);
}
/**
* 导出应急预案列表
*/
@PreAuthorize("@ss.hasPermi('system:planInfo:export')")
@Log(title = "应急预案", businessType = BusinessType.EXPORT)
@GetMapping("/export")
public AjaxResult export(TPlanInfo tPlanInfo)
{
List<TPlanInfo> list = tPlanInfoService.selectTPlanInfoList(tPlanInfo);
ExcelUtil<TPlanInfo> util = new ExcelUtil<TPlanInfo>(TPlanInfo.class);
return util.exportExcel(list, "应急预案数据");
}
/**
* 获取应急预案详细信息
*/
@PreAuthorize("@ss.hasPermi('system:planInfo:query')")
@GetMapping(value = "/{planId}")
public AjaxResult getInfo(@PathVariable("planId") Long planId)
{
return AjaxResult.success(tPlanInfoService.selectTPlanInfoById(planId));
}
/**
* 新增应急预案
*/
@PreAuthorize("@ss.hasPermi('system:planInfo:add')")
@Log(title = "应急预案", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody TPlanInfo tPlanInfo)
{
return toAjax(tPlanInfoService.insertTPlanInfo(tPlanInfo));
}
/**
* 修改应急预案
*/
@PreAuthorize("@ss.hasPermi('system:planInfo:edit')")
@Log(title = "应急预案", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody TPlanInfo tPlanInfo)
{
return toAjax(tPlanInfoService.updateTPlanInfo(tPlanInfo));
}
/**
* 删除应急预案
*/
@PreAuthorize("@ss.hasPermi('system:planInfo:remove')")
@Log(title = "应急预案", businessType = BusinessType.DELETE)
@DeleteMapping("/{planIds}")
public AjaxResult remove(@PathVariable Long[] planIds)
{
return toAjax(tPlanInfoService.deleteTPlanInfoByIds(planIds));
}
@GetMapping("/getEnterpris")
public AjaxResult getEnterpris()
{
return AjaxResult.success(tPlanInfoService.selectEnterprise());
}
}
package com.zehong.system.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zehong.common.annotation.Excel;
import com.zehong.common.core.domain.BaseEntity;
/**
* 事件处置对象 t_event_info
*
* @author zehong
* @date 2022-02-11
*/
public class TEventInfo extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 事件id */
private Long eventId;
/** 事件名称 */
@Excel(name = "事件名称")
private String eventTitle;
/** 事件类型:1.泄漏 2.火灾 3.爆炸 */
@Excel(name = "事件类型:1.泄漏 2.火灾 3.爆炸")
private String eventType;
/** 事件等级 */
@Excel(name = "事件等级")
private String eventLevel;
/** 事件地点 */
@Excel(name = "事件地点")
private String eventLocation;
/** 报案时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "报案时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date reportTime;
/** 报案人 */
@Excel(name = "报案人")
private String reportPerson;
/** 事件处置信息 */
@Excel(name = "事件处置信息")
private String eventDeal;
/** 事件评估信息 */
@Excel(name = "事件评估信息")
private String eventAssessment;
/** 所属企业 */
@Excel(name = "所属企业")
private String beyondEnterpriseId;
/** 所属企业名称 */
private String beyondEnterpriseName;
/** 图片路径 */
@Excel(name = "图片路径")
private String iconUrl;
/** 是否删除(0正常,1删除) */
private String isDel;
/** 备注 */
@Excel(name = "备注")
private String remarks;
public void setEventId(Long eventId)
{
this.eventId = eventId;
}
public Long getEventId()
{
return eventId;
}
public void setEventTitle(String eventTitle)
{
this.eventTitle = eventTitle;
}
public String getEventTitle()
{
return eventTitle;
}
public void setEventType(String eventType)
{
this.eventType = eventType;
}
public String getEventType()
{
return eventType;
}
public void setEventLevel(String eventLevel)
{
this.eventLevel = eventLevel;
}
public String getEventLevel()
{
return eventLevel;
}
public void setEventLocation(String eventLocation)
{
this.eventLocation = eventLocation;
}
public String getEventLocation()
{
return eventLocation;
}
public void setReportTime(Date reportTime)
{
this.reportTime = reportTime;
}
public Date getReportTime()
{
return reportTime;
}
public void setReportPerson(String reportPerson)
{
this.reportPerson = reportPerson;
}
public String getReportPerson()
{
return reportPerson;
}
public void setEventDeal(String eventDeal)
{
this.eventDeal = eventDeal;
}
public String getEventDeal()
{
return eventDeal;
}
public void setEventAssessment(String eventAssessment)
{
this.eventAssessment = eventAssessment;
}
public String getEventAssessment()
{
return eventAssessment;
}
public void setBeyondEnterpriseId(String beyondEnterpriseId)
{
this.beyondEnterpriseId = beyondEnterpriseId;
}
public String getBeyondEnterpriseId()
{
return beyondEnterpriseId;
}
public void setBeyondEnterpriseName(String beyondEnterpriseName)
{
this.beyondEnterpriseName = beyondEnterpriseName;
}
public String getBeyondEnterpriseName()
{
return beyondEnterpriseName;
}
public void setIconUrl(String iconUrl)
{
this.iconUrl = iconUrl;
}
public String getIconUrl()
{
return iconUrl;
}
public void setIsDel(String isDel)
{
this.isDel = isDel;
}
public String getIsDel()
{
return isDel;
}
public void setRemarks(String remarks)
{
this.remarks = remarks;
}
public String getRemarks()
{
return remarks;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("eventId", getEventId())
.append("eventTitle", getEventTitle())
.append("eventType", getEventType())
.append("eventLevel", getEventLevel())
.append("eventLocation", getEventLocation())
.append("reportTime", getReportTime())
.append("reportPerson", getReportPerson())
.append("eventDeal", getEventDeal())
.append("eventAssessment", getEventAssessment())
.append("beyondEnterpriseId", getBeyondEnterpriseId())
.append("beyondEnterpriseName", getBeyondEnterpriseName())
.append("iconUrl", getIconUrl())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("isDel", getIsDel())
.append("remarks", getRemarks())
.toString();
}
}
package com.zehong.system.domain;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zehong.common.annotation.Excel;
import com.zehong.common.core.domain.BaseEntity;
/**
* 隐患整治台账对象 t_hidden_danger_standing_book
*
* @author zehong
* @date 2022-02-09
*/
public class THiddenDangerStandingBook extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 隐患id */
private Long hiddenId;
/** 隐患名称 */
@Excel(name = "隐患名称")
private String hiddenTitle;
/** 隐患内容 */
@Excel(name = "隐患内容")
private String hiddenContent;
/** 隐患位置 */
@Excel(name = "隐患位置")
private String hiddenLocation;
/** 经度 */
private BigDecimal longitude;
/** 纬度 */
private BigDecimal latitude;
/** 隐患类型 */
@Excel(name = "隐患类型")
private String hiddenType;
/** 隐患发现人员 */
@Excel(name = "隐患发现人员")
private String hiddenFindPeople;
/** 发现时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "发现时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date hiddenFindDate;
/** 处理方案 */
@Excel(name = "处理方案")
private String dealPlan;
/** 方案路径 */
private String dealPlanUrl;
/** 整治情况 */
@Excel(name = "整治情况")
private String remediation;
/** 是否删除(0正常,1删除) */
@Excel(name = "是否删除(0正常,1删除)")
private String isDel;
/** 备注 */
@Excel(name = "备注")
private String remarks;
public void setHiddenId(Long hiddenId)
{
this.hiddenId = hiddenId;
}
public Long getHiddenId()
{
return hiddenId;
}
public void setHiddenTitle(String hiddenTitle)
{
this.hiddenTitle = hiddenTitle;
}
public String getHiddenTitle()
{
return hiddenTitle;
}
public void setHiddenContent(String hiddenContent)
{
this.hiddenContent = hiddenContent;
}
public String getHiddenContent()
{
return hiddenContent;
}
public void setHiddenLocation(String hiddenLocation)
{
this.hiddenLocation = hiddenLocation;
}
public String getHiddenLocation()
{
return hiddenLocation;
}
public BigDecimal getLongitude() {
return longitude;
}
public void setLongitude(BigDecimal longitude) {
this.longitude = longitude;
}
public BigDecimal getLatitude() {
return latitude;
}
public void setLatitude(BigDecimal latitude) {
this.latitude = latitude;
}
public void setHiddenType(String hiddenType)
{
this.hiddenType = hiddenType;
}
public String getHiddenType()
{
return hiddenType;
}
public void setHiddenFindPeople(String hiddenFindPeople)
{
this.hiddenFindPeople = hiddenFindPeople;
}
public String getHiddenFindPeople()
{
return hiddenFindPeople;
}
public void setHiddenFindDate(Date hiddenFindDate)
{
this.hiddenFindDate = hiddenFindDate;
}
public Date getHiddenFindDate()
{
return hiddenFindDate;
}
public void setDealPlan(String dealPlan)
{
this.dealPlan = dealPlan;
}
public String getDealPlan()
{
return dealPlan;
}
public String getDealPlanUrl() {
return dealPlanUrl;
}
public void setDealPlanUrl(String dealPlanUrl) {
this.dealPlanUrl = dealPlanUrl;
}
public void setRemediation(String remediation)
{
this.remediation = remediation;
}
public String getRemediation()
{
return remediation;
}
public void setIsDel(String isDel)
{
this.isDel = isDel;
}
public String getIsDel()
{
return isDel;
}
public void setRemarks(String remarks)
{
this.remarks = remarks;
}
public String getRemarks()
{
return remarks;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("hiddenId", getHiddenId())
.append("hiddenTitle", getHiddenTitle())
.append("hiddenContent", getHiddenContent())
.append("hiddenLocation", getHiddenLocation())
.append("hiddenType", getHiddenType())
.append("hiddenFindPeople", getHiddenFindPeople())
.append("hiddenFindDate", getHiddenFindDate())
.append("dealPlan", getDealPlan())
.append("remediation", getRemediation())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("isDel", getIsDel())
.append("remarks", getRemarks())
.toString();
}
}
package com.zehong.system.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zehong.common.annotation.Excel;
import com.zehong.common.core.domain.BaseEntity;
/**
* 应急预案对象 t_plan_info
*
* @author zehong
* @date 2022-02-11
*/
public class TPlanInfo extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 预案id */
private Long planId;
/** 预案标题 */
@Excel(name = "预案标题")
private String planTitle;
/** 预案类型 */
@Excel(name = "预案类型")
private String planType;
/** 预案等级 */
@Excel(name = "预案等级")
private String planLevel;
/** 所属企业 */
private String beyondEnterpriseId;
/** 所属企业名称 */
@Excel(name = "所属企业名称")
private String beyondEnterpriseName;
/** 应急方案 */
@Excel(name = "应急方案")
private String planContents;
/** 应急设备及车辆 */
@Excel(name = "应急设备及车辆")
private String planEquipment;
/** 图片路径 */
private String iconUrl;
/** 是否删除(0正常,1删除) */
private String isDel;
/** 备注 */
@Excel(name = "备注")
private String remarks;
public void setPlanId(Long planId)
{
this.planId = planId;
}
public Long getPlanId()
{
return planId;
}
public void setPlanTitle(String planTitle)
{
this.planTitle = planTitle;
}
public String getPlanTitle()
{
return planTitle;
}
public void setPlanType(String planType)
{
this.planType = planType;
}
public String getPlanType()
{
return planType;
}
public void setPlanLevel(String planLevel)
{
this.planLevel = planLevel;
}
public String getPlanLevel()
{
return planLevel;
}
public void setBeyondEnterpriseId(String beyondEnterpriseId)
{
this.beyondEnterpriseId = beyondEnterpriseId;
}
public String getBeyondEnterpriseId()
{
return beyondEnterpriseId;
}
public void setBeyondEnterpriseName(String beyondEnterpriseName)
{
this.beyondEnterpriseName = beyondEnterpriseName;
}
public String getBeyondEnterpriseName()
{
return beyondEnterpriseName;
}
public void setPlanContents(String planContents)
{
this.planContents = planContents;
}
public String getPlanContents()
{
return planContents;
}
public void setPlanEquipment(String planEquipment)
{
this.planEquipment = planEquipment;
}
public String getPlanEquipment()
{
return planEquipment;
}
public void setIconUrl(String iconUrl)
{
this.iconUrl = iconUrl;
}
public String getIconUrl()
{
return iconUrl;
}
public void setIsDel(String isDel)
{
this.isDel = isDel;
}
public String getIsDel()
{
return isDel;
}
public void setRemarks(String remarks)
{
this.remarks = remarks;
}
public String getRemarks()
{
return remarks;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("planId", getPlanId())
.append("planTitle", getPlanTitle())
.append("planType", getPlanType())
.append("planLevel", getPlanLevel())
.append("beyondEnterpriseId", getBeyondEnterpriseId())
.append("beyondEnterpriseName", getBeyondEnterpriseName())
.append("planContents", getPlanContents())
.append("planEquipment", getPlanEquipment())
.append("iconUrl", getIconUrl())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("isDel", getIsDel())
.append("remarks", getRemarks())
.toString();
}
}
package com.zehong.system.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zehong.common.annotation.Excel;
import com.zehong.common.core.domain.BaseEntity;
/**
* 用户加装安全装置台账对象 t_safe_equipment_standing_book
*
* @author zehong
* @date 2022-02-09
*/
public class TSafeEquipmentStandingBook extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 安全装置台账id */
private Long safeEquipmentId;
/** 用户名称 */
@Excel(name = "用户名称")
private String userName;
/** 用户编号 */
@Excel(name = "用户编号")
private String userNo;
/** 用户详细地址 */
@Excel(name = "用户详细地址")
private String userAddress;
/** 身份证号 */
@Excel(name = "身份证号")
private String idCard;
/** 联系电话 */
@Excel(name = "联系电话")
private String linkMobile;
/** 安装时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "安装时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date installTime;
/** 品牌名称 */
@Excel(name = "品牌名称")
private String brandName;
/** 是否删除(0正常,1删除) */
@Excel(name = "是否删除(0正常,1删除)")
private String isDel;
/** 备注 */
@Excel(name = "备注")
private String remarks;
public void setSafeEquipmentId(Long safeEquipmentId)
{
this.safeEquipmentId = safeEquipmentId;
}
public Long getSafeEquipmentId()
{
return safeEquipmentId;
}
public void setUserName(String userName)
{
this.userName = userName;
}
public String getUserName()
{
return userName;
}
public void setUserNo(String userNo)
{
this.userNo = userNo;
}
public String getUserNo()
{
return userNo;
}
public void setUserAddress(String userAddress)
{
this.userAddress = userAddress;
}
public String getUserAddress()
{
return userAddress;
}
public void setIdCard(String idCard)
{
this.idCard = idCard;
}
public String getIdCard()
{
return idCard;
}
public void setLinkMobile(String linkMobile)
{
this.linkMobile = linkMobile;
}
public String getLinkMobile()
{
return linkMobile;
}
public void setInstallTime(Date installTime)
{
this.installTime = installTime;
}
public Date getInstallTime()
{
return installTime;
}
public void setBrandName(String brandName)
{
this.brandName = brandName;
}
public String getBrandName()
{
return brandName;
}
public void setIsDel(String isDel)
{
this.isDel = isDel;
}
public String getIsDel()
{
return isDel;
}
public void setRemarks(String remarks)
{
this.remarks = remarks;
}
public String getRemarks()
{
return remarks;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("safeEquipmentId", getSafeEquipmentId())
.append("userName", getUserName())
.append("userNo", getUserNo())
.append("userAddress", getUserAddress())
.append("idCard", getIdCard())
.append("linkMobile", getLinkMobile())
.append("installTime", getInstallTime())
.append("brandName", getBrandName())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("isDel", getIsDel())
.append("remarks", getRemarks())
.toString();
}
}
package com.zehong.system.domain;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zehong.common.annotation.Excel;
import com.zehong.common.core.domain.BaseEntity;
/**
* 事故台账对象 t_trouble_standing_book
*
* @author zehong
* @date 2022-02-09
*/
public class TTroubleStandingBook extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 事故id */
private Long troubleId;
/** 事故名称 */
@Excel(name = "事故名称")
private String troubleName;
/** 事故地点 */
@Excel(name = "事故地点")
private String troubleLocation;
/** 经度 */
private BigDecimal longitude;
/** 纬度 */
private BigDecimal latitude;
/** 事故类型:1.生产安全事故 2.非生产安全事故 */
@Excel(name = "事故类型:1.生产安全事故 2.非生产安全事故")
private String troubleType;
/** 简要经过 */
@Excel(name = "简要经过")
private String briefProcess;
/** 事故原因 */
@Excel(name = "事故原因")
private String troubleReason;
/** 责任单位 */
@Excel(name = "责任单位")
private String responsibleUnit;
/** 责任人员 */
@Excel(name = "责任人员")
private String responsiblePeople;
/** 是否处理:1.已处理 2.未处理 */
@Excel(name = "是否处理:1.已处理 2.未处理")
private String isDeal;
/** 处理完成时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "处理完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date dealDate;
/** 是否删除(0正常,1删除) */
@Excel(name = "是否删除(0正常,1删除)")
private String isDel;
/** 备注 */
@Excel(name = "备注")
private String remarks;
public void setTroubleId(Long troubleId)
{
this.troubleId = troubleId;
}
public Long getTroubleId()
{
return troubleId;
}
public void setTroubleName(String troubleName)
{
this.troubleName = troubleName;
}
public String getTroubleName()
{
return troubleName;
}
public void setTroubleLocation(String troubleLocation)
{
this.troubleLocation = troubleLocation;
}
public String getTroubleLocation()
{
return troubleLocation;
}
public BigDecimal getLongitude() {
return longitude;
}
public void setLongitude(BigDecimal longitude) {
this.longitude = longitude;
}
public BigDecimal getLatitude() {
return latitude;
}
public void setLatitude(BigDecimal latitude) {
this.latitude = latitude;
}
public void setTroubleType(String troubleType)
{
this.troubleType = troubleType;
}
public String getTroubleType()
{
return troubleType;
}
public void setBriefProcess(String briefProcess)
{
this.briefProcess = briefProcess;
}
public String getBriefProcess()
{
return briefProcess;
}
public void setTroubleReason(String troubleReason)
{
this.troubleReason = troubleReason;
}
public String getTroubleReason()
{
return troubleReason;
}
public void setResponsibleUnit(String responsibleUnit)
{
this.responsibleUnit = responsibleUnit;
}
public String getResponsibleUnit()
{
return responsibleUnit;
}
public void setResponsiblePeople(String responsiblePeople)
{
this.responsiblePeople = responsiblePeople;
}
public String getResponsiblePeople()
{
return responsiblePeople;
}
public void setIsDeal(String isDeal)
{
this.isDeal = isDeal;
}
public String getIsDeal()
{
return isDeal;
}
public void setDealDate(Date dealDate)
{
this.dealDate = dealDate;
}
public Date getDealDate()
{
return dealDate;
}
public void setIsDel(String isDel)
{
this.isDel = isDel;
}
public String getIsDel()
{
return isDel;
}
public void setRemarks(String remarks)
{
this.remarks = remarks;
}
public String getRemarks()
{
return remarks;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("troubleId", getTroubleId())
.append("troubleName", getTroubleName())
.append("troubleLocation", getTroubleLocation())
.append("troubleType", getTroubleType())
.append("briefProcess", getBriefProcess())
.append("troubleReason", getTroubleReason())
.append("responsibleUnit", getResponsibleUnit())
.append("responsiblePeople", getResponsiblePeople())
.append("isDeal", getIsDeal())
.append("dealDate", getDealDate())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("isDel", getIsDel())
.append("remarks", getRemarks())
.toString();
}
}
package com.zehong.system.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zehong.common.annotation.Excel;
import com.zehong.common.core.domain.BaseEntity;
/**
* 燃气任务对象 t_work_order
*
* @author zehong
* @date 2022-02-10
*/
public class TWorkOrder extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 任务id */
private Long workId;
/** 任务标题 */
@Excel(name = "任务标题")
private String workTitle;
/** 任务类型:1.入户安检 2.巡检 3.报警巡查 4.其他 */
@Excel(name = "任务类型:1.入户安检 2.巡检 3.报警巡查 4.其他")
private String workType;
/** 任务内容 */
@Excel(name = "任务内容")
private String workContent;
/** 创建单位名称 */
@Excel(name = "创建单位名称")
private String workCreateEnterpriseName;
/** 创建单位id */
@Excel(name = "创建单位id")
private String workCreateEnterpriseId;
/** 指派单位名称 */
@Excel(name = "指派单位名称")
private String workAssignEnterproseName;
/** 指派单位id */
@Excel(name = "指派单位id")
private Long workAssignEnterproseId;
/** 指派人 */
@Excel(name = "指派人")
private Long workAssignManId;
/** 指派人id */
@Excel(name = "指派人id")
private String workAssignMan;
/** 任务状态:1.派发中 2.反馈 3.归档 */
@Excel(name = "任务状态:1.派发中 2.反馈 3.归档")
private String workStatus;
/** 巡检时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "巡检时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date inspectionDate;
/** 巡检路线 */
@Excel(name = "巡检路线")
private String inspectionRoute;
/** 问题描述 */
@Excel(name = "问题描述")
private String problemDescription;
/** 图片路径 */
@Excel(name = "图片路径")
private String iconUrl;
/** 整改方案 */
@Excel(name = "整改方案")
private String rectificationPlan;
/** 整改结果 */
@Excel(name = "整改结果")
private String rectificationResult;
/** 责任单位 */
@Excel(name = "责任单位")
private String responsibleUnit;
/** 责任人员 */
@Excel(name = "责任人员")
private String responsiblePerson;
/** 截止日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "截止日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date expiryDate;
/** 是否删除(0正常,1删除) */
@Excel(name = "是否删除(0正常,1删除)")
private String isDel;
/** 备注 */
@Excel(name = "备注")
private String remarks;
public void setWorkId(Long workId)
{
this.workId = workId;
}
public Long getWorkId()
{
return workId;
}
public void setWorkTitle(String workTitle)
{
this.workTitle = workTitle;
}
public String getWorkTitle()
{
return workTitle;
}
public void setWorkType(String workType)
{
this.workType = workType;
}
public String getWorkType()
{
return workType;
}
public void setWorkContent(String workContent)
{
this.workContent = workContent;
}
public String getWorkContent()
{
return workContent;
}
public void setWorkCreateEnterpriseName(String workCreateEnterpriseName)
{
this.workCreateEnterpriseName = workCreateEnterpriseName;
}
public String getWorkCreateEnterpriseName()
{
return workCreateEnterpriseName;
}
public void setWorkCreateEnterpriseId(String workCreateEnterpriseId)
{
this.workCreateEnterpriseId = workCreateEnterpriseId;
}
public String getWorkCreateEnterpriseId()
{
return workCreateEnterpriseId;
}
public void setWorkAssignEnterproseName(String workAssignEnterproseName)
{
this.workAssignEnterproseName = workAssignEnterproseName;
}
public String getWorkAssignEnterproseName()
{
return workAssignEnterproseName;
}
public void setWorkAssignEnterproseId(Long workAssignEnterproseId)
{
this.workAssignEnterproseId = workAssignEnterproseId;
}
public Long getWorkAssignEnterproseId()
{
return workAssignEnterproseId;
}
public void setWorkAssignManId(Long workAssignManId)
{
this.workAssignManId = workAssignManId;
}
public Long getWorkAssignManId()
{
return workAssignManId;
}
public void setWorkAssignMan(String workAssignMan)
{
this.workAssignMan = workAssignMan;
}
public String getWorkAssignMan()
{
return workAssignMan;
}
public void setWorkStatus(String workStatus)
{
this.workStatus = workStatus;
}
public String getWorkStatus()
{
return workStatus;
}
public void setInspectionDate(Date inspectionDate)
{
this.inspectionDate = inspectionDate;
}
public Date getInspectionDate()
{
return inspectionDate;
}
public void setInspectionRoute(String inspectionRoute)
{
this.inspectionRoute = inspectionRoute;
}
public String getInspectionRoute()
{
return inspectionRoute;
}
public void setProblemDescription(String problemDescription)
{
this.problemDescription = problemDescription;
}
public String getProblemDescription()
{
return problemDescription;
}
public void setIconUrl(String iconUrl)
{
this.iconUrl = iconUrl;
}
public String getIconUrl()
{
return iconUrl;
}
public void setRectificationPlan(String rectificationPlan)
{
this.rectificationPlan = rectificationPlan;
}
public String getRectificationPlan()
{
return rectificationPlan;
}
public void setRectificationResult(String rectificationResult)
{
this.rectificationResult = rectificationResult;
}
public String getRectificationResult()
{
return rectificationResult;
}
public void setResponsibleUnit(String responsibleUnit)
{
this.responsibleUnit = responsibleUnit;
}
public String getResponsibleUnit()
{
return responsibleUnit;
}
public void setResponsiblePerson(String responsiblePerson)
{
this.responsiblePerson = responsiblePerson;
}
public String getResponsiblePerson()
{
return responsiblePerson;
}
public void setExpiryDate(Date expiryDate)
{
this.expiryDate = expiryDate;
}
public Date getExpiryDate()
{
return expiryDate;
}
public void setIsDel(String isDel)
{
this.isDel = isDel;
}
public String getIsDel()
{
return isDel;
}
public void setRemarks(String remarks)
{
this.remarks = remarks;
}
public String getRemarks()
{
return remarks;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("workId", getWorkId())
.append("workTitle", getWorkTitle())
.append("workType", getWorkType())
.append("workContent", getWorkContent())
.append("workCreateEnterpriseName", getWorkCreateEnterpriseName())
.append("workCreateEnterpriseId", getWorkCreateEnterpriseId())
.append("workAssignEnterproseName", getWorkAssignEnterproseName())
.append("workAssignEnterproseId", getWorkAssignEnterproseId())
.append("workAssignManId", getWorkAssignManId())
.append("workAssignMan", getWorkAssignMan())
.append("workStatus", getWorkStatus())
.append("inspectionDate", getInspectionDate())
.append("inspectionRoute", getInspectionRoute())
.append("problemDescription", getProblemDescription())
.append("iconUrl", getIconUrl())
.append("rectificationPlan", getRectificationPlan())
.append("rectificationResult", getRectificationResult())
.append("responsibleUnit", getResponsibleUnit())
.append("responsiblePerson", getResponsiblePerson())
.append("expiryDate", getExpiryDate())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("isDel", getIsDel())
.append("remarks", getRemarks())
.toString();
}
}
package com.zehong.system.domain.form;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;
/**
* 隐患整治台账对象 t_hidden_danger_standing_book
*
* @author zehong
* @date 2022-02-09
*/
@Data
public class THiddenDangerStandingBookForm
{
/** 隐患名称 */
private String hiddenTitle;
/** 隐患类型 */
private String hiddenType;
/** 发现起始时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date hiddenFindDateStart;
/** 发现截止时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date hiddenFindDateEnd;
}
package com.zehong.system.domain.form;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;
/**
* 用户加装安全装置台账对象 t_safe_equipment_standing_book
*
* @author zehong
* @date 2022-02-09
*/
@Data
public class TSafeEquipmentStandingBookForm
{
/** 用户名称 */
private String userName;
/** 联系电话 */
private String linkMobile;
/** 安装起始时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date installTimeStart;
/** 安装截止时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date installTimeEnd;
}
package com.zehong.system.domain.form;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zehong.common.annotation.Excel;
import com.zehong.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
/**
* 事故台账对象 t_trouble_standing_book
*
* @author zehong
* @date 2022-02-09
*/
@Data
public class TTroubleStandingBookForm
{
/** 事故名称 */
private String troubleName;
/** 事故类型:1.生产安全事故 2.非生产安全事故 */
private String troubleType;
/** 是否处理:1.已处理 2.未处理 */
private String isDeal;
/** 处理完成起始时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date dealDateStart;
/** 处理完成截止时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date dealDateEnd;
}
package com.zehong.system.mapper;
import java.util.List;
import com.zehong.system.domain.TEventInfo;
/**
* 事件处置Mapper接口
*
* @author zehong
* @date 2022-02-11
*/
public interface TEventInfoMapper
{
/**
* 查询事件处置
*
* @param eventId 事件处置ID
* @return 事件处置
*/
public TEventInfo selectTEventInfoById(Long eventId);
/**
* 查询事件处置列表
*
* @param tEventInfo 事件处置
* @return 事件处置集合
*/
public List<TEventInfo> selectTEventInfoList(TEventInfo tEventInfo);
/**
* 新增事件处置
*
* @param tEventInfo 事件处置
* @return 结果
*/
public int insertTEventInfo(TEventInfo tEventInfo);
/**
* 修改事件处置
*
* @param tEventInfo 事件处置
* @return 结果
*/
public int updateTEventInfo(TEventInfo tEventInfo);
/**
* 删除事件处置
*
* @param eventId 事件处置ID
* @return 结果
*/
public int deleteTEventInfoById(Long eventId);
/**
* 批量删除事件处置
*
* @param eventIds 需要删除的数据ID
* @return 结果
*/
public int deleteTEventInfoByIds(Long[] eventIds);
}
package com.zehong.system.mapper;
import java.util.List;
import com.zehong.system.domain.THiddenDangerStandingBook;
import com.zehong.system.domain.form.THiddenDangerStandingBookForm;
/**
* 隐患整治台账Mapper接口
*
* @author zehong
* @date 2022-02-09
*/
public interface THiddenDangerStandingBookMapper
{
/**
* 查询隐患整治台账
*
* @param hiddenId 隐患整治台账ID
* @return 隐患整治台账
*/
public THiddenDangerStandingBook selectTHiddenDangerStandingBookById(Long hiddenId);
/**
* 查询隐患整治台账列表
*
* @param tHiddenDangerStandingBook 隐患整治台账
* @return 隐患整治台账集合
*/
public List<THiddenDangerStandingBook> selectTHiddenDangerStandingBookList(THiddenDangerStandingBookForm tHiddenDangerStandingBook);
/**
* 新增隐患整治台账
*
* @param tHiddenDangerStandingBook 隐患整治台账
* @return 结果
*/
public int insertTHiddenDangerStandingBook(THiddenDangerStandingBook tHiddenDangerStandingBook);
/**
* 修改隐患整治台账
*
* @param tHiddenDangerStandingBook 隐患整治台账
* @return 结果
*/
public int updateTHiddenDangerStandingBook(THiddenDangerStandingBook tHiddenDangerStandingBook);
/**
* 删除隐患整治台账
*
* @param hiddenId 隐患整治台账ID
* @return 结果
*/
public int deleteTHiddenDangerStandingBookById(Long hiddenId);
/**
* 批量删除隐患整治台账
*
* @param hiddenIds 需要删除的数据ID
* @return 结果
*/
public int deleteTHiddenDangerStandingBookByIds(Long[] hiddenIds);
}
package com.zehong.system.mapper;
import java.util.List;
import java.util.Map;
import com.zehong.system.domain.TPlanInfo;
/**
* 应急预案Mapper接口
*
* @author zehong
* @date 2022-02-11
*/
public interface TPlanInfoMapper
{
/**
* 查询应急预案
*
* @param planId 应急预案ID
* @return 应急预案
*/
public TPlanInfo selectTPlanInfoById(Long planId);
/**
* 查询应急预案列表
*
* @param tPlanInfo 应急预案
* @return 应急预案集合
*/
public List<TPlanInfo> selectTPlanInfoList(TPlanInfo tPlanInfo);
/**
* 新增应急预案
*
* @param tPlanInfo 应急预案
* @return 结果
*/
public int insertTPlanInfo(TPlanInfo tPlanInfo);
/**
* 修改应急预案
*
* @param tPlanInfo 应急预案
* @return 结果
*/
public int updateTPlanInfo(TPlanInfo tPlanInfo);
/**
* 删除应急预案
*
* @param planId 应急预案ID
* @return 结果
*/
public int deleteTPlanInfoById(Long planId);
/**
* 批量删除应急预案
*
* @param planIds 需要删除的数据ID
* @return 结果
*/
public int deleteTPlanInfoByIds(Long[] planIds);
/**
* 公司列表
*/
public List<Map<String,Object>> selectEnterprise();
}
package com.zehong.system.mapper;
import java.util.List;
import com.zehong.system.domain.TSafeEquipmentStandingBook;
import com.zehong.system.domain.form.TSafeEquipmentStandingBookForm;
/**
* 用户加装安全装置台账Mapper接口
*
* @author zehong
* @date 2022-02-09
*/
public interface TSafeEquipmentStandingBookMapper
{
/**
* 查询用户加装安全装置台账
*
* @param safeEquipmentId 用户加装安全装置台账ID
* @return 用户加装安全装置台账
*/
public TSafeEquipmentStandingBook selectTSafeEquipmentStandingBookById(Long safeEquipmentId);
/**
* 查询用户加装安全装置台账列表
*
* @param tSafeEquipmentStandingBook 用户加装安全装置台账
* @return 用户加装安全装置台账集合
*/
public List<TSafeEquipmentStandingBook> selectTSafeEquipmentStandingBookList(TSafeEquipmentStandingBookForm tSafeEquipmentStandingBook);
/**
* 新增用户加装安全装置台账
*
* @param tSafeEquipmentStandingBook 用户加装安全装置台账
* @return 结果
*/
public int insertTSafeEquipmentStandingBook(TSafeEquipmentStandingBook tSafeEquipmentStandingBook);
/**
* 修改用户加装安全装置台账
*
* @param tSafeEquipmentStandingBook 用户加装安全装置台账
* @return 结果
*/
public int updateTSafeEquipmentStandingBook(TSafeEquipmentStandingBook tSafeEquipmentStandingBook);
/**
* 删除用户加装安全装置台账
*
* @param safeEquipmentId 用户加装安全装置台账ID
* @return 结果
*/
public int deleteTSafeEquipmentStandingBookById(Long safeEquipmentId);
/**
* 批量删除用户加装安全装置台账
*
* @param safeEquipmentIds 需要删除的数据ID
* @return 结果
*/
public int deleteTSafeEquipmentStandingBookByIds(Long[] safeEquipmentIds);
}
package com.zehong.system.mapper;
import java.util.List;
import com.zehong.system.domain.TTroubleStandingBook;
import com.zehong.system.domain.form.TTroubleStandingBookForm;
/**
* 事故台账Mapper接口
*
* @author zehong
* @date 2022-02-09
*/
public interface TTroubleStandingBookMapper
{
/**
* 查询事故台账
*
* @param troubleId 事故台账ID
* @return 事故台账
*/
public TTroubleStandingBook selectTTroubleStandingBookById(Long troubleId);
/**
* 查询事故台账列表
*
* @param tTroubleStandingBook 事故台账
* @return 事故台账集合
*/
public List<TTroubleStandingBook> selectTTroubleStandingBookList(TTroubleStandingBookForm tTroubleStandingBook);
/**
* 新增事故台账
*
* @param tTroubleStandingBook 事故台账
* @return 结果
*/
public int insertTTroubleStandingBook(TTroubleStandingBook tTroubleStandingBook);
/**
* 修改事故台账
*
* @param tTroubleStandingBook 事故台账
* @return 结果
*/
public int updateTTroubleStandingBook(TTroubleStandingBook tTroubleStandingBook);
/**
* 删除事故台账
*
* @param troubleId 事故台账ID
* @return 结果
*/
public int deleteTTroubleStandingBookById(Long troubleId);
/**
* 批量删除事故台账
*
* @param troubleIds 需要删除的数据ID
* @return 结果
*/
public int deleteTTroubleStandingBookByIds(Long[] troubleIds);
}
package com.zehong.system.mapper;
import java.util.List;
import com.zehong.system.domain.TWorkOrder;
/**
* 燃气任务Mapper接口
*
* @author zehong
* @date 2022-02-10
*/
public interface TWorkOrderMapper
{
/**
* 查询燃气任务
*
* @param workId 燃气任务ID
* @return 燃气任务
*/
public TWorkOrder selectTWorkOrderById(Long workId);
/**
* 查询燃气任务列表
*
* @param tWorkOrder 燃气任务
* @return 燃气任务集合
*/
public List<TWorkOrder> selectTWorkOrderList(TWorkOrder tWorkOrder);
/**
* 新增燃气任务
*
* @param tWorkOrder 燃气任务
* @return 结果
*/
public int insertTWorkOrder(TWorkOrder tWorkOrder);
/**
* 修改燃气任务
*
* @param tWorkOrder 燃气任务
* @return 结果
*/
public int updateTWorkOrder(TWorkOrder tWorkOrder);
/**
* 删除燃气任务
*
* @param workId 燃气任务ID
* @return 结果
*/
public int deleteTWorkOrderById(Long workId);
/**
* 批量删除燃气任务
*
* @param workIds 需要删除的数据ID
* @return 结果
*/
public int deleteTWorkOrderByIds(Long[] workIds);
}
package com.zehong.system.service;
import java.util.List;
import com.zehong.system.domain.TEventInfo;
/**
* 事件处置Service接口
*
* @author zehong
* @date 2022-02-11
*/
public interface ITEventInfoService
{
/**
* 查询事件处置
*
* @param eventId 事件处置ID
* @return 事件处置
*/
public TEventInfo selectTEventInfoById(Long eventId);
/**
* 查询事件处置列表
*
* @param tEventInfo 事件处置
* @return 事件处置集合
*/
public List<TEventInfo> selectTEventInfoList(TEventInfo tEventInfo);
/**
* 新增事件处置
*
* @param tEventInfo 事件处置
* @return 结果
*/
public int insertTEventInfo(TEventInfo tEventInfo);
/**
* 修改事件处置
*
* @param tEventInfo 事件处置
* @return 结果
*/
public int updateTEventInfo(TEventInfo tEventInfo);
/**
* 批量删除事件处置
*
* @param eventIds 需要删除的事件处置ID
* @return 结果
*/
public int deleteTEventInfoByIds(Long[] eventIds);
/**
* 删除事件处置信息
*
* @param eventId 事件处置ID
* @return 结果
*/
public int deleteTEventInfoById(Long eventId);
}
package com.zehong.system.service;
import java.util.List;
import com.zehong.system.domain.THiddenDangerStandingBook;
import com.zehong.system.domain.form.THiddenDangerStandingBookForm;
/**
* 隐患整治台账Service接口
*
* @author zehong
* @date 2022-02-09
*/
public interface ITHiddenDangerStandingBookService
{
/**
* 查询隐患整治台账
*
* @param hiddenId 隐患整治台账ID
* @return 隐患整治台账
*/
public THiddenDangerStandingBook selectTHiddenDangerStandingBookById(Long hiddenId);
/**
* 查询隐患整治台账列表
*
* @param tHiddenDangerStandingBook 隐患整治台账
* @return 隐患整治台账集合
*/
public List<THiddenDangerStandingBook> selectTHiddenDangerStandingBookList(THiddenDangerStandingBookForm tHiddenDangerStandingBook);
/**
* 新增隐患整治台账
*
* @param tHiddenDangerStandingBook 隐患整治台账
* @return 结果
*/
public int insertTHiddenDangerStandingBook(THiddenDangerStandingBook tHiddenDangerStandingBook);
/**
* 修改隐患整治台账
*
* @param tHiddenDangerStandingBook 隐患整治台账
* @return 结果
*/
public int updateTHiddenDangerStandingBook(THiddenDangerStandingBook tHiddenDangerStandingBook);
/**
* 批量删除隐患整治台账
*
* @param hiddenIds 需要删除的隐患整治台账ID
* @return 结果
*/
public int deleteTHiddenDangerStandingBookByIds(Long[] hiddenIds);
/**
* 删除隐患整治台账信息
*
* @param hiddenId 隐患整治台账ID
* @return 结果
*/
public int deleteTHiddenDangerStandingBookById(Long hiddenId);
}
package com.zehong.system.service;
import java.util.List;
import java.util.Map;
import com.zehong.system.domain.TPlanInfo;
/**
* 应急预案Service接口
*
* @author zehong
* @date 2022-02-11
*/
public interface ITPlanInfoService
{
/**
* 查询应急预案
*
* @param planId 应急预案ID
* @return 应急预案
*/
public TPlanInfo selectTPlanInfoById(Long planId);
/**
* 查询应急预案列表
*
* @param tPlanInfo 应急预案
* @return 应急预案集合
*/
public List<TPlanInfo> selectTPlanInfoList(TPlanInfo tPlanInfo);
/**
* 新增应急预案
*
* @param tPlanInfo 应急预案
* @return 结果
*/
public int insertTPlanInfo(TPlanInfo tPlanInfo);
/**
* 修改应急预案
*
* @param tPlanInfo 应急预案
* @return 结果
*/
public int updateTPlanInfo(TPlanInfo tPlanInfo);
/**
* 批量删除应急预案
*
* @param planIds 需要删除的应急预案ID
* @return 结果
*/
public int deleteTPlanInfoByIds(Long[] planIds);
/**
* 删除应急预案信息
*
* @param planId 应急预案ID
* @return 结果
*/
public int deleteTPlanInfoById(Long planId);
public List<Map<String,Object>> selectEnterprise();
}
package com.zehong.system.service;
import java.util.List;
import com.zehong.system.domain.TSafeEquipmentStandingBook;
import com.zehong.system.domain.form.TSafeEquipmentStandingBookForm;
/**
* 用户加装安全装置台账Service接口
*
* @author zehong
* @date 2022-02-09
*/
public interface ITSafeEquipmentStandingBookService
{
/**
* 查询用户加装安全装置台账
*
* @param safeEquipmentId 用户加装安全装置台账ID
* @return 用户加装安全装置台账
*/
public TSafeEquipmentStandingBook selectTSafeEquipmentStandingBookById(Long safeEquipmentId);
/**
* 查询用户加装安全装置台账列表
*
* @param tSafeEquipmentStandingBook 用户加装安全装置台账
* @return 用户加装安全装置台账集合
*/
public List<TSafeEquipmentStandingBook> selectTSafeEquipmentStandingBookList(TSafeEquipmentStandingBookForm tSafeEquipmentStandingBook);
/**
* 新增用户加装安全装置台账
*
* @param tSafeEquipmentStandingBook 用户加装安全装置台账
* @return 结果
*/
public int insertTSafeEquipmentStandingBook(TSafeEquipmentStandingBook tSafeEquipmentStandingBook);
/**
* 修改用户加装安全装置台账
*
* @param tSafeEquipmentStandingBook 用户加装安全装置台账
* @return 结果
*/
public int updateTSafeEquipmentStandingBook(TSafeEquipmentStandingBook tSafeEquipmentStandingBook);
/**
* 批量删除用户加装安全装置台账
*
* @param safeEquipmentIds 需要删除的用户加装安全装置台账ID
* @return 结果
*/
public int deleteTSafeEquipmentStandingBookByIds(Long[] safeEquipmentIds);
/**
* 删除用户加装安全装置台账信息
*
* @param safeEquipmentId 用户加装安全装置台账ID
* @return 结果
*/
public int deleteTSafeEquipmentStandingBookById(Long safeEquipmentId);
}
package com.zehong.system.service;
import java.util.List;
import com.zehong.system.domain.TTroubleStandingBook;
import com.zehong.system.domain.form.TTroubleStandingBookForm;
/**
* 事故台账Service接口
*
* @author zehong
* @date 2022-02-09
*/
public interface ITTroubleStandingBookService
{
/**
* 查询事故台账
*
* @param troubleId 事故台账ID
* @return 事故台账
*/
public TTroubleStandingBook selectTTroubleStandingBookById(Long troubleId);
/**
* 查询事故台账列表
*
* @param tTroubleStandingBook 事故台账
* @return 事故台账集合
*/
public List<TTroubleStandingBook> selectTTroubleStandingBookList(TTroubleStandingBookForm tTroubleStandingBook);
/**
* 新增事故台账
*
* @param tTroubleStandingBook 事故台账
* @return 结果
*/
public int insertTTroubleStandingBook(TTroubleStandingBook tTroubleStandingBook);
/**
* 修改事故台账
*
* @param tTroubleStandingBook 事故台账
* @return 结果
*/
public int updateTTroubleStandingBook(TTroubleStandingBook tTroubleStandingBook);
/**
* 批量删除事故台账
*
* @param troubleIds 需要删除的事故台账ID
* @return 结果
*/
public int deleteTTroubleStandingBookByIds(Long[] troubleIds);
/**
* 删除事故台账信息
*
* @param troubleId 事故台账ID
* @return 结果
*/
public int deleteTTroubleStandingBookById(Long troubleId);
}
package com.zehong.system.service;
import java.util.List;
import com.zehong.system.domain.TWorkOrder;
/**
* 燃气任务Service接口
*
* @author zehong
* @date 2022-02-10
*/
public interface ITWorkOrderService
{
/**
* 查询燃气任务
*
* @param workId 燃气任务ID
* @return 燃气任务
*/
public TWorkOrder selectTWorkOrderById(Long workId);
/**
* 查询燃气任务列表
*
* @param tWorkOrder 燃气任务
* @return 燃气任务集合
*/
public List<TWorkOrder> selectTWorkOrderList(TWorkOrder tWorkOrder);
/**
* 新增燃气任务
*
* @param tWorkOrder 燃气任务
* @return 结果
*/
public int insertTWorkOrder(TWorkOrder tWorkOrder);
/**
* 修改燃气任务
*
* @param tWorkOrder 燃气任务
* @return 结果
*/
public int updateTWorkOrder(TWorkOrder tWorkOrder);
/**
* 批量删除燃气任务
*
* @param workIds 需要删除的燃气任务ID
* @return 结果
*/
public int deleteTWorkOrderByIds(Long[] workIds);
/**
* 删除燃气任务信息
*
* @param workId 燃气任务ID
* @return 结果
*/
public int deleteTWorkOrderById(Long workId);
}
package com.zehong.system.service.impl;
import java.util.List;
import com.zehong.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zehong.system.mapper.TEventInfoMapper;
import com.zehong.system.domain.TEventInfo;
import com.zehong.system.service.ITEventInfoService;
/**
* 事件处置Service业务层处理
*
* @author zehong
* @date 2022-02-11
*/
@Service
public class TEventInfoServiceImpl implements ITEventInfoService
{
@Autowired
private TEventInfoMapper tEventInfoMapper;
/**
* 查询事件处置
*
* @param eventId 事件处置ID
* @return 事件处置
*/
@Override
public TEventInfo selectTEventInfoById(Long eventId)
{
return tEventInfoMapper.selectTEventInfoById(eventId);
}
/**
* 查询事件处置列表
*
* @param tEventInfo 事件处置
* @return 事件处置
*/
@Override
public List<TEventInfo> selectTEventInfoList(TEventInfo tEventInfo)
{
return tEventInfoMapper.selectTEventInfoList(tEventInfo);
}
/**
* 新增事件处置
*
* @param tEventInfo 事件处置
* @return 结果
*/
@Override
public int insertTEventInfo(TEventInfo tEventInfo)
{
tEventInfo.setCreateTime(DateUtils.getNowDate());
return tEventInfoMapper.insertTEventInfo(tEventInfo);
}
/**
* 修改事件处置
*
* @param tEventInfo 事件处置
* @return 结果
*/
@Override
public int updateTEventInfo(TEventInfo tEventInfo)
{
tEventInfo.setUpdateTime(DateUtils.getNowDate());
return tEventInfoMapper.updateTEventInfo(tEventInfo);
}
/**
* 批量删除事件处置
*
* @param eventIds 需要删除的事件处置ID
* @return 结果
*/
@Override
public int deleteTEventInfoByIds(Long[] eventIds)
{
return tEventInfoMapper.deleteTEventInfoByIds(eventIds);
}
/**
* 删除事件处置信息
*
* @param eventId 事件处置ID
* @return 结果
*/
@Override
public int deleteTEventInfoById(Long eventId)
{
return tEventInfoMapper.deleteTEventInfoById(eventId);
}
}
package com.zehong.system.service.impl;
import java.util.List;
import com.zehong.common.utils.DateUtils;
import com.zehong.system.domain.form.THiddenDangerStandingBookForm;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zehong.system.mapper.THiddenDangerStandingBookMapper;
import com.zehong.system.domain.THiddenDangerStandingBook;
import com.zehong.system.service.ITHiddenDangerStandingBookService;
/**
* 隐患整治台账Service业务层处理
*
* @author zehong
* @date 2022-02-09
*/
@Service
public class THiddenDangerStandingBookServiceImpl implements ITHiddenDangerStandingBookService
{
@Autowired
private THiddenDangerStandingBookMapper tHiddenDangerStandingBookMapper;
/**
* 查询隐患整治台账
*
* @param hiddenId 隐患整治台账ID
* @return 隐患整治台账
*/
@Override
public THiddenDangerStandingBook selectTHiddenDangerStandingBookById(Long hiddenId)
{
return tHiddenDangerStandingBookMapper.selectTHiddenDangerStandingBookById(hiddenId);
}
/**
* 查询隐患整治台账列表
*
* @param tHiddenDangerStandingBook 隐患整治台账
* @return 隐患整治台账
*/
@Override
public List<THiddenDangerStandingBook> selectTHiddenDangerStandingBookList(THiddenDangerStandingBookForm tHiddenDangerStandingBook)
{
return tHiddenDangerStandingBookMapper.selectTHiddenDangerStandingBookList(tHiddenDangerStandingBook);
}
/**
* 新增隐患整治台账
*
* @param tHiddenDangerStandingBook 隐患整治台账
* @return 结果
*/
@Override
public int insertTHiddenDangerStandingBook(THiddenDangerStandingBook tHiddenDangerStandingBook)
{
tHiddenDangerStandingBook.setCreateTime(DateUtils.getNowDate());
return tHiddenDangerStandingBookMapper.insertTHiddenDangerStandingBook(tHiddenDangerStandingBook);
}
/**
* 修改隐患整治台账
*
* @param tHiddenDangerStandingBook 隐患整治台账
* @return 结果
*/
@Override
public int updateTHiddenDangerStandingBook(THiddenDangerStandingBook tHiddenDangerStandingBook)
{
tHiddenDangerStandingBook.setUpdateTime(DateUtils.getNowDate());
return tHiddenDangerStandingBookMapper.updateTHiddenDangerStandingBook(tHiddenDangerStandingBook);
}
/**
* 批量删除隐患整治台账
*
* @param hiddenIds 需要删除的隐患整治台账ID
* @return 结果
*/
@Override
public int deleteTHiddenDangerStandingBookByIds(Long[] hiddenIds)
{
return tHiddenDangerStandingBookMapper.deleteTHiddenDangerStandingBookByIds(hiddenIds);
}
/**
* 删除隐患整治台账信息
*
* @param hiddenId 隐患整治台账ID
* @return 结果
*/
@Override
public int deleteTHiddenDangerStandingBookById(Long hiddenId)
{
return tHiddenDangerStandingBookMapper.deleteTHiddenDangerStandingBookById(hiddenId);
}
}
package com.zehong.system.service.impl;
import java.util.List;
import java.util.Map;
import com.zehong.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zehong.system.mapper.TPlanInfoMapper;
import com.zehong.system.domain.TPlanInfo;
import com.zehong.system.service.ITPlanInfoService;
/**
* 应急预案Service业务层处理
*
* @author zehong
* @date 2022-02-11
*/
@Service
public class TPlanInfoServiceImpl implements ITPlanInfoService
{
@Autowired
private TPlanInfoMapper tPlanInfoMapper;
/**
* 查询应急预案
*
* @param planId 应急预案ID
* @return 应急预案
*/
@Override
public TPlanInfo selectTPlanInfoById(Long planId)
{
return tPlanInfoMapper.selectTPlanInfoById(planId);
}
/**
* 查询应急预案列表
*
* @param tPlanInfo 应急预案
* @return 应急预案
*/
@Override
public List<TPlanInfo> selectTPlanInfoList(TPlanInfo tPlanInfo)
{
return tPlanInfoMapper.selectTPlanInfoList(tPlanInfo);
}
/**
* 新增应急预案
*
* @param tPlanInfo 应急预案
* @return 结果
*/
@Override
public int insertTPlanInfo(TPlanInfo tPlanInfo)
{
tPlanInfo.setCreateTime(DateUtils.getNowDate());
return tPlanInfoMapper.insertTPlanInfo(tPlanInfo);
}
/**
* 修改应急预案
*
* @param tPlanInfo 应急预案
* @return 结果
*/
@Override
public int updateTPlanInfo(TPlanInfo tPlanInfo)
{
tPlanInfo.setUpdateTime(DateUtils.getNowDate());
return tPlanInfoMapper.updateTPlanInfo(tPlanInfo);
}
/**
* 批量删除应急预案
*
* @param planIds 需要删除的应急预案ID
* @return 结果
*/
@Override
public int deleteTPlanInfoByIds(Long[] planIds)
{
return tPlanInfoMapper.deleteTPlanInfoByIds(planIds);
}
/**
* 删除应急预案信息
*
* @param planId 应急预案ID
* @return 结果
*/
@Override
public int deleteTPlanInfoById(Long planId)
{
return tPlanInfoMapper.deleteTPlanInfoById(planId);
}
@Override
public List<Map<String,Object>> selectEnterprise(){
return tPlanInfoMapper.selectEnterprise();
}
}
package com.zehong.system.service.impl;
import java.util.List;
import com.zehong.common.utils.DateUtils;
import com.zehong.system.domain.form.TSafeEquipmentStandingBookForm;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zehong.system.mapper.TSafeEquipmentStandingBookMapper;
import com.zehong.system.domain.TSafeEquipmentStandingBook;
import com.zehong.system.service.ITSafeEquipmentStandingBookService;
/**
* 用户加装安全装置台账Service业务层处理
*
* @author zehong
* @date 2022-02-09
*/
@Service
public class TSafeEquipmentStandingBookServiceImpl implements ITSafeEquipmentStandingBookService
{
@Autowired
private TSafeEquipmentStandingBookMapper tSafeEquipmentStandingBookMapper;
/**
* 查询用户加装安全装置台账
*
* @param safeEquipmentId 用户加装安全装置台账ID
* @return 用户加装安全装置台账
*/
@Override
public TSafeEquipmentStandingBook selectTSafeEquipmentStandingBookById(Long safeEquipmentId)
{
return tSafeEquipmentStandingBookMapper.selectTSafeEquipmentStandingBookById(safeEquipmentId);
}
/**
* 查询用户加装安全装置台账列表
*
* @param tSafeEquipmentStandingBook 用户加装安全装置台账
* @return 用户加装安全装置台账
*/
@Override
public List<TSafeEquipmentStandingBook> selectTSafeEquipmentStandingBookList(TSafeEquipmentStandingBookForm tSafeEquipmentStandingBook)
{
return tSafeEquipmentStandingBookMapper.selectTSafeEquipmentStandingBookList(tSafeEquipmentStandingBook);
}
/**
* 新增用户加装安全装置台账
*
* @param tSafeEquipmentStandingBook 用户加装安全装置台账
* @return 结果
*/
@Override
public int insertTSafeEquipmentStandingBook(TSafeEquipmentStandingBook tSafeEquipmentStandingBook)
{
tSafeEquipmentStandingBook.setCreateTime(DateUtils.getNowDate());
return tSafeEquipmentStandingBookMapper.insertTSafeEquipmentStandingBook(tSafeEquipmentStandingBook);
}
/**
* 修改用户加装安全装置台账
*
* @param tSafeEquipmentStandingBook 用户加装安全装置台账
* @return 结果
*/
@Override
public int updateTSafeEquipmentStandingBook(TSafeEquipmentStandingBook tSafeEquipmentStandingBook)
{
tSafeEquipmentStandingBook.setUpdateTime(DateUtils.getNowDate());
return tSafeEquipmentStandingBookMapper.updateTSafeEquipmentStandingBook(tSafeEquipmentStandingBook);
}
/**
* 批量删除用户加装安全装置台账
*
* @param safeEquipmentIds 需要删除的用户加装安全装置台账ID
* @return 结果
*/
@Override
public int deleteTSafeEquipmentStandingBookByIds(Long[] safeEquipmentIds)
{
return tSafeEquipmentStandingBookMapper.deleteTSafeEquipmentStandingBookByIds(safeEquipmentIds);
}
/**
* 删除用户加装安全装置台账信息
*
* @param safeEquipmentId 用户加装安全装置台账ID
* @return 结果
*/
@Override
public int deleteTSafeEquipmentStandingBookById(Long safeEquipmentId)
{
return tSafeEquipmentStandingBookMapper.deleteTSafeEquipmentStandingBookById(safeEquipmentId);
}
}
package com.zehong.system.service.impl;
import java.util.List;
import com.zehong.common.utils.DateUtils;
import com.zehong.system.domain.form.TTroubleStandingBookForm;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zehong.system.mapper.TTroubleStandingBookMapper;
import com.zehong.system.domain.TTroubleStandingBook;
import com.zehong.system.service.ITTroubleStandingBookService;
/**
* 事故台账Service业务层处理
*
* @author zehong
* @date 2022-02-09
*/
@Service
public class TTroubleStandingBookServiceImpl implements ITTroubleStandingBookService
{
@Autowired
private TTroubleStandingBookMapper tTroubleStandingBookMapper;
/**
* 查询事故台账
*
* @param troubleId 事故台账ID
* @return 事故台账
*/
@Override
public TTroubleStandingBook selectTTroubleStandingBookById(Long troubleId)
{
return tTroubleStandingBookMapper.selectTTroubleStandingBookById(troubleId);
}
/**
* 查询事故台账列表
*
* @param tTroubleStandingBook 事故台账
* @return 事故台账
*/
@Override
public List<TTroubleStandingBook> selectTTroubleStandingBookList(TTroubleStandingBookForm tTroubleStandingBook)
{
return tTroubleStandingBookMapper.selectTTroubleStandingBookList(tTroubleStandingBook);
}
/**
* 新增事故台账
*
* @param tTroubleStandingBook 事故台账
* @return 结果
*/
@Override
public int insertTTroubleStandingBook(TTroubleStandingBook tTroubleStandingBook)
{
tTroubleStandingBook.setCreateTime(DateUtils.getNowDate());
return tTroubleStandingBookMapper.insertTTroubleStandingBook(tTroubleStandingBook);
}
/**
* 修改事故台账
*
* @param tTroubleStandingBook 事故台账
* @return 结果
*/
@Override
public int updateTTroubleStandingBook(TTroubleStandingBook tTroubleStandingBook)
{
tTroubleStandingBook.setUpdateTime(DateUtils.getNowDate());
return tTroubleStandingBookMapper.updateTTroubleStandingBook(tTroubleStandingBook);
}
/**
* 批量删除事故台账
*
* @param troubleIds 需要删除的事故台账ID
* @return 结果
*/
@Override
public int deleteTTroubleStandingBookByIds(Long[] troubleIds)
{
return tTroubleStandingBookMapper.deleteTTroubleStandingBookByIds(troubleIds);
}
/**
* 删除事故台账信息
*
* @param troubleId 事故台账ID
* @return 结果
*/
@Override
public int deleteTTroubleStandingBookById(Long troubleId)
{
return tTroubleStandingBookMapper.deleteTTroubleStandingBookById(troubleId);
}
}
package com.zehong.system.service.impl;
import java.util.List;
import com.zehong.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zehong.system.mapper.TWorkOrderMapper;
import com.zehong.system.domain.TWorkOrder;
import com.zehong.system.service.ITWorkOrderService;
/**
* 燃气任务Service业务层处理
*
* @author zehong
* @date 2022-02-10
*/
@Service
public class TWorkOrderServiceImpl implements ITWorkOrderService
{
@Autowired
private TWorkOrderMapper tWorkOrderMapper;
/**
* 查询燃气任务
*
* @param workId 燃气任务ID
* @return 燃气任务
*/
@Override
public TWorkOrder selectTWorkOrderById(Long workId)
{
return tWorkOrderMapper.selectTWorkOrderById(workId);
}
/**
* 查询燃气任务列表
*
* @param tWorkOrder 燃气任务
* @return 燃气任务
*/
@Override
public List<TWorkOrder> selectTWorkOrderList(TWorkOrder tWorkOrder)
{
return tWorkOrderMapper.selectTWorkOrderList(tWorkOrder);
}
/**
* 新增燃气任务
*
* @param tWorkOrder 燃气任务
* @return 结果
*/
@Override
public int insertTWorkOrder(TWorkOrder tWorkOrder)
{
tWorkOrder.setCreateTime(DateUtils.getNowDate());
return tWorkOrderMapper.insertTWorkOrder(tWorkOrder);
}
/**
* 修改燃气任务
*
* @param tWorkOrder 燃气任务
* @return 结果
*/
@Override
public int updateTWorkOrder(TWorkOrder tWorkOrder)
{
tWorkOrder.setUpdateTime(DateUtils.getNowDate());
return tWorkOrderMapper.updateTWorkOrder(tWorkOrder);
}
/**
* 批量删除燃气任务
*
* @param workIds 需要删除的燃气任务ID
* @return 结果
*/
@Override
public int deleteTWorkOrderByIds(Long[] workIds)
{
return tWorkOrderMapper.deleteTWorkOrderByIds(workIds);
}
/**
* 删除燃气任务信息
*
* @param workId 燃气任务ID
* @return 结果
*/
@Override
public int deleteTWorkOrderById(Long workId)
{
return tWorkOrderMapper.deleteTWorkOrderById(workId);
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.zehong.system.mapper.TEventInfoMapper">
<resultMap type="TEventInfo" id="TEventInfoResult">
<result property="eventId" column="event_id" />
<result property="eventTitle" column="event_title" />
<result property="eventType" column="event_type" />
<result property="eventLevel" column="event_level" />
<result property="eventLocation" column="event_location" />
<result property="reportTime" column="report_time" />
<result property="reportPerson" column="report_person" />
<result property="eventDeal" column="event_deal" />
<result property="eventAssessment" column="event_assessment" />
<result property="beyondEnterpriseId" column="beyond_enterprise_id" />
<result property="beyondEnterpriseName" column="beyond_enterprise_name" />
<result property="iconUrl" column="icon_url" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="isDel" column="is_del" />
<result property="remarks" column="remarks" />
</resultMap>
<sql id="selectTEventInfoVo">
select event_id, event_title, event_type, event_level, event_location, report_time, report_person, event_deal, event_assessment, beyond_enterprise_id, beyond_enterprise_name, icon_url, create_by, create_time, update_by, update_time, is_del, remarks from t_event_info
</sql>
<select id="selectTEventInfoList" parameterType="TEventInfo" resultMap="TEventInfoResult">
<include refid="selectTEventInfoVo"/>
<where>
<if test="eventTitle != null and eventTitle != ''"> and event_title like concat('%', #{eventTitle}, '%')</if>
<if test="eventType != null and eventType != ''"> and event_type = #{eventType}</if>
<if test="eventLevel != null and eventLevel != ''"> and event_level = #{eventLevel}</if>
<if test="reportPerson != null and reportPerson != ''"> and report_person like concat('%', #{reportPerson}, '%')</if>
<if test="beyondEnterpriseId != null and beyondEnterpriseId != ''"> and beyond_enterprise_id = #{beyondEnterpriseId}</if>
</where>
</select>
<select id="selectTEventInfoById" parameterType="Long" resultMap="TEventInfoResult">
<include refid="selectTEventInfoVo"/>
where event_id = #{eventId}
</select>
<insert id="insertTEventInfo" parameterType="TEventInfo" useGeneratedKeys="true" keyProperty="eventId">
insert into t_event_info
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="eventTitle != null">event_title,</if>
<if test="eventType != null">event_type,</if>
<if test="eventLevel != null">event_level,</if>
<if test="eventLocation != null">event_location,</if>
<if test="reportTime != null">report_time,</if>
<if test="reportPerson != null">report_person,</if>
<if test="eventDeal != null">event_deal,</if>
<if test="eventAssessment != null">event_assessment,</if>
<if test="beyondEnterpriseId != null">beyond_enterprise_id,</if>
<if test="beyondEnterpriseName != null">beyond_enterprise_name,</if>
<if test="iconUrl != null">icon_url,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="isDel != null">is_del,</if>
<if test="remarks != null">remarks,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="eventTitle != null">#{eventTitle},</if>
<if test="eventType != null">#{eventType},</if>
<if test="eventLevel != null">#{eventLevel},</if>
<if test="eventLocation != null">#{eventLocation},</if>
<if test="reportTime != null">#{reportTime},</if>
<if test="reportPerson != null">#{reportPerson},</if>
<if test="eventDeal != null">#{eventDeal},</if>
<if test="eventAssessment != null">#{eventAssessment},</if>
<if test="beyondEnterpriseId != null">#{beyondEnterpriseId},</if>
<if test="beyondEnterpriseName != null">#{beyondEnterpriseName},</if>
<if test="iconUrl != null">#{iconUrl},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="isDel != null">#{isDel},</if>
<if test="remarks != null">#{remarks},</if>
</trim>
</insert>
<update id="updateTEventInfo" parameterType="TEventInfo">
update t_event_info
<trim prefix="SET" suffixOverrides=",">
<if test="eventTitle != null">event_title = #{eventTitle},</if>
<if test="eventType != null">event_type = #{eventType},</if>
<if test="eventLevel != null">event_level = #{eventLevel},</if>
<if test="eventLocation != null">event_location = #{eventLocation},</if>
<if test="reportTime != null">report_time = #{reportTime},</if>
<if test="reportPerson != null">report_person = #{reportPerson},</if>
<if test="eventDeal != null">event_deal = #{eventDeal},</if>
<if test="eventAssessment != null">event_assessment = #{eventAssessment},</if>
<if test="beyondEnterpriseId != null">beyond_enterprise_id = #{beyondEnterpriseId},</if>
<if test="beyondEnterpriseName != null">beyond_enterprise_name = #{beyondEnterpriseName},</if>
<if test="iconUrl != null">icon_url = #{iconUrl},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="remarks != null">remarks = #{remarks},</if>
</trim>
where event_id = #{eventId}
</update>
<delete id="deleteTEventInfoById" parameterType="Long">
delete from t_event_info where event_id = #{eventId}
</delete>
<delete id="deleteTEventInfoByIds" parameterType="String">
delete from t_event_info where event_id in
<foreach item="eventId" collection="array" open="(" separator="," close=")">
#{eventId}
</foreach>
</delete>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.zehong.system.mapper.THiddenDangerStandingBookMapper">
<resultMap type="THiddenDangerStandingBook" id="THiddenDangerStandingBookResult">
<result property="hiddenId" column="hidden_id" />
<result property="hiddenTitle" column="hidden_title" />
<result property="hiddenContent" column="hidden_content" />
<result property="hiddenLocation" column="hidden_location" />
<result property="longitude" column="longitude" />
<result property="latitude" column="latitude" />
<result property="hiddenType" column="hidden_type" />
<result property="hiddenFindPeople" column="hidden_find_people" />
<result property="hiddenFindDate" column="hidden_find_date" />
<result property="dealPlan" column="deal_plan" />
<result property="dealPlanUrl" column="deal_plan_url" />
<result property="remediation" column="remediation" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="isDel" column="is_del" />
<result property="remarks" column="remarks" />
</resultMap>
<sql id="selectTHiddenDangerStandingBookVo">
select hidden_id, hidden_title, hidden_content, hidden_location, longitude, latitude, hidden_type, hidden_find_people, hidden_find_date, deal_plan, deal_plan_url, remediation, create_by, create_time, update_by, update_time, is_del, remarks from t_hidden_danger_standing_book
</sql>
<select id="selectTHiddenDangerStandingBookList" parameterType="THiddenDangerStandingBookForm" resultMap="THiddenDangerStandingBookResult">
<include refid="selectTHiddenDangerStandingBookVo"/>
<where> is_del = '0'
<if test="hiddenTitle != null and hiddenTitle != ''"> and hidden_title like concat('%', #{hiddenTitle}, '%')</if>
<if test="hiddenType != null and hiddenType != ''"> and hidden_type = #{hiddenType}</if>
<if test="hiddenFindDateStart != null "> and hidden_find_date &gt;= #{hiddenFindDateStart}</if>
<if test="hiddenFindDateEnd != null "> and hidden_find_date &lt;= #{hiddenFindDateEnd}</if>
</where>
</select>
<select id="selectTHiddenDangerStandingBookById" parameterType="Long" resultMap="THiddenDangerStandingBookResult">
<include refid="selectTHiddenDangerStandingBookVo"/>
where hidden_id = #{hiddenId}
</select>
<insert id="insertTHiddenDangerStandingBook" parameterType="THiddenDangerStandingBook" useGeneratedKeys="true" keyProperty="hiddenId">
insert into t_hidden_danger_standing_book
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="hiddenTitle != null">hidden_title,</if>
<if test="hiddenContent != null">hidden_content,</if>
<if test="hiddenLocation != null">hidden_location,</if>
<if test="longitude != null">longitude,</if>
<if test="latitude != null">latitude,</if>
<if test="hiddenType != null">hidden_type,</if>
<if test="hiddenFindPeople != null">hidden_find_people,</if>
<if test="hiddenFindDate != null">hidden_find_date,</if>
<if test="dealPlan != null">deal_plan,</if>
<if test="dealPlanUrl != null">deal_plan_url,</if>
<if test="remediation != null">remediation,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="isDel != null">is_del,</if>
<if test="remarks != null">remarks,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="hiddenTitle != null">#{hiddenTitle},</if>
<if test="hiddenContent != null">#{hiddenContent},</if>
<if test="hiddenLocation != null">#{hiddenLocation},</if>
<if test="longitude != null">#{longitude},</if>
<if test="latitude != null">#{latitude},</if>
<if test="hiddenType != null">#{hiddenType},</if>
<if test="hiddenFindPeople != null">#{hiddenFindPeople},</if>
<if test="hiddenFindDate != null">#{hiddenFindDate},</if>
<if test="dealPlan != null">#{dealPlan},</if>
<if test="dealPlanUrl != null">#{dealPlanUrl},</if>
<if test="remediation != null">#{remediation},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="isDel != null">#{isDel},</if>
<if test="remarks != null">#{remarks},</if>
</trim>
</insert>
<update id="updateTHiddenDangerStandingBook" parameterType="THiddenDangerStandingBook">
update t_hidden_danger_standing_book
<trim prefix="SET" suffixOverrides=",">
<if test="hiddenTitle != null">hidden_title = #{hiddenTitle},</if>
<if test="hiddenContent != null">hidden_content = #{hiddenContent},</if>
<if test="hiddenLocation != null">hidden_location = #{hiddenLocation},</if>
<if test="longitude != null">longitude = #{longitude},</if>
<if test="latitude != null">latitude = #{latitude},</if>
<if test="hiddenType != null">hidden_type = #{hiddenType},</if>
<if test="hiddenFindPeople != null">hidden_find_people = #{hiddenFindPeople},</if>
<if test="hiddenFindDate != null">hidden_find_date = #{hiddenFindDate},</if>
<if test="dealPlan != null">deal_plan = #{dealPlan},</if>
<if test="dealPlanUrl != null">deal_plan_url = #{dealPlanUrl},</if>
<if test="remediation != null">remediation = #{remediation},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="remarks != null">remarks = #{remarks},</if>
</trim>
where hidden_id = #{hiddenId}
</update>
<delete id="deleteTHiddenDangerStandingBookById" parameterType="Long">
delete from t_hidden_danger_standing_book where hidden_id = #{hiddenId}
</delete>
<delete id="deleteTHiddenDangerStandingBookByIds" parameterType="String">
delete from t_hidden_danger_standing_book where hidden_id in
<foreach item="hiddenId" collection="array" open="(" separator="," close=")">
#{hiddenId}
</foreach>
</delete>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.zehong.system.mapper.TPlanInfoMapper">
<resultMap type="TPlanInfo" id="TPlanInfoResult">
<result property="planId" column="plan_id" />
<result property="planTitle" column="plan_title" />
<result property="planType" column="plan_type" />
<result property="planLevel" column="plan_level" />
<result property="beyondEnterpriseId" column="beyond_enterprise_id" />
<result property="beyondEnterpriseName" column="beyond_enterprise_name" />
<result property="planContents" column="plan_contents" />
<result property="planEquipment" column="plan_equipment" />
<result property="iconUrl" column="icon_url" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="isDel" column="is_del" />
<result property="remarks" column="remarks" />
</resultMap>
<sql id="selectTPlanInfoVo">
select plan_id, plan_title, plan_type, plan_level, beyond_enterprise_id, beyond_enterprise_name, plan_contents, plan_equipment, icon_url, create_by, create_time, update_by, update_time, is_del, remarks from t_plan_info
</sql>
<select id="selectTPlanInfoList" parameterType="TPlanInfo" resultMap="TPlanInfoResult">
<include refid="selectTPlanInfoVo"/>
<where>
<if test="planTitle != null and planTitle != ''"> and plan_title = #{planTitle}</if>
<if test="planType != null and planType != ''"> and plan_type = #{planType}</if>
<if test="planLevel != null and planLevel != ''"> and plan_level = #{planLevel}</if>
<if test="beyondEnterpriseId != null and beyondEnterpriseId != ''"> and beyond_enterprise_id = #{beyondEnterpriseId}</if>
</where>
</select>
<select id="selectTPlanInfoById" parameterType="Long" resultMap="TPlanInfoResult">
<include refid="selectTPlanInfoVo"/>
where plan_id = #{planId}
</select>
<insert id="insertTPlanInfo" parameterType="TPlanInfo" useGeneratedKeys="true" keyProperty="planId">
insert into t_plan_info
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="planTitle != null">plan_title,</if>
<if test="planType != null">plan_type,</if>
<if test="planLevel != null">plan_level,</if>
<if test="beyondEnterpriseId != null">beyond_enterprise_id,</if>
<if test="beyondEnterpriseName != null">beyond_enterprise_name,</if>
<if test="planContents != null">plan_contents,</if>
<if test="planEquipment != null">plan_equipment,</if>
<if test="iconUrl != null">icon_url,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="isDel != null">is_del,</if>
<if test="remarks != null">remarks,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="planTitle != null">#{planTitle},</if>
<if test="planType != null">#{planType},</if>
<if test="planLevel != null">#{planLevel},</if>
<if test="beyondEnterpriseId != null">#{beyondEnterpriseId},</if>
<if test="beyondEnterpriseName != null">#{beyondEnterpriseName},</if>
<if test="planContents != null">#{planContents},</if>
<if test="planEquipment != null">#{planEquipment},</if>
<if test="iconUrl != null">#{iconUrl},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="isDel != null">#{isDel},</if>
<if test="remarks != null">#{remarks},</if>
</trim>
</insert>
<update id="updateTPlanInfo" parameterType="TPlanInfo">
update t_plan_info
<trim prefix="SET" suffixOverrides=",">
<if test="planTitle != null">plan_title = #{planTitle},</if>
<if test="planType != null">plan_type = #{planType},</if>
<if test="planLevel != null">plan_level = #{planLevel},</if>
<if test="beyondEnterpriseId != null">beyond_enterprise_id = #{beyondEnterpriseId},</if>
<if test="beyondEnterpriseName != null">beyond_enterprise_name = #{beyondEnterpriseName},</if>
<if test="planContents != null">plan_contents = #{planContents},</if>
<if test="planEquipment != null">plan_equipment = #{planEquipment},</if>
<if test="iconUrl != null">icon_url = #{iconUrl},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="remarks != null">remarks = #{remarks},</if>
</trim>
where plan_id = #{planId}
</update>
<delete id="deleteTPlanInfoById" parameterType="Long">
delete from t_plan_info where plan_id = #{planId}
</delete>
<delete id="deleteTPlanInfoByIds" parameterType="String">
delete from t_plan_info where plan_id in
<foreach item="planId" collection="array" open="(" separator="," close=")">
#{planId}
</foreach>
</delete>
<select id="selectEnterprise" resultType="java.util.HashMap">
SELECT enterprise_id as enterpriseId,enterprise_name as enterpriseName FROM t_enterprise_info
WHERE is_del = 0
</select>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.zehong.system.mapper.TSafeEquipmentStandingBookMapper">
<resultMap type="TSafeEquipmentStandingBook" id="TSafeEquipmentStandingBookResult">
<result property="safeEquipmentId" column="safe_equipment_id" />
<result property="userName" column="user_name" />
<result property="userNo" column="user_no" />
<result property="userAddress" column="user_address" />
<result property="idCard" column="id_card" />
<result property="linkMobile" column="link_mobile" />
<result property="installTime" column="install_time" />
<result property="brandName" column="brand_name" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="isDel" column="is_del" />
<result property="remarks" column="remarks" />
</resultMap>
<sql id="selectTSafeEquipmentStandingBookVo">
select safe_equipment_id, user_name, user_no, user_address, id_card, link_mobile, install_time, brand_name, create_by, create_time, update_by, update_time, is_del, remarks from t_safe_equipment_standing_book
</sql>
<select id="selectTSafeEquipmentStandingBookList" parameterType="TSafeEquipmentStandingBookForm" resultMap="TSafeEquipmentStandingBookResult">
<include refid="selectTSafeEquipmentStandingBookVo"/>
<where> is_del = '0'
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
<if test="linkMobile != null and linkMobile != ''"> and link_mobile like concat('%', #{linkMobile}, '%')</if>
<if test="installTimeStart != null "> and install_time &gt;= #{installTimeStart}</if>
<if test="installTimeEnd != null "> and install_time &lt;= #{installTimeEnd}</if>
</where>
</select>
<select id="selectTSafeEquipmentStandingBookById" parameterType="Long" resultMap="TSafeEquipmentStandingBookResult">
<include refid="selectTSafeEquipmentStandingBookVo"/>
where safe_equipment_id = #{safeEquipmentId}
</select>
<insert id="insertTSafeEquipmentStandingBook" parameterType="TSafeEquipmentStandingBook" useGeneratedKeys="true" keyProperty="safeEquipmentId">
insert into t_safe_equipment_standing_book
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="userName != null">user_name,</if>
<if test="userNo != null">user_no,</if>
<if test="userAddress != null">user_address,</if>
<if test="idCard != null">id_card,</if>
<if test="linkMobile != null">link_mobile,</if>
<if test="installTime != null">install_time,</if>
<if test="brandName != null">brand_name,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="isDel != null">is_del,</if>
<if test="remarks != null">remarks,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="userName != null">#{userName},</if>
<if test="userNo != null">#{userNo},</if>
<if test="userAddress != null">#{userAddress},</if>
<if test="idCard != null">#{idCard},</if>
<if test="linkMobile != null">#{linkMobile},</if>
<if test="installTime != null">#{installTime},</if>
<if test="brandName != null">#{brandName},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="isDel != null">#{isDel},</if>
<if test="remarks != null">#{remarks},</if>
</trim>
</insert>
<update id="updateTSafeEquipmentStandingBook" parameterType="TSafeEquipmentStandingBook">
update t_safe_equipment_standing_book
<trim prefix="SET" suffixOverrides=",">
<if test="userName != null">user_name = #{userName},</if>
<if test="userNo != null">user_no = #{userNo},</if>
<if test="userAddress != null">user_address = #{userAddress},</if>
<if test="idCard != null">id_card = #{idCard},</if>
<if test="linkMobile != null">link_mobile = #{linkMobile},</if>
<if test="installTime != null">install_time = #{installTime},</if>
<if test="brandName != null">brand_name = #{brandName},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="remarks != null">remarks = #{remarks},</if>
</trim>
where safe_equipment_id = #{safeEquipmentId}
</update>
<delete id="deleteTSafeEquipmentStandingBookById" parameterType="Long">
delete from t_safe_equipment_standing_book where safe_equipment_id = #{safeEquipmentId}
</delete>
<delete id="deleteTSafeEquipmentStandingBookByIds" parameterType="String">
delete from t_safe_equipment_standing_book where safe_equipment_id in
<foreach item="safeEquipmentId" collection="array" open="(" separator="," close=")">
#{safeEquipmentId}
</foreach>
</delete>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.zehong.system.mapper.TTroubleStandingBookMapper">
<resultMap type="TTroubleStandingBook" id="TTroubleStandingBookResult">
<result property="troubleId" column="trouble_id" />
<result property="troubleName" column="trouble_name" />
<result property="troubleLocation" column="trouble_location" />
<result property="longitude" column="longitude" />
<result property="latitude" column="latitude" />
<result property="troubleType" column="trouble_type" />
<result property="briefProcess" column="brief_process" />
<result property="troubleReason" column="trouble_reason" />
<result property="responsibleUnit" column="responsible_unit" />
<result property="responsiblePeople" column="responsible_people" />
<result property="isDeal" column="is_deal" />
<result property="dealDate" column="deal_date" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="isDel" column="is_del" />
<result property="remarks" column="remarks" />
</resultMap>
<sql id="selectTTroubleStandingBookVo">
select trouble_id, trouble_name, trouble_location, longitude, latitude, trouble_type, brief_process, trouble_reason, responsible_unit, responsible_people, is_deal, deal_date, create_by, create_time, update_by, update_time, is_del, remarks from t_trouble_standing_book
</sql>
<select id="selectTTroubleStandingBookList" parameterType="TTroubleStandingBookForm" resultMap="TTroubleStandingBookResult">
<include refid="selectTTroubleStandingBookVo"/>
<where> is_del = '0'
<if test="troubleName != null and troubleName != ''"> and trouble_name like concat('%', #{troubleName}, '%')</if>
<if test="troubleType != null and troubleType != ''"> and trouble_type = #{troubleType}</if>
<if test="isDeal != null and isDeal != ''"> and is_deal = #{isDeal}</if>
<if test="dealDateStart != null "> and deal_date &gt;= #{dealDateStart}</if>
<if test="dealDateEnd != null "> and deal_date &lt;= #{dealDateEnd}</if>
</where>
</select>
<select id="selectTTroubleStandingBookById" parameterType="Long" resultMap="TTroubleStandingBookResult">
<include refid="selectTTroubleStandingBookVo"/>
where trouble_id = #{troubleId}
</select>
<insert id="insertTTroubleStandingBook" parameterType="TTroubleStandingBook" useGeneratedKeys="true" keyProperty="troubleId">
insert into t_trouble_standing_book
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="troubleName != null">trouble_name,</if>
<if test="troubleLocation != null">trouble_location,</if>
<if test="longitude != null">longitude,</if>
<if test="latitude != null">latitude,</if>
<if test="troubleType != null">trouble_type,</if>
<if test="briefProcess != null">brief_process,</if>
<if test="troubleReason != null">trouble_reason,</if>
<if test="responsibleUnit != null">responsible_unit,</if>
<if test="responsiblePeople != null">responsible_people,</if>
<if test="isDeal != null">is_deal,</if>
<if test="dealDate != null">deal_date,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="isDel != null">is_del,</if>
<if test="remarks != null">remarks,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="troubleName != null">#{troubleName},</if>
<if test="troubleLocation != null">#{troubleLocation},</if>
<if test="longitude != null">#{longitude},</if>
<if test="latitude != null">#{latitude},</if>
<if test="troubleType != null">#{troubleType},</if>
<if test="briefProcess != null">#{briefProcess},</if>
<if test="troubleReason != null">#{troubleReason},</if>
<if test="responsibleUnit != null">#{responsibleUnit},</if>
<if test="responsiblePeople != null">#{responsiblePeople},</if>
<if test="isDeal != null">#{isDeal},</if>
<if test="dealDate != null">#{dealDate},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="isDel != null">#{isDel},</if>
<if test="remarks != null">#{remarks},</if>
</trim>
</insert>
<update id="updateTTroubleStandingBook" parameterType="TTroubleStandingBook">
update t_trouble_standing_book
<trim prefix="SET" suffixOverrides=",">
<if test="troubleName != null">trouble_name = #{troubleName},</if>
<if test="troubleLocation != null">trouble_location = #{troubleLocation},</if>
<if test="longitude != null">longitude = #{longitude},</if>
<if test="latitude != null">latitude = #{latitude},</if>
<if test="troubleType != null">trouble_type = #{troubleType},</if>
<if test="briefProcess != null">brief_process = #{briefProcess},</if>
<if test="troubleReason != null">trouble_reason = #{troubleReason},</if>
<if test="responsibleUnit != null">responsible_unit = #{responsibleUnit},</if>
<if test="responsiblePeople != null">responsible_people = #{responsiblePeople},</if>
<if test="isDeal != null">is_deal = #{isDeal},</if>
<if test="dealDate != null">deal_date = #{dealDate},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="isDel != null">is_del = #{isDel},</if>
<if test="remarks != null">remarks = #{remarks},</if>
</trim>
where trouble_id = #{troubleId}
</update>
<delete id="deleteTTroubleStandingBookById" parameterType="Long">
delete from t_trouble_standing_book where trouble_id = #{troubleId}
</delete>
<delete id="deleteTTroubleStandingBookByIds" parameterType="String">
delete from t_trouble_standing_book where trouble_id in
<foreach item="troubleId" collection="array" open="(" separator="," close=")">
#{troubleId}
</foreach>
</delete>
</mapper>
\ No newline at end of file
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> <link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= webpackConfig.name %></title> <title><%= webpackConfig.name %></title>
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]--> <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
<script src="https://webapi.amap.com/maps?v=2.0&key=eed7ca3167f765467aa377fa78e61ece&plugin=Map3D,AMap.DistrictSearch,AMap.Scale,AMap.OverView,AMap.ToolBar,AMap.MouseTool,AMap.ControlBar,AMap.CircleEditor,AMap.PolyEditor"></script>
<style> <style>
html, html,
body, body,
......
import request from '@/utils/request'
// 查询燃气任务列表
export function listOrder(query) {
return request({
url: '/system/order/list',
method: 'get',
params: query
})
}
// 查询燃气任务详细
export function getOrder(workId) {
return request({
url: '/system/order/' + workId,
method: 'get'
})
}
// 新增燃气任务
export function addOrder(data) {
return request({
url: '/system/order',
method: 'post',
data: data
})
}
// 修改燃气任务
export function updateOrder(data) {
return request({
url: '/system/order',
method: 'put',
data: data
})
}
// 删除燃气任务
export function delOrder(workId) {
return request({
url: '/system/order/' + workId,
method: 'delete'
})
}
// 导出燃气任务
export function exportOrder(query) {
return request({
url: '/system/order/export',
method: 'get',
params: query
})
}
\ No newline at end of file
import request from '@/utils/request'
// 查询用户加装安全装置台账列表
export function listEquipment(query) {
return request({
url: '/standingBook/equipment/list',
method: 'get',
params: query
})
}
// 查询用户加装安全装置台账详细
export function getEquipment(safeEquipmentId) {
return request({
url: '/standingBook/equipment/' + safeEquipmentId,
method: 'get'
})
}
// 新增用户加装安全装置台账
export function addEquipment(data) {
return request({
url: '/standingBook/equipment',
method: 'post',
data: data
})
}
// 修改用户加装安全装置台账
export function updateEquipment(data) {
return request({
url: '/standingBook/equipment',
method: 'put',
data: data
})
}
// 删除用户加装安全装置台账
export function delEquipment(safeEquipmentId) {
return request({
url: '/standingBook/equipment/' + safeEquipmentId,
method: 'delete'
})
}
// 导出用户加装安全装置台账
export function exportEquipment(query) {
return request({
url: '/standingBook/equipment/export',
method: 'get',
params: query
})
}
\ No newline at end of file
import request from '@/utils/request'
// 查询隐患整治台账列表
export function listHidden(query) {
return request({
url: '/standingBook/hidden/list',
method: 'get',
params: query
})
}
// 查询隐患整治台账详细
export function getHidden(hiddenId) {
return request({
url: '/standingBook/hidden/' + hiddenId,
method: 'get'
})
}
// 新增隐患整治台账
export function addHidden(data) {
return request({
url: '/standingBook/hidden',
method: 'post',
data: data
})
}
// 修改隐患整治台账
export function updateHidden(data) {
return request({
url: '/standingBook/hidden',
method: 'put',
data: data
})
}
// 删除隐患整治台账
export function delHidden(hiddenId) {
return request({
url: '/standingBook/hidden/' + hiddenId,
method: 'delete'
})
}
// 导出隐患整治台账
export function exportHidden(query) {
return request({
url: '/standingBook/hidden/export',
method: 'get',
params: query
})
}
\ No newline at end of file
import request from '@/utils/request'
// 查询事故台账列表
export function listTrouble(query) {
return request({
url: '/standingBook/trouble/list',
method: 'get',
params: query
})
}
// 查询事故台账详细
export function getTrouble(troubleId) {
return request({
url: '/standingBook/trouble/' + troubleId,
method: 'get'
})
}
// 新增事故台账
export function addTrouble(data) {
return request({
url: '/standingBook/trouble',
method: 'post',
data: data
})
}
// 修改事故台账
export function updateTrouble(data) {
return request({
url: '/standingBook/trouble',
method: 'put',
data: data
})
}
// 删除事故台账
export function delTrouble(troubleId) {
return request({
url: '/standingBook/trouble/' + troubleId,
method: 'delete'
})
}
// 导出事故台账
export function exportTrouble(query) {
return request({
url: '/standingBook/trouble/export',
method: 'get',
params: query
})
}
\ No newline at end of file
import request from '@/utils/request'
// 查询事件处置列表
export function listEventInfo(query) {
return request({
url: '/system/eventInfo/list',
method: 'get',
params: query
})
}
// 公司列表
export function enterpriseList() {
return request({
url: '/system/planInfo/getEnterpris',
method: 'get'
})
}
// 查询事件处置详细
export function getEventInfo(eventId) {
return request({
url: '/system/eventInfo/' + eventId,
method: 'get'
})
}
// 新增事件处置
export function addEventInfo(data) {
return request({
url: '/system/eventInfo',
method: 'post',
data: data
})
}
// 修改事件处置
export function updateEventInfo(data) {
return request({
url: '/system/eventInfo',
method: 'put',
data: data
})
}
// 删除事件处置
export function delEventInfo(eventId) {
return request({
url: '/system/eventInfo/' + eventId,
method: 'delete'
})
}
// 导出事件处置
export function exportEventInfo(query) {
return request({
url: '/system/eventInfo/export',
method: 'get',
params: query
})
}
import request from '@/utils/request'
// 查询应急预案列表
export function listPlanInfo(query) {
return request({
url: '/system/planInfo/list',
method: 'get',
params: query
})
}
// 查询应急预案详细
export function getPlanInfo(planId) {
return request({
url: '/system/planInfo/' + planId,
method: 'get'
})
}
// 公司列表
export function enterpriseList() {
return request({
url: '/system/planInfo/getEnterpris',
method: 'get'
})
}
// 新增应急预案
export function addPlanInfo(data) {
return request({
url: '/system/planInfo',
method: 'post',
data: data
})
}
// 修改应急预案
export function updatePlanInfo(data) {
return request({
url: '/system/planInfo',
method: 'put',
data: data
})
}
// 删除应急预案
export function delPlanInfo(planId) {
return request({
url: '/system/planInfo/' + planId,
method: 'delete'
})
}
// 导出应急预案
export function exportPlanInfo(query) {
return request({
url: '/system/planInfo/export',
method: 'get',
params: query
})
}
<svg id="组_2449" data-name="组 2449" xmlns="http://www.w3.org/2000/svg" width="23" height="33.9" viewBox="0 0 23 33.9">
<g id="路径_186" data-name="路径 186" fill="none">
<path d="M11.5,0A11.5,11.5,0,0,1,23,11.5c0,6.351-11.6,18.226-11.5,18.3S0,17.851,0,11.5A11.5,11.5,0,0,1,11.5,0Z" stroke="none"/>
<path d="M 11.5 0.9999942779541016 C 5.71027946472168 0.9999942779541016 1 5.710294723510742 1 11.50003433227539 C 1 15.44047451019287 6.295700073242188 22.62868881225586 11.47670364379883 28.30246925354004 C 12.68497562408447 26.95181846618652 15.33078575134277 23.97880172729492 17.65543937683105 20.72857475280762 C 19.63740921020508 17.95747375488281 22 14.10698509216309 22 11.50003433227539 C 22 5.710294723510742 17.28972053527832 0.9999942779541016 11.5 0.9999942779541016 M 11.5 -5.7220458984375e-06 C 17.85127067565918 -5.7220458984375e-06 23 5.148744583129883 23 11.50003433227539 C 23 17.82767868041992 11.48916530609131 29.63789367675781 11.49940204620361 29.80171203613281 C 11.36462783813477 29.63816833496094 0 17.78736114501953 0 11.50003433227539 C 0 5.148744583129883 5.14872932434082 -5.7220458984375e-06 11.5 -5.7220458984375e-06 Z M 11.49940204620361 29.80171203613281 C 11.50076866149902 29.80337142944336 11.50098419189453 29.80383491516113 11.5 29.80305480957031 C 11.49963855743408 29.80276870727539 11.49944019317627 29.80232429504395 11.49940204620361 29.80171203613281 Z" stroke="none" fill="#7bf8f4"/>
</g>
<path id="多边形_33" data-name="多边形 33" d="M4.471,0,8.941,5.961H0Z" transform="translate(16.094 29.804) rotate(180)" fill="#7bf8f4"/>
<path id="路径_966" data-name="路径 966" d="M99.476,156.616a6.028,6.028,0,0,1-1.622,2.267.9.9,0,0,1-.583.252.8.8,0,0,1-.567-.236.765.765,0,0,1-.236-.535.705.705,0,0,1,.236-.535,6.035,6.035,0,0,0,1.748-4.377A5.726,5.726,0,0,0,96.7,149.2a6.645,6.645,0,0,0-9.085.016,5.836,5.836,0,0,0-1.763,4.283,6.134,6.134,0,0,0,1.952,4.346.765.765,0,0,1,.236.535.705.705,0,0,1-.236.535.748.748,0,0,1-.567.236.8.8,0,0,1-.567-.236,7.414,7.414,0,0,1-2.047-2.724,7.528,7.528,0,0,1,1.748-8.266,7.836,7.836,0,0,1,2.629-1.685,9.392,9.392,0,0,1,6.361-.063,6.113,6.113,0,0,1,2.141,1.26c2.866,2.425,3.023,5.9,2.047,8.943Zm-7.337-7.684a4.366,4.366,0,0,0-4.377,4.267.5.5,0,0,1-.236.5.527.527,0,0,1-.567,0,.513.513,0,0,1-.236-.5,5.254,5.254,0,0,1,1.575-3.684,5.533,5.533,0,0,1,7.7,0,5.208,5.208,0,0,1,1.606,3.732.5.5,0,0,1-.236.5.527.527,0,0,1-.567,0,.513.513,0,0,1-.236-.5,4.382,4.382,0,0,0-4.424-4.314Zm.913,5.4a1.113,1.113,0,0,1-1.559-.047,1.054,1.054,0,0,1-.268-1.149l-1.212-1.2a.418.418,0,0,1,0-.6.479.479,0,0,1,.63,0l1.228,1.2a1.162,1.162,0,0,1,1.2.268,1.024,1.024,0,0,1,.331.771A1.093,1.093,0,0,1,93.052,154.333Zm.016-.016" transform="translate(-80.582 -142.727)" fill="#7bf8f4"/>
</svg>
...@@ -189,3 +189,7 @@ aside { ...@@ -189,3 +189,7 @@ aside {
.multiselect--active { .multiselect--active {
z-index: 1000 !important; z-index: 1000 !important;
} }
.amap-sug-result{
z-index:999999;
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -169,4 +169,4 @@ export default { ...@@ -169,4 +169,4 @@ export default {
line-height: 110px; line-height: 110px;
border-radius: 50%; border-radius: 50%;
} }
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment