新增产品属性

dev_20240306
anthonywj 1 year ago
parent 584bbcaed6
commit be5ce3104b

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

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

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

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

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

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

@ -62,7 +62,10 @@ public class CompanyProductRelevanceResponse {
* 1:23 * 1:23
*/ */
private Integer purType; private Integer purType;
/**
* 0:1)23.
*/
private Integer attributeType;
private String scbssfbhph; private String scbssfbhph;
private String scbssfbhxlh; private String scbssfbhxlh;
private String scbssfbhscrq; private String scbssfbhscrq;

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

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

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

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

@ -47,6 +47,7 @@
basic_udirel.mainId, basic_udirel.mainId,
basic_udirel.isAdavence, basic_udirel.isAdavence,
basic_udirel.purType, basic_udirel.purType,
basic_udirel.attributeType,
basic_udirel.lowStockNum, basic_udirel.lowStockNum,
basic_udirel.overStockNum, basic_udirel.overStockNum,
basic_udirel.recentDateTime, 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('thr_corp', 'kfdm', 'varchar(255)', 1);
CALL Pro_Temp_ColumnWork('basic_udirel', 'purType', 'tinyint', 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`, INSERT ignore INTO basic_product_set(`id`, `parmName`, `parmKey`, `enable`, `supSelect`, `supAdd`, `localAdd`, `remark`,

Loading…
Cancel
Save