为任务表添加窑炉id,重新生成基础代码

This commit is contained in:
徐晨晨 2021-11-09 09:08:34 +08:00
parent fc913ddc8d
commit d023edd7b8
5 changed files with 14 additions and 5 deletions

View File

@ -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";

View File

@ -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> {

View File

@ -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>

View File

@ -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> {

View File

@ -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 {