新增产品属性

dev_20240306
anthonywj 1 year ago
parent 584bbcaed6
commit be5ce3104b

@ -103,6 +103,11 @@ public class UdiRelevanceEntity {
*/
@TableField(value = "purType")
private Integer purType;
/**
* 0:1)23.
*/
@TableField(value = "attributeType")
private Integer attributeType;
/**
* 使
*/

@ -54,7 +54,10 @@ public class CompanyProductRelevanceRequest extends ListPageRequest {
* 1:23
*/
private Integer purType;
/**
* 0:1)23.
*/
private Integer attributeType;
private String corpId;
private String billType;
private String manufactory;

@ -50,6 +50,10 @@ public class FilterUdiInfoRequest extends ListPageRequest {
* 1:23
*/
private Integer purType;
/**
* 0:1)23.
*/
private Integer attributeType;
private String corpId;
private String billType;

@ -55,6 +55,10 @@ public class FilterUdiRelRequest extends ListPageRequest {
* 1:23
*/
private Integer purType;
/**
* 0:1)23.
*/
private Integer attributeType;
private String corpId;
private String billType;

@ -34,6 +34,10 @@ public class UdiRelevanceRequest {
* 1:23
*/
private Integer purType;
/**
* 0:1)23.
*/
private Integer attributeType;
private String supName;
private String originUuid;
private String price;

@ -26,6 +26,11 @@ public class UdiRelevanceSaveRequest {
* 1:23
*/
private Integer purType;
/**
* 0:1)23.
*/
private Integer attributeType;
private Boolean useMuti;
private Integer useNum;
private String supName;

@ -6,7 +6,7 @@ import lombok.Data;
public class CompanyProductRelevanceResponse {
private Long id;
private Long rlId;
private Long rlId;
private String thirdId;
private String thirdName;
private String uuid;
@ -62,7 +62,10 @@ public class CompanyProductRelevanceResponse {
* 1:23
*/
private Integer purType;
/**
* 0:1)23.
*/
private Integer attributeType;
private String scbssfbhph;
private String scbssfbhxlh;
private String scbssfbhscrq;

@ -27,6 +27,10 @@ public class UdiRelevanceResponse {
* 1:23
*/
private Integer purType;
/**
* 0:1)23.
*/
private Integer attributeType;
private Boolean useMuti;
private Integer useNum;
private String supName;

@ -64,6 +64,10 @@ public class UdiInfoResponse {
* 1:23
*/
private Integer purType;
/**
* 0:1)23.
*/
private Integer attributeType;
private boolean isDisable;
private boolean useMuti;

@ -100,6 +100,7 @@
basic_udirel.mainId,
basic_udirel.isAdavence,
basic_udirel.purType,
basic_udirel.attributeType,
basic_products.scbssfbhph,
basic_products.scbssfbhxlh,
basic_products.scbssfbhscrq,

@ -1228,7 +1228,7 @@
INTO basic_udirel
(id, uuid, mainId, thirdId, thirdId1, thirdId2, thirdId3, thirdId4, udplatCode, isUseDy, isDisable,
isLock,
lockStatus, isAdavence,purType, useMuti, useNum, supName, createTime, updateTime, modifyTime, createUser,
lockStatus, isAdavence,purType,attributeType, useMuti, useNum, supName, createTime, updateTime, modifyTime, createUser,
updateUser,
remark, useExpireTime, dispatch, groupBuy, needCert)
values (#{id},
@ -1244,7 +1244,7 @@
#{isDisable},
#{isLock},
#{lockStatus},
#{isAdavence},#{purType},
#{isAdavence},#{purType},#{attributeType},
#{useMuti},
#{useNum},
#{supName},
@ -1263,7 +1263,7 @@
INTO basic_udirel
(id, uuid, mainId, thirdId, thirdId1, thirdId2, thirdId3, thirdId4, udplatCode, isUseDy, isDisable,
isLock,
lockStatus, isAdavence,purType, useMuti, useNum, supName, createTime, updateTime, modifyTime, createUser,
lockStatus, isAdavence,purType,attributeType, useMuti, useNum, supName, createTime, updateTime, modifyTime, createUser,
updateUser,
remark, useExpireTime, dispatch, groupBuy, needCert)
values (#{id},
@ -1279,7 +1279,7 @@
#{isDisable},
#{isLock},
#{lockStatus},
#{isAdavence},#{purType},
#{isAdavence},#{purType},#{attributeType},
#{useMuti},
#{useNum},
#{supName},
@ -1356,6 +1356,9 @@
<if test="purType != null">
purType=#{purType},
</if>
<if test="attributeType != null">
attributeType=#{attributeType},
</if>
<if test="useMuti != null">
useMuti=#{useMuti},
</if>
@ -1435,7 +1438,7 @@
into basic_udirel
(id, uuid, mainId, thirdId, thirdId1, thirdId2, thirdId3, thirdId4, udplatCode, isUseDy, isDisable,
isLock,
lockStatus, isAdavence,purType, useMuti, useNum, supName, createTime, updateTime, modifyTime, createUser,
lockStatus, isAdavence,purType,attributeType, useMuti, useNum, supName, createTime, updateTime, modifyTime, createUser,
updateUser,
remark, useExpireTime, dispatch, groupBuy, needCert)
values
@ -1454,7 +1457,7 @@
#{item.isDisable},
#{item.isLock},
#{item.lockStatus},
#{item.isAdavence},#{item.purType},
#{item.isAdavence},#{item.purType},#{item.attributeType},
#{item.useMuti},
#{item.useNum},
#{item.supName},

@ -47,6 +47,7 @@
basic_udirel.mainId,
basic_udirel.isAdavence,
basic_udirel.purType,
basic_udirel.attributeType,
basic_udirel.lowStockNum,
basic_udirel.overStockNum,
basic_udirel.recentDateTime,

@ -504,6 +504,7 @@ SET FOREIGN_KEY_CHECKS = 1;
CALL Pro_Temp_ColumnWork('thr_corp', 'kfdm', 'varchar(255)', 1);
CALL Pro_Temp_ColumnWork('basic_udirel', 'purType', 'tinyint', 1);
CALL Pro_Temp_ColumnWork('basic_udirel', 'attributeType', 'tinyint', 1);
INSERT ignore INTO basic_product_set(`id`, `parmName`, `parmKey`, `enable`, `supSelect`, `supAdd`, `localAdd`, `remark`,

Loading…
Cancel
Save