任务表添加任务类型

This commit is contained in:
徐晨晨 2021-11-09 10:57:52 +08:00
parent 42789b0d58
commit 7f67da210d
2 changed files with 10 additions and 1 deletions

View File

@ -88,6 +88,12 @@ public class CurrTask extends Model<CurrTask> {
@TableField("task_code")
private String taskCode;
/**
* 任务类型0:入库到窑炉1:入库到缓存区2出库到 窑炉到缓存区3缓存区出库
*/
@TableField("task_type")
private Integer taskType;
/**
* 托盘编码
*/
@ -169,6 +175,8 @@ public class CurrTask extends Model<CurrTask> {
public static final String TASK_CODE = "task_code";
public static final String TASK_TYPE = "task_type";
public static final String PALLET_CODE = "pallet_code";
public static final String A_BEGIN_TIME = "a_begin_time";

View File

@ -14,6 +14,7 @@
<result column="status" property="status" />
<result column="inter_code" property="interCode" />
<result column="task_code" property="taskCode" />
<result column="task_type" property="taskType" />
<result column="pallet_code" property="palletCode" />
<result column="a_begin_time" property="aBeginTime" />
<result column="a_end_time" property="aEndTime" />
@ -28,7 +29,7 @@
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
id, valid, create_time, creator_id, updater_id, update_time, version, status, inter_code, task_code, pallet_code, a_begin_time, a_end_time, start_position, target_position, kiln_id, vehicle_id, is_cache, location_id, location_name
id, valid, create_time, creator_id, updater_id, update_time, version, status, inter_code, task_code, task_type, pallet_code, a_begin_time, a_end_time, start_position, target_position, kiln_id, vehicle_id, is_cache, location_id, location_name
</sql>
</mapper>