为订单信息添加来源,重新生成基础代码

This commit is contained in:
徐晨晨 2021-11-08 10:38:19 +08:00
parent 0ca9cf8e37
commit fc913ddc8d
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-08
*/
@Data
@EqualsAndHashCode(callSuper = false)
@ -70,6 +70,12 @@ public class OrderInfo extends Model<OrderInfo> {
@Version
private String version;
/**
* 来源1.APMS 2.人工输入
*/
@TableField("order_source")
private Integer orderSource;
/**
* 状态 0等待执行1执行中2执行完成3追加后完成追加后就按完成来算
*/
@ -193,6 +199,8 @@ public class OrderInfo extends Model<OrderInfo> {
public static final String VERSION = "version";
public static final String ORDER_SOURCE = "order_source";
public static final String STATUS = "status";
public static final String INTER_CODE = "inter_code";

View File

@ -9,7 +9,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* </p>
*
* @author mt
* @since 2021-09-29
* @since 2021-11-08
*/
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {

View File

@ -11,6 +11,7 @@
<result column="updater_id" property="updaterId" />
<result column="update_time" property="updateTime" />
<result column="version" property="version" />
<result column="order_source" property="orderSource" />
<result column="status" property="status" />
<result column="inter_code" property="interCode" />
<result column="code" property="code" />
@ -33,7 +34,7 @@
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
id, valid, create_time, creator_id, updater_id, update_time, version, status, inter_code, code, order_no, iden_card_num, customer_no, customer_name, product_name, product_model, material_des, craft_ill, unit, weight, quantity, add_a, add_b, orther_a, orther_b
id, valid, create_time, creator_id, updater_id, update_time, version, order_source, status, inter_code, code, order_no, iden_card_num, customer_no, customer_name, product_name, product_model, material_des, craft_ill, unit, weight, quantity, add_a, add_b, orther_a, orther_b
</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-08
*/
public interface OrderInfoServiceBiz extends IService<OrderInfo> {

View File

@ -12,7 +12,7 @@ import org.springframework.stereotype.Service;
* </p>
*
* @author mt
* @since 2021-09-29
* @since 2021-11-08
*/
@Service
public class OrderInfoServiceBizImpl extends ServiceImpl<OrderInfoMapper, OrderInfo> implements OrderInfoServiceBiz {