任务表添加窑炉工艺号
This commit is contained in:
parent
dfb51b08fe
commit
16c9cb0212
@ -15,7 +15,7 @@ import java.time.LocalDateTime;
|
||||
* </p>
|
||||
*
|
||||
* @author mt
|
||||
* @since 2021-11-25
|
||||
* @since 2021-12-08
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ -174,6 +174,12 @@ public class CurrTask extends Model<CurrTask> {
|
||||
@TableField("location_name")
|
||||
private String locationName;
|
||||
|
||||
/**
|
||||
* 窑炉工艺号
|
||||
*/
|
||||
@TableField("craft_code")
|
||||
private String craftCode;
|
||||
|
||||
|
||||
public static final String ID = "id";
|
||||
|
||||
@ -225,6 +231,8 @@ public class CurrTask extends Model<CurrTask> {
|
||||
|
||||
public static final String LOCATION_NAME = "location_name";
|
||||
|
||||
public static final String CRAFT_CODE = "craft_code";
|
||||
|
||||
@Override
|
||||
protected Serializable pkVal() {
|
||||
return this.id;
|
||||
|
@ -15,7 +15,7 @@ import java.time.LocalDateTime;
|
||||
* </p>
|
||||
*
|
||||
* @author mt
|
||||
* @since 2021-11-25
|
||||
* @since 2021-12-08
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ -174,6 +174,12 @@ public class TaskHis extends Model<TaskHis> {
|
||||
@TableField("location_name")
|
||||
private String locationName;
|
||||
|
||||
/**
|
||||
* 窑炉工艺号
|
||||
*/
|
||||
@TableField("craft_code")
|
||||
private String craftCode;
|
||||
|
||||
|
||||
public static final String ID = "id";
|
||||
|
||||
@ -225,6 +231,8 @@ public class TaskHis extends Model<TaskHis> {
|
||||
|
||||
public static final String LOCATION_NAME = "location_name";
|
||||
|
||||
public static final String CRAFT_CODE = "craft_code";
|
||||
|
||||
@Override
|
||||
protected Serializable pkVal() {
|
||||
return this.id;
|
||||
|
@ -29,13 +29,14 @@
|
||||
<result column="is_cache" property="isCache" />
|
||||
<result column="location_id" property="locationId" />
|
||||
<result column="location_name" property="locationName" />
|
||||
<result column="craft_code" property="craftCode"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 通用查询结果列 -->
|
||||
<sql id="Base_Column_List">
|
||||
id, valid, create_time, creator_id, updater_id, update_time, version, status, inter_code, task_code, sheet_no,
|
||||
task_source, task_type, process_type, pallet_code, a_begin_time, a_end_time, start_position, target_position,
|
||||
kiln_id, kiln_name, vehicle_id, is_cache, location_id, location_name
|
||||
kiln_id, kiln_name, vehicle_id, is_cache, location_id, location_name, craft_code
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
|
@ -29,13 +29,14 @@
|
||||
<result column="is_cache" property="isCache" />
|
||||
<result column="location_id" property="locationId" />
|
||||
<result column="location_name" property="locationName" />
|
||||
<result column="craft_code" property="craftCode"/>
|
||||
</resultMap>
|
||||
|
||||
<!-- 通用查询结果列 -->
|
||||
<sql id="Base_Column_List">
|
||||
id, valid, create_time, creator_id, updater_id, update_time, version, status, inter_code, task_code, sheet_no,
|
||||
task_source, task_type, process_type, pallet_code, a_begin_time, a_end_time, start_position, target_position,
|
||||
kiln_id, kiln_name, vehicle_id, is_cache, location_id, location_name
|
||||
kiln_id, kiln_name, vehicle_id, is_cache, location_id, location_name, craft_code
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
|
Loading…
Reference in New Issue
Block a user