Browse Source

新增accident_task属性

tags/v1.2.0^2
chengwang 1 year ago
parent
commit
38b6d51ed1
2 changed files with 5 additions and 1 deletions
  1. +4
    -1
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/entity/Inspection.java
  2. +1
    -0
      tuoheng-service/tuoheng-miniprogram/src/main/resources/mapper/InspectionMapper.xml

+ 4
- 1
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/entity/Inspection.java View File

@@ -270,6 +270,9 @@ public class Inspection extends BaseEntity {
*/
private String patrolLocation;


/**
* 任务类型:0:巡检任务 1应急任务
*/
private Integer accidentTask;

}

+ 1
- 0
tuoheng-service/tuoheng-miniprogram/src/main/resources/mapper/InspectionMapper.xml View File

@@ -53,6 +53,7 @@
<result property="endLatitude" column="end_latitude" />
<result property="mobile" column="mobile" />
<result property="patrolLocation" column="patrol_location" />
<result property="accidentTask" column="accident_task" />
<result property="createUser" column="create_user" />
<result property="createTime" column="create_time" />
<result property="updateUser" column="update_user" />

Loading…
Cancel
Save