为任务表添加窑炉id,重新生成基础代码
This commit is contained in:
parent
fc913ddc8d
commit
d023edd7b8
@ -19,7 +19,7 @@ import lombok.experimental.Accessors;
|
||||
* </p>
|
||||
*
|
||||
* @author mt
|
||||
* @since 2021-09-29
|
||||
* @since 2021-11-09
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@ -118,6 +118,12 @@ public class CurrTask extends Model<CurrTask> {
|
||||
@TableField("target_position")
|
||||
private String targetPosition;
|
||||
|
||||
/**
|
||||
* 目标窑炉id
|
||||
*/
|
||||
@TableField("kiln_id")
|
||||
private Long kilnId;
|
||||
|
||||
/**
|
||||
* 车辆id,关联车辆表:t_vehicle_info
|
||||
*/
|
||||
@ -173,6 +179,8 @@ public class CurrTask extends Model<CurrTask> {
|
||||
|
||||
public static final String TARGET_POSITION = "target_position";
|
||||
|
||||
public static final String KILN_ID = "kiln_id";
|
||||
|
||||
public static final String VEHICLE_ID = "vehicle_id";
|
||||
|
||||
public static final String IS_CACHE = "is_cache";
|
||||
|
@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
* </p>
|
||||
*
|
||||
* @author mt
|
||||
* @since 2021-09-29
|
||||
* @since 2021-11-09
|
||||
*/
|
||||
public interface CurrTaskMapper extends BaseMapper<CurrTask> {
|
||||
|
||||
|
@ -19,6 +19,7 @@
|
||||
<result column="a_end_time" property="aEndTime" />
|
||||
<result column="start_position" property="startPosition" />
|
||||
<result column="target_position" property="targetPosition" />
|
||||
<result column="kiln_id" property="kilnId" />
|
||||
<result column="vehicle_id" property="vehicleId" />
|
||||
<result column="is_cache" property="isCache" />
|
||||
<result column="location_id" property="locationId" />
|
||||
@ -27,7 +28,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, vehicle_id, is_cache, location_id, location_name
|
||||
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
|
||||
</sql>
|
||||
|
||||
</mapper>
|
||||
|
@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
||||
* </p>
|
||||
*
|
||||
* @author mt
|
||||
* @since 2021-09-29
|
||||
* @since 2021-11-09
|
||||
*/
|
||||
public interface CurrTaskServiceBiz extends IService<CurrTask> {
|
||||
|
||||
|
@ -12,7 +12,7 @@ import org.springframework.stereotype.Service;
|
||||
* </p>
|
||||
*
|
||||
* @author mt
|
||||
* @since 2021-09-29
|
||||
* @since 2021-11-09
|
||||
*/
|
||||
@Service
|
||||
public class CurrTaskServiceBizImpl extends ServiceImpl<CurrTaskMapper, CurrTask> implements CurrTaskServiceBiz {
|
||||
|
Loading…
Reference in New Issue
Block a user