commit
4f22cb0c6d
19 changed files with 1015 additions and 0 deletions
@ -0,0 +1,50 @@ |
||||
import request from '@/axios'; |
||||
|
||||
export const getList = (current, size, params) => { |
||||
return request({ |
||||
url: '/api/smart/operationitem/list', |
||||
method: 'get', |
||||
params: { |
||||
...params, |
||||
current, |
||||
size, |
||||
} |
||||
}) |
||||
} |
||||
|
||||
export const getDetail = (id) => { |
||||
return request({ |
||||
url: '/api/smart/operationitem/detail', |
||||
method: 'get', |
||||
params: { |
||||
id |
||||
} |
||||
}) |
||||
} |
||||
|
||||
export const remove = (ids) => { |
||||
return request({ |
||||
url: '/api/smart/operationitem/remove', |
||||
method: 'post', |
||||
params: { |
||||
ids, |
||||
} |
||||
}) |
||||
} |
||||
|
||||
export const add = (row) => { |
||||
return request({ |
||||
url: '/api/smart/operationitem/submit', |
||||
method: 'post', |
||||
data: row |
||||
}) |
||||
} |
||||
|
||||
export const update = (row) => { |
||||
return request({ |
||||
url: '/api/smart/operationitem/submit', |
||||
method: 'post', |
||||
data: row |
||||
}) |
||||
} |
||||
|
@ -0,0 +1,146 @@ |
||||
/** |
||||
* Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com). |
||||
* <p> |
||||
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE 3.0; |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* <p> |
||||
* http://www.gnu.org/licenses/lgpl.html
|
||||
* <p> |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
package org.energy.modules.smart.controller; |
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
import com.xkcoding.http.util.StringUtil; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import io.swagger.annotations.ApiParam; |
||||
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
||||
import lombok.AllArgsConstructor; |
||||
import javax.validation.Valid; |
||||
|
||||
import com.dayu.daf.core.mp.support.Condition; |
||||
import com.dayu.daf.core.mp.support.Query; |
||||
import com.dayu.daf.core.tool.api.R; |
||||
import com.dayu.daf.core.tool.utils.Func; |
||||
import org.energy.modules.leger.entity.InventoryDocument; |
||||
import org.energy.modules.smart.entity.OperationTicket; |
||||
import org.springframework.web.bind.annotation.*; |
||||
import org.springframework.web.bind.annotation.RequestParam; |
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
import org.energy.modules.smart.entity.OperationItem; |
||||
import org.energy.modules.smart.vo.OperationItemVO; |
||||
import org.energy.modules.smart.service.IOperationItemService; |
||||
import com.dayu.daf.core.boot.ctrl.DafController; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* 操作项目表 控制器 |
||||
* |
||||
* @author Daf |
||||
* @since 2024-07-11 |
||||
*/ |
||||
@RestController |
||||
@AllArgsConstructor |
||||
@RequestMapping("/smart/operationitem") |
||||
@Api(value = "操作项目表", tags = "操作项目表接口") |
||||
public class OperationItemController extends DafController { |
||||
|
||||
private IOperationItemService operationItemService; |
||||
|
||||
/** |
||||
* 详情 |
||||
*/ |
||||
@GetMapping("/detail") |
||||
@ApiOperationSupport(order = 1) |
||||
@ApiOperation(value = "详情", notes = "传入operationItem") |
||||
public R<OperationItem> detail(OperationItem operationItem) { |
||||
OperationItem detail = operationItemService.getOne(Condition.getQueryWrapper(operationItem)); |
||||
return R.data(detail); |
||||
} |
||||
|
||||
/** |
||||
* 分页 操作项目表 |
||||
*/ |
||||
@GetMapping("/list") |
||||
@ApiOperationSupport(order = 2) |
||||
@ApiOperation(value = "分页", notes = "传入operationItem") |
||||
public R<IPage<OperationItem>> list(OperationItem operationItem, Query query) { |
||||
IPage<OperationItem> pages = operationItemService.page(Condition.getPage(query), Condition.getQueryWrapper(operationItem)); |
||||
return R.data(pages); |
||||
} |
||||
|
||||
/** |
||||
* 自定义分页 操作项目表 |
||||
*/ |
||||
@GetMapping("/page") |
||||
@ApiOperationSupport(order = 3) |
||||
@ApiOperation(value = "分页", notes = "传入operationItem") |
||||
public R<IPage<OperationItemVO>> page(OperationItemVO operationItem, Query query) { |
||||
IPage<OperationItemVO> pages = operationItemService.selectOperationItemPage(Condition.getPage(query), operationItem); |
||||
return R.data(pages); |
||||
} |
||||
|
||||
/** |
||||
* 新增 操作项目表 |
||||
*/ |
||||
@PostMapping("/save") |
||||
@ApiOperationSupport(order = 4) |
||||
@ApiOperation(value = "新增", notes = "传入operationItem") |
||||
public R save(@Valid @RequestBody OperationItem operationItem) { |
||||
return R.status(operationItemService.save(operationItem)); |
||||
} |
||||
|
||||
/** |
||||
* 修改 操作项目表 |
||||
*/ |
||||
@PostMapping("/update") |
||||
@ApiOperationSupport(order = 5) |
||||
@ApiOperation(value = "修改", notes = "传入operationItem") |
||||
public R update(@Valid @RequestBody OperationItem operationItem) { |
||||
return R.status(operationItemService.updateById(operationItem)); |
||||
} |
||||
|
||||
/** |
||||
* 新增或修改 操作项目表 |
||||
*/ |
||||
@PostMapping("/submit") |
||||
@ApiOperationSupport(order = 6) |
||||
@ApiOperation(value = "新增或修改", notes = "传入operationItem") |
||||
public R submit(@Valid @RequestBody OperationItem operationItem) { |
||||
return R.status(operationItemService.saveOrUpdate(operationItem)); |
||||
} |
||||
|
||||
|
||||
/** |
||||
* 删除 操作项目表 |
||||
*/ |
||||
@PostMapping("/remove") |
||||
@ApiOperationSupport(order = 7) |
||||
@ApiOperation(value = "逻辑删除", notes = "传入ids") |
||||
public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
||||
return R.status(operationItemService.deleteLogic(Func.toLongList(ids))); |
||||
} |
||||
/** |
||||
* 列表 操作项目 |
||||
*/ |
||||
@GetMapping("/getList") |
||||
@ApiOperationSupport(order = 8) |
||||
@ApiOperation(value = "列表", notes = "传入OperationItem") |
||||
public R<List<OperationItem>> getList(OperationItem operationItem) { |
||||
// QueryWrapper<OperationItem> qw = new QueryWrapper<>();
|
||||
// qw.orderByAsc("eq_ledger_code");
|
||||
// if (StringUtil.isNotEmpty(operationItem.getOperationTicketNo())) {
|
||||
// qw.lambda().eq(OperationItem::getOperationTicketNo, operationItem.getOperationTicketNo());
|
||||
// }
|
||||
List<OperationItem> list = operationItemService.list(Condition.getQueryWrapper(operationItem)); |
||||
return R.data(list); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,129 @@ |
||||
/** |
||||
* Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com). |
||||
* <p> |
||||
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE 3.0; |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* <p> |
||||
* http://www.gnu.org/licenses/lgpl.html
|
||||
* <p> |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
package org.energy.modules.smart.controller; |
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
import com.xkcoding.http.util.StringUtil; |
||||
import io.swagger.annotations.Api; |
||||
import io.swagger.annotations.ApiOperation; |
||||
import io.swagger.annotations.ApiParam; |
||||
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
||||
import lombok.AllArgsConstructor; |
||||
import javax.validation.Valid; |
||||
|
||||
import com.dayu.daf.core.mp.support.Condition; |
||||
import com.dayu.daf.core.mp.support.Query; |
||||
import com.dayu.daf.core.tool.api.R; |
||||
import com.dayu.daf.core.tool.utils.Func; |
||||
import org.energy.modules.leger.entity.EquipmentLedger; |
||||
import org.springframework.web.bind.annotation.*; |
||||
import org.springframework.web.bind.annotation.RequestParam; |
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
import org.energy.modules.smart.entity.OperationTicket; |
||||
import org.energy.modules.smart.vo.OperationTicketVO; |
||||
import org.energy.modules.smart.service.IOperationTicketService; |
||||
import com.dayu.daf.core.boot.ctrl.DafController; |
||||
|
||||
/** |
||||
* 操作票一览 控制器 |
||||
* |
||||
* @author Daf |
||||
* @since 2024-07-10 |
||||
*/ |
||||
@RestController |
||||
@AllArgsConstructor |
||||
@RequestMapping("/smart/operationticket") |
||||
@Api(value = "操作票一览", tags = "操作票一览接口") |
||||
public class OperationTicketController extends DafController { |
||||
|
||||
private IOperationTicketService operationTicketService; |
||||
|
||||
/** |
||||
* 详情 |
||||
*/ |
||||
@GetMapping("/detail") |
||||
@ApiOperationSupport(order = 1) |
||||
@ApiOperation(value = "详情", notes = "传入operationTicket") |
||||
public R<OperationTicket> detail(OperationTicket operationTicket) { |
||||
OperationTicket detail = operationTicketService.getOne(Condition.getQueryWrapper(operationTicket)); |
||||
return R.data(detail); |
||||
} |
||||
|
||||
/** |
||||
* 分页 操作票一览 |
||||
*/ |
||||
@GetMapping("/list") |
||||
@ApiOperationSupport(order = 2) |
||||
@ApiOperation(value = "分页", notes = "传入operationTicket") |
||||
public R<IPage<OperationTicket>> list(OperationTicket operationTicket, Query query) { |
||||
IPage<OperationTicket> pages = operationTicketService.page(Condition.getPage(query), Condition.getQueryWrapper(operationTicket)); |
||||
return R.data(pages); |
||||
} |
||||
|
||||
/** |
||||
* 自定义分页 操作票一览 |
||||
*/ |
||||
@GetMapping("/page") |
||||
@ApiOperationSupport(order = 3) |
||||
@ApiOperation(value = "分页", notes = "传入operationTicket") |
||||
public R<IPage<OperationTicketVO>> page(OperationTicketVO operationTicket, Query query) { |
||||
IPage<OperationTicketVO> pages = operationTicketService.selectOperationTicketPage(Condition.getPage(query), operationTicket); |
||||
return R.data(pages); |
||||
} |
||||
|
||||
/** |
||||
* 新增 操作票一览 |
||||
*/ |
||||
@PostMapping("/save") |
||||
@ApiOperationSupport(order = 4) |
||||
@ApiOperation(value = "新增", notes = "传入operationTicket") |
||||
public R save(@Valid @RequestBody OperationTicket operationTicket) { |
||||
return R.status(operationTicketService.save(operationTicket)); |
||||
} |
||||
|
||||
/** |
||||
* 修改 操作票一览 |
||||
*/ |
||||
@PostMapping("/update") |
||||
@ApiOperationSupport(order = 5) |
||||
@ApiOperation(value = "修改", notes = "传入operationTicket") |
||||
public R update(@Valid @RequestBody OperationTicket operationTicket) { |
||||
return R.status(operationTicketService.updateById(operationTicket)); |
||||
} |
||||
|
||||
/** |
||||
* 新增或修改 操作票一览 |
||||
*/ |
||||
@PostMapping("/submit") |
||||
@ApiOperationSupport(order = 6) |
||||
@ApiOperation(value = "新增或修改", notes = "传入operationTicket") |
||||
public R submit(@Valid @RequestBody OperationTicket operationTicket) { |
||||
return R.status(operationTicketService.saveOrUpdate(operationTicket)); |
||||
} |
||||
|
||||
|
||||
/** |
||||
* 删除 操作票一览 |
||||
*/ |
||||
@PostMapping("/remove") |
||||
@ApiOperationSupport(order = 7) |
||||
@ApiOperation(value = "逻辑删除", notes = "传入ids") |
||||
public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
||||
return R.status(operationTicketService.deleteLogic(Func.toLongList(ids))); |
||||
} |
||||
|
||||
|
||||
} |
@ -0,0 +1,18 @@ |
||||
package org.energy.modules.smart.dto; |
||||
|
||||
import org.energy.modules.smart.entity.OperationItem; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
|
||||
/** |
||||
* 操作项目表数据传输对象实体类 |
||||
* |
||||
* @author Daf |
||||
* @since 2024-07-11 |
||||
*/ |
||||
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class OperationItemDTO extends OperationItem { |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
} |
@ -0,0 +1,18 @@ |
||||
package org.energy.modules.smart.dto; |
||||
|
||||
import org.energy.modules.smart.entity.OperationTicket; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
|
||||
/** |
||||
* 操作票一览数据传输对象实体类 |
||||
* |
||||
* @author Daf |
||||
* @since 2024-07-10 |
||||
*/ |
||||
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
||||
public class OperationTicketDTO extends OperationTicket { |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
} |
@ -0,0 +1,65 @@ |
||||
package org.energy.modules.smart.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import com.dayu.daf.core.mp.base.BaseEntity; |
||||
import java.io.Serializable; |
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
|
||||
/** |
||||
* 操作项目表实体类 |
||||
* |
||||
* @author Daf |
||||
* @since 2024-07-11 |
||||
*/ |
||||
@Data |
||||
@TableName("smt_operation_item") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
@ApiModel(value = "OperationItem对象", description = "操作项目表") |
||||
public class OperationItem extends BaseEntity { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 主键 |
||||
*/ |
||||
@JsonSerialize(using = ToStringSerializer.class) |
||||
@ApiModelProperty(value = "主键") |
||||
private Long id; |
||||
/** |
||||
* 操作票编号 |
||||
*/ |
||||
@ApiModelProperty(value = "操作票编号") |
||||
private String operationTicketNo; |
||||
/** |
||||
* 操作项目编号 |
||||
*/ |
||||
@ApiModelProperty(value = "操作项目编号") |
||||
private String operationItemNo; |
||||
/** |
||||
* 项目名称 |
||||
*/ |
||||
@ApiModelProperty(value = "项目名称") |
||||
private String itmeName; |
||||
/** |
||||
* 危害因素 |
||||
*/ |
||||
@ApiModelProperty(value = "危害因素") |
||||
private String securityMeasures; |
||||
/** |
||||
* 风险等级 |
||||
*/ |
||||
@ApiModelProperty(value = "风险等级") |
||||
private String riskLevel; |
||||
/** |
||||
* 其他 |
||||
*/ |
||||
@ApiModelProperty(value = "其他") |
||||
private String other; |
||||
|
||||
|
||||
} |
@ -0,0 +1,176 @@ |
||||
package org.energy.modules.smart.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import com.dayu.daf.core.mp.base.BaseEntity; |
||||
import java.io.Serializable; |
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
|
||||
/** |
||||
* 操作票一览实体类 |
||||
* |
||||
* @author Daf |
||||
* @since 2024-07-10 |
||||
*/ |
||||
@Data |
||||
@TableName("smt_operation_ticket") |
||||
@EqualsAndHashCode(callSuper = true) |
||||
@ApiModel(value = "OperationTicket对象", description = "操作票一览") |
||||
public class OperationTicket extends BaseEntity { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/** |
||||
* 主键 |
||||
*/ |
||||
@JsonSerialize(using = ToStringSerializer.class) |
||||
@ApiModelProperty(value = "主键") |
||||
private Long id; |
||||
/** |
||||
* KKS编码 |
||||
*/ |
||||
@ApiModelProperty(value = "KKS编码") |
||||
private String kksEncoding; |
||||
/** |
||||
* KSS描述 |
||||
*/ |
||||
@ApiModelProperty(value = "KSS描述") |
||||
private String kksDescription; |
||||
/** |
||||
* 场站 |
||||
*/ |
||||
@ApiModelProperty(value = "场站") |
||||
private Integer station; |
||||
/** |
||||
* 操作票编号 |
||||
*/ |
||||
@ApiModelProperty(value = "操作票编号") |
||||
private String operationTicketNo; |
||||
/** |
||||
* 操作票类型 |
||||
*/ |
||||
@ApiModelProperty(value = "操作票类型") |
||||
private String operationTicketType; |
||||
/** |
||||
* 工作班组 |
||||
*/ |
||||
@ApiModelProperty(value = "工作班组") |
||||
private String workTeam; |
||||
/** |
||||
* 工作负责人 |
||||
*/ |
||||
@ApiModelProperty(value = "工作负责人") |
||||
private String workLeader; |
||||
/** |
||||
* 监护人 |
||||
*/ |
||||
@ApiModelProperty(value = "监护人") |
||||
private String guardian; |
||||
/** |
||||
* 发令人 |
||||
*/ |
||||
@ApiModelProperty(value = "发令人") |
||||
private String givingOrdersUser; |
||||
/** |
||||
* 作业风险等级 |
||||
*/ |
||||
@ApiModelProperty(value = "作业风险等级") |
||||
private String jobRiskLevel; |
||||
/** |
||||
* 控制等级 |
||||
*/ |
||||
@ApiModelProperty(value = "控制等级") |
||||
private String controlLevel; |
||||
/** |
||||
* 计划开始时间 |
||||
*/ |
||||
@ApiModelProperty(value = "计划开始时间") |
||||
private String plannedStartTime; |
||||
/** |
||||
* 计划结束时间 |
||||
*/ |
||||
@ApiModelProperty(value = "计划结束时间") |
||||
private String plannedEndTime; |
||||
/** |
||||
* 工作签发时间 |
||||
*/ |
||||
@ApiModelProperty(value = "工作签发时间") |
||||
private String workIssuanceTime; |
||||
/** |
||||
* 人员资格 |
||||
*/ |
||||
@ApiModelProperty(value = "人员资格") |
||||
private String personnelQualification; |
||||
/** |
||||
* 人员状态 |
||||
*/ |
||||
@ApiModelProperty(value = "人员状态") |
||||
private String personnelState; |
||||
/** |
||||
* 人员防护 |
||||
*/ |
||||
@ApiModelProperty(value = "人员防护") |
||||
private String personnelPritection; |
||||
/** |
||||
* 安全距离 |
||||
*/ |
||||
@ApiModelProperty(value = "安全距离") |
||||
private String safeDistance; |
||||
/** |
||||
* 走错间隔 |
||||
*/ |
||||
@ApiModelProperty(value = "走错间隔") |
||||
private String wrongInterval; |
||||
/** |
||||
* 安全措施落实 |
||||
*/ |
||||
@ApiModelProperty(value = "安全措施落实") |
||||
private String securityMeasuresImplement; |
||||
/** |
||||
* 开展过程检查 |
||||
*/ |
||||
@ApiModelProperty(value = "开展过程检查") |
||||
private String conductProcessInspections; |
||||
/** |
||||
* 安全培训落实 |
||||
*/ |
||||
@ApiModelProperty(value = "安全培训落实") |
||||
private String securityTrainingImplement; |
||||
/** |
||||
* 其他 |
||||
*/ |
||||
@ApiModelProperty(value = "其他") |
||||
private String other; |
||||
/** |
||||
* 安全技术措施交底 |
||||
*/ |
||||
@ApiModelProperty(value = "安全技术措施交底") |
||||
private String securityMeasuresDisclosure; |
||||
/** |
||||
* 作业后风险管控情况评价 |
||||
*/ |
||||
@ApiModelProperty(value = "作业后风险管控情况评价") |
||||
private String riskControlEvaluation; |
||||
/** |
||||
* 状态 |
||||
*/ |
||||
@ApiModelProperty(value = "状态") |
||||
private String sts; |
||||
/** |
||||
* 是否合格 |
||||
*/ |
||||
@ApiModelProperty(value = "是否合格") |
||||
private Integer isQuakified; |
||||
/** |
||||
* 审核状态 |
||||
*/ |
||||
@ApiModelProperty(value = "审核状态") |
||||
private String reviewStatus; |
||||
|
||||
|
||||
} |
@ -0,0 +1,26 @@ |
||||
package org.energy.modules.smart.mapper; |
||||
|
||||
import org.energy.modules.smart.entity.OperationItem; |
||||
import org.energy.modules.smart.vo.OperationItemVO; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* 操作项目表 Mapper 接口 |
||||
* |
||||
* @author Daf |
||||
* @since 2024-07-11 |
||||
*/ |
||||
public interface OperationItemMapper extends BaseMapper<OperationItem> { |
||||
|
||||
/** |
||||
* 自定义分页 |
||||
* |
||||
* @param page |
||||
* @param operationItem |
||||
* @return |
||||
*/ |
||||
List<OperationItemVO> selectOperationItemPage(IPage page, OperationItemVO operationItem); |
||||
|
||||
} |
@ -0,0 +1,27 @@ |
||||
<?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="org.energy.modules.smart.mapper.OperationItemMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="operationItemResultMap" type="org.energy.modules.smart.entity.OperationItem"> |
||||
<id column="id" property="id"/> |
||||
<result column="status" property="status"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="create_user" property="createUser"/> |
||||
<result column="update_time" property="updateTime"/> |
||||
<result column="update_user" property="updateUser"/> |
||||
<result column="is_deleted" property="isDeleted"/> |
||||
<result column="operation_ticket_no" property="operationTicketNo"/> |
||||
<result column="operation_item_no" property="operationItemNo"/> |
||||
<result column="itme_name" property="itmeName"/> |
||||
<result column="security_measures" property="securityMeasures"/> |
||||
<result column="risk_level" property="riskLevel"/> |
||||
<result column="other" property="other"/> |
||||
</resultMap> |
||||
|
||||
|
||||
<select id="selectOperationItemPage" resultMap="operationItemResultMap"> |
||||
select * from smt_operation_item where is_deleted = 0 |
||||
</select> |
||||
|
||||
</mapper> |
@ -0,0 +1,26 @@ |
||||
package org.energy.modules.smart.mapper; |
||||
|
||||
import org.energy.modules.smart.entity.OperationTicket; |
||||
import org.energy.modules.smart.vo.OperationTicketVO; |
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
import java.util.List; |
||||
|
||||
/** |
||||
* 操作票一览 Mapper 接口 |
||||
* |
||||
* @author Daf |
||||
* @since 2024-07-10 |
||||
*/ |
||||
public interface OperationTicketMapper extends BaseMapper<OperationTicket> { |
||||
|
||||
/** |
||||
* 自定义分页 |
||||
* |
||||
* @param page |
||||
* @param operationTicket |
||||
* @return |
||||
*/ |
||||
List<OperationTicketVO> selectOperationTicketPage(IPage page, OperationTicketVO operationTicket); |
||||
|
||||
} |
@ -0,0 +1,100 @@ |
||||
<?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="org.energy.modules.smart.mapper.OperationTicketMapper"> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="operationTicketResultMap" type="org.energy.modules.smart.entity.OperationTicket"> |
||||
<id column="id" property="id"/> |
||||
<result column="status" property="status"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="create_user" property="createUser"/> |
||||
<result column="update_time" property="updateTime"/> |
||||
<result column="update_user" property="updateUser"/> |
||||
<result column="is_deleted" property="isDeleted"/> |
||||
<result column="kks_encoding" property="kksEncoding"/> |
||||
<result column="kks_description" property="kksDescription"/> |
||||
<result column="station" property="station"/> |
||||
<result column="operation_ticket_no" property="operationTicketNo"/> |
||||
<result column="operation_ticket_type" property="operationTicketType"/> |
||||
<result column="work_team" property="workTeam"/> |
||||
<result column="work_leader" property="workLeader"/> |
||||
<result column="guardian" property="guardian"/> |
||||
<result column="giving_orders_user" property="givingOrdersUser"/> |
||||
<result column="job_risk_level" property="jobRiskLevel"/> |
||||
<result column="control_level" property="controlLevel"/> |
||||
<result column="planned_start_time" property="plannedStartTime"/> |
||||
<result column="planned_end_time" property="plannedEndTime"/> |
||||
<result column="work_issuance_time" property="workIssuanceTime"/> |
||||
<result column="personnel_qualification" property="personnelQualification"/> |
||||
<result column="personnel_state" property="personnelState"/> |
||||
<result column="personnel_pritection" property="personnelPritection"/> |
||||
<result column="safe_distance" property="safeDistance"/> |
||||
<result column="wrong_interval" property="wrongInterval"/> |
||||
<result column="security_measures_implement" property="securityMeasuresImplement"/> |
||||
<result column="conduct_process_inspections" property="conductProcessInspections"/> |
||||
<result column="security_training_implement" property="securityTrainingImplement"/> |
||||
<result column="other" property="other"/> |
||||
<result column="security_measures_disclosure" property="securityMeasuresDisclosure"/> |
||||
<result column="risk_control_evaluation" property="riskControlEvaluation"/> |
||||
<result column="sts" property="sts"/> |
||||
<result column="is_quakified" property="isQuakified"/> |
||||
<result column="review_status" property="reviewStatus"/> |
||||
</resultMap> |
||||
|
||||
<!-- 通用查询映射结果 --> |
||||
<resultMap id="operationTicketVOResultMap" type="org.energy.modules.smart.vo.OperationTicketVO"> |
||||
<id column="id" property="id"/> |
||||
<result column="status" property="status"/> |
||||
<result column="create_time" property="createTime"/> |
||||
<result column="create_user" property="createUser"/> |
||||
<result column="update_time" property="updateTime"/> |
||||
<result column="update_user" property="updateUser"/> |
||||
<result column="is_deleted" property="isDeleted"/> |
||||
<result column="kks_encoding" property="kksEncoding"/> |
||||
<result column="kks_description" property="kksDescription"/> |
||||
<result column="station" property="station"/> |
||||
<result column="operation_ticket_no" property="operationTicketNo"/> |
||||
<result column="operation_ticket_type" property="operationTicketType"/> |
||||
<result column="work_team" property="workTeam"/> |
||||
<result column="work_leader" property="workLeader"/> |
||||
<result column="guardian" property="guardian"/> |
||||
<result column="giving_orders_user" property="givingOrdersUser"/> |
||||
<result column="job_risk_level" property="jobRiskLevel"/> |
||||
<result column="control_level" property="controlLevel"/> |
||||
<result column="planned_start_time" property="plannedStartTime"/> |
||||
<result column="planned_end_time" property="plannedEndTime"/> |
||||
<result column="work_issuance_time" property="workIssuanceTime"/> |
||||
<result column="personnel_qualification" property="personnelQualification"/> |
||||
<result column="personnel_state" property="personnelState"/> |
||||
<result column="personnel_pritection" property="personnelPritection"/> |
||||
<result column="safe_distance" property="safeDistance"/> |
||||
<result column="wrong_interval" property="wrongInterval"/> |
||||
<result column="security_measures_implement" property="securityMeasuresImplement"/> |
||||
<result column="conduct_process_inspections" property="conductProcessInspections"/> |
||||
<result column="security_training_implement" property="securityTrainingImplement"/> |
||||
<result column="other" property="other"/> |
||||
<result column="security_measures_disclosure" property="securityMeasuresDisclosure"/> |
||||
<result column="risk_control_evaluation" property="riskControlEvaluation"/> |
||||
<result column="sts" property="sts"/> |
||||
<result column="is_quakified" property="isQuakified"/> |
||||
<result column="review_status" property="reviewStatus"/> |
||||
<result column="operationItemsCount" property="operationItemsCount"/> |
||||
</resultMap> |
||||
|
||||
<select id="selectOperationTicketPage" resultMap="operationTicketVOResultMap"> |
||||
select |
||||
count(b.operation_ticket_no) AS operationItemsCount |
||||
, a.* |
||||
from |
||||
smt_operation_ticket a |
||||
left join smt_operation_item b |
||||
on a.operation_ticket_no = b.operation_ticket_no |
||||
and b.is_deleted = 0 |
||||
WHERE |
||||
a.is_deleted = 0 |
||||
group by |
||||
b.operation_ticket_no |
||||
, a.id |
||||
</select> |
||||
|
||||
</mapper> |
@ -0,0 +1,25 @@ |
||||
package org.energy.modules.smart.service; |
||||
|
||||
import org.energy.modules.smart.entity.OperationItem; |
||||
import org.energy.modules.smart.vo.OperationItemVO; |
||||
import com.dayu.daf.core.mp.base.BaseService; |
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
||||
/** |
||||
* 操作项目表 服务类 |
||||
* |
||||
* @author Daf |
||||
* @since 2024-07-11 |
||||
*/ |
||||
public interface IOperationItemService extends BaseService<OperationItem> { |
||||
|
||||
/** |
||||
* 自定义分页 |
||||
* |
||||
* @param page |
||||
* @param operationItem |
||||
* @return |
||||
*/ |
||||
IPage<OperationItemVO> selectOperationItemPage(IPage<OperationItemVO> page, OperationItemVO operationItem); |
||||
|
||||
} |
@ -0,0 +1,25 @@ |
||||
package org.energy.modules.smart.service; |
||||
|
||||
import org.energy.modules.smart.entity.OperationTicket; |
||||
import org.energy.modules.smart.vo.OperationTicketVO; |
||||
import com.dayu.daf.core.mp.base.BaseService; |
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
||||
/** |
||||
* 操作票一览 服务类 |
||||
* |
||||
* @author Daf |
||||
* @since 2024-07-10 |
||||
*/ |
||||
public interface IOperationTicketService extends BaseService<OperationTicket> { |
||||
|
||||
/** |
||||
* 自定义分页 |
||||
* |
||||
* @param page |
||||
* @param operationTicket |
||||
* @return |
||||
*/ |
||||
IPage<OperationTicketVO> selectOperationTicketPage(IPage<OperationTicketVO> page, OperationTicketVO operationTicket); |
||||
|
||||
} |
@ -0,0 +1,25 @@ |
||||
package org.energy.modules.smart.service.impl; |
||||
|
||||
import org.energy.modules.smart.entity.OperationItem; |
||||
import org.energy.modules.smart.vo.OperationItemVO; |
||||
import org.energy.modules.smart.mapper.OperationItemMapper; |
||||
import org.energy.modules.smart.service.IOperationItemService; |
||||
import com.dayu.daf.core.mp.base.BaseServiceImpl; |
||||
import org.springframework.stereotype.Service; |
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
||||
/** |
||||
* 操作项目表 服务实现类 |
||||
* |
||||
* @author Daf |
||||
* @since 2024-07-11 |
||||
*/ |
||||
@Service |
||||
public class OperationItemServiceImpl extends BaseServiceImpl<OperationItemMapper, OperationItem> implements IOperationItemService { |
||||
|
||||
@Override |
||||
public IPage<OperationItemVO> selectOperationItemPage(IPage<OperationItemVO> page, OperationItemVO operationItem) { |
||||
return page.setRecords(baseMapper.selectOperationItemPage(page, operationItem)); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,25 @@ |
||||
package org.energy.modules.smart.service.impl; |
||||
|
||||
import org.energy.modules.smart.entity.OperationTicket; |
||||
import org.energy.modules.smart.vo.OperationTicketVO; |
||||
import org.energy.modules.smart.mapper.OperationTicketMapper; |
||||
import org.energy.modules.smart.service.IOperationTicketService; |
||||
import com.dayu.daf.core.mp.base.BaseServiceImpl; |
||||
import org.springframework.stereotype.Service; |
||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
||||
/** |
||||
* 操作票一览 服务实现类 |
||||
* |
||||
* @author Daf |
||||
* @since 2024-07-10 |
||||
*/ |
||||
@Service |
||||
public class OperationTicketServiceImpl extends BaseServiceImpl<OperationTicketMapper, OperationTicket> implements IOperationTicketService { |
||||
|
||||
@Override |
||||
public IPage<OperationTicketVO> selectOperationTicketPage(IPage<OperationTicketVO> page, OperationTicketVO operationTicket) { |
||||
return page.setRecords(baseMapper.selectOperationTicketPage(page, operationTicket)); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,20 @@ |
||||
package org.energy.modules.smart.vo; |
||||
|
||||
import org.energy.modules.smart.entity.OperationItem; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import io.swagger.annotations.ApiModel; |
||||
|
||||
/** |
||||
* 操作项目表视图实体类 |
||||
* |
||||
* @author Daf |
||||
* @since 2024-07-11 |
||||
*/ |
||||
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
||||
@ApiModel(value = "OperationItemVO对象", description = "操作项目表") |
||||
public class OperationItemVO extends OperationItem { |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
} |
@ -0,0 +1,22 @@ |
||||
package org.energy.modules.smart.vo; |
||||
|
||||
import org.energy.modules.smart.entity.OperationTicket; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import io.swagger.annotations.ApiModel; |
||||
|
||||
/** |
||||
* 操作票一览视图实体类 |
||||
* |
||||
* @author Daf |
||||
* @since 2024-07-10 |
||||
*/ |
||||
@Data |
||||
@EqualsAndHashCode(callSuper = true) |
||||
@ApiModel(value = "OperationTicketVO对象", description = "操作票一览") |
||||
public class OperationTicketVO extends OperationTicket { |
||||
// private static final long serialVersionUID = 1L;
|
||||
|
||||
//操作项目数
|
||||
private int operationItemsCount; |
||||
} |
@ -0,0 +1,24 @@ |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1811234865114099714', 1123598815738675201, 'operationitem', '', 'menu', '/smart/operationitem', NULL, 1, 1, 0, 1, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1811234865114099715', '1811234865114099714', 'operationitem_add', '新增', 'add', '/smart/operationitem/add', 'plus', 1, 2, 1, 1, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1811234865114099716', '1811234865114099714', 'operationitem_edit', '修改', 'edit', '/smart/operationitem/edit', 'form', 2, 2, 2, 1, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1811234865114099717', '1811234865114099714', 'operationitem_delete', '删除', 'delete', '/api/smart/operationitem/remove', 'delete', 3, 2, 3, 1, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1811234865114099718', '1811234865114099714', 'operationitem_view', '查看', 'view', '/smart/operationitem/view', 'file-text', 4, 2, 2, 1, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1811234865114099719', '1811234865114099714', 'operationitem_col_id', '主键', 'prop', '', '', 5, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1811234865114099720', '1811234865114099714', 'operationitem_col_operationTicketNo', '操作票编号', 'prop', '', '', 6, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1811234865114099721', '1811234865114099714', 'operationitem_col_operationItemNo', '操作项目编号', 'prop', '', '', 7, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1811234865114099722', '1811234865114099714', 'operationitem_col_itmeName', '项目名称', 'prop', '', '', 8, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1811234865114099723', '1811234865114099714', 'operationitem_col_securityMeasures', '危害因素', 'prop', '', '', 9, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1811234865114099724', '1811234865114099714', 'operationitem_col_riskLevel', '风险等级', 'prop', '', '', 10, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1811234865114099725', '1811234865114099714', 'operationitem_col_other', '其他', 'prop', '', '', 11, 3, 0, 0, NULL, 0); |
@ -0,0 +1,68 @@ |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605377', 1123598815738675201, 'operationticket', '', 'menu', '/smart/operationticket', NULL, 1, 1, 0, 1, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605378', '1810945288805605377', 'operationticket_add', '新增', 'add', '/smart/operationticket/add', 'plus', 1, 2, 1, 1, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605379', '1810945288805605377', 'operationticket_edit', '修改', 'edit', '/smart/operationticket/edit', 'form', 2, 2, 2, 1, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605380', '1810945288805605377', 'operationticket_delete', '删除', 'delete', '/api/smart/operationticket/remove', 'delete', 3, 2, 3, 1, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605381', '1810945288805605377', 'operationticket_view', '查看', 'view', '/smart/operationticket/view', 'file-text', 4, 2, 2, 1, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605382', '1810945288805605377', 'operationticket_col_id', '主键', 'prop', '', '', 5, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605383', '1810945288805605377', 'operationticket_col_kksEncoding', 'KKS编码', 'prop', '', '', 6, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605384', '1810945288805605377', 'operationticket_col_kksDescription', 'KSS描述', 'prop', '', '', 7, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605385', '1810945288805605377', 'operationticket_col_station', '场站', 'prop', '', '', 8, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605386', '1810945288805605377', 'operationticket_col_operationTicketNo', '操作票编号', 'prop', '', '', 9, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605387', '1810945288805605377', 'operationticket_col_operationTicketType', '操作票类型', 'prop', '', '', 10, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605388', '1810945288805605377', 'operationticket_col_workTeam', '工作班组', 'prop', '', '', 11, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605389', '1810945288805605377', 'operationticket_col_workLeader', '工作负责人', 'prop', '', '', 12, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605390', '1810945288805605377', 'operationticket_col_guardian', '监护人', 'prop', '', '', 13, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605391', '1810945288805605377', 'operationticket_col_givingOrdersUser', '发令人', 'prop', '', '', 14, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605392', '1810945288805605377', 'operationticket_col_jobRiskLevel', '作业风险等级', 'prop', '', '', 15, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605393', '1810945288805605377', 'operationticket_col_controlLevel', '控制等级', 'prop', '', '', 16, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605394', '1810945288805605377', 'operationticket_col_plannedStartTime', '计划开始时间', 'prop', '', '', 17, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605395', '1810945288805605377', 'operationticket_col_plannedEndTime', '计划结束时间', 'prop', '', '', 18, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605396', '1810945288805605377', 'operationticket_col_workIssuanceTime', '工作签发时间', 'prop', '', '', 19, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605397', '1810945288805605377', 'operationticket_col_personnelQualification', '人员资格', 'prop', '', '', 20, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605398', '1810945288805605377', 'operationticket_col_personnelState', '人员状态', 'prop', '', '', 21, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605399', '1810945288805605377', 'operationticket_col_personnelPritection', '人员防护', 'prop', '', '', 22, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605400', '1810945288805605377', 'operationticket_col_safeDistance', '安全距离', 'prop', '', '', 23, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605401', '1810945288805605377', 'operationticket_col_wrongInterval', '走错间隔', 'prop', '', '', 24, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605402', '1810945288805605377', 'operationticket_col_securityMeasuresImplement', '安全措施落实', 'prop', '', '', 25, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605403', '1810945288805605377', 'operationticket_col_conductProcessInspections', '开展过程检查', 'prop', '', '', 26, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605404', '1810945288805605377', 'operationticket_col_securityTrainingImplement', '安全培训落实', 'prop', '', '', 27, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605405', '1810945288805605377', 'operationticket_col_other', '其他', 'prop', '', '', 28, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605406', '1810945288805605377', 'operationticket_col_securityMeasuresDisclosure', '安全技术措施交底', 'prop', '', '', 29, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605407', '1810945288805605377', 'operationticket_col_riskControlEvaluation', '作业后风险管控情况评价', 'prop', '', '', 30, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605408', '1810945288805605377', 'operationticket_col_sts', '系统状态', 'prop', '', '', 31, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605409', '1810945288805605377', 'operationticket_col_isQuakified', '是否合格', 'prop', '', '', 32, 3, 0, 0, NULL, 0); |
||||
INSERT INTO `sys_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) |
||||
VALUES ('1810945288805605410', '1810945288805605377', 'operationticket_col_reviewStatus', '审核状态', 'prop', '', '', 33, 3, 0, 0, NULL, 0); |
Loading…
Reference in new issue