为订单信息添加来源,重新生成基础代码
This commit is contained in:
parent
0ca9cf8e37
commit
fc913ddc8d
@ -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";
|
||||
|
@ -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> {
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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> {
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user