|
|
|
@ -191,6 +191,7 @@
|
|
|
|
|
basic_products.basicPrductRemak8
|
|
|
|
|
FROM basic_udirel
|
|
|
|
|
inner JOIN basic_products ON basic_products.uuid = basic_udirel.uuid
|
|
|
|
|
inner join company_product_relevance on basic_udirel.id = company_product_relevance.udiRlIdFk
|
|
|
|
|
<where>
|
|
|
|
|
<if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null">
|
|
|
|
|
AND ylqxzcrbarmc LIKE concat('%', #{ylqxzcrbarmc}, '%')
|
|
|
|
@ -475,7 +476,7 @@
|
|
|
|
|
AND basic_udirel.isDisable = true
|
|
|
|
|
</if>
|
|
|
|
|
<if test="attributeType != '' and attributeType != null">
|
|
|
|
|
AND basic_udirel.attributeType = #{attributeType}
|
|
|
|
|
AND basic_udirel.attributeType = #{attributeType}
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
<choose>
|
|
|
|
@ -1232,72 +1233,74 @@
|
|
|
|
|
|
|
|
|
|
<insert id="insertUdiRelevance" keyProperty="id" parameterType="com.glxp.api.entity.basic.UdiRelevanceEntity">
|
|
|
|
|
replace
|
|
|
|
|
INTO basic_udirel
|
|
|
|
|
(id, uuid, mainId, thirdId, thirdId1, thirdId2, thirdId3, thirdId4, udplatCode, isUseDy, isDisable,
|
|
|
|
|
isLock,
|
|
|
|
|
lockStatus, isAdavence,purType,attributeType,hcType, useMuti, useNum, supName, createTime, updateTime, modifyTime,
|
|
|
|
|
createUser,
|
|
|
|
|
updateUser,
|
|
|
|
|
remark, useExpireTime, dispatch, groupBuy, needCert)
|
|
|
|
|
INTO basic_udirel
|
|
|
|
|
(id, uuid, mainId, thirdId, thirdId1, thirdId2, thirdId3, thirdId4, udplatCode, isUseDy, isDisable,
|
|
|
|
|
isLock,
|
|
|
|
|
lockStatus, isAdavence, purType, attributeType, hcType, useMuti, useNum, supName, createTime,
|
|
|
|
|
updateTime, modifyTime,
|
|
|
|
|
createUser,
|
|
|
|
|
updateUser,
|
|
|
|
|
remark, useExpireTime, dispatch, groupBuy, needCert)
|
|
|
|
|
values (#{id},
|
|
|
|
|
#{uuid},
|
|
|
|
|
#{mainId},
|
|
|
|
|
#{thirdId},
|
|
|
|
|
#{thirdId1},
|
|
|
|
|
#{thirdId2},
|
|
|
|
|
#{thirdId3},
|
|
|
|
|
#{thirdId4},
|
|
|
|
|
#{udplatCode},
|
|
|
|
|
#{isUseDy},
|
|
|
|
|
#{isDisable},
|
|
|
|
|
#{isLock},
|
|
|
|
|
#{lockStatus},
|
|
|
|
|
#{isAdavence},#{purType},#{attributeType},#{hcType},
|
|
|
|
|
#{useMuti},
|
|
|
|
|
#{useNum},
|
|
|
|
|
#{supName},
|
|
|
|
|
#{createTime},
|
|
|
|
|
#{updateTime},
|
|
|
|
|
#{modifyTime},
|
|
|
|
|
#{createUser},
|
|
|
|
|
#{updateUser},
|
|
|
|
|
#{remark}, #{useExpireTime}, #{dispatch}, #{groupBuy}, #{needCert})
|
|
|
|
|
#{uuid},
|
|
|
|
|
#{mainId},
|
|
|
|
|
#{thirdId},
|
|
|
|
|
#{thirdId1},
|
|
|
|
|
#{thirdId2},
|
|
|
|
|
#{thirdId3},
|
|
|
|
|
#{thirdId4},
|
|
|
|
|
#{udplatCode},
|
|
|
|
|
#{isUseDy},
|
|
|
|
|
#{isDisable},
|
|
|
|
|
#{isLock},
|
|
|
|
|
#{lockStatus},
|
|
|
|
|
#{isAdavence}, #{purType}, #{attributeType}, #{hcType},
|
|
|
|
|
#{useMuti},
|
|
|
|
|
#{useNum},
|
|
|
|
|
#{supName},
|
|
|
|
|
#{createTime},
|
|
|
|
|
#{updateTime},
|
|
|
|
|
#{modifyTime},
|
|
|
|
|
#{createUser},
|
|
|
|
|
#{updateUser},
|
|
|
|
|
#{remark}, #{useExpireTime}, #{dispatch}, #{groupBuy}, #{needCert})
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
<insert id="insertUdiRelevanceignore"
|
|
|
|
|
parameterType="com.glxp.api.entity.basic.UdiRelevanceEntity">
|
|
|
|
|
insert
|
|
|
|
|
ignore
|
|
|
|
|
ignore
|
|
|
|
|
INTO basic_udirel
|
|
|
|
|
(id, uuid, mainId, thirdId, thirdId1, thirdId2, thirdId3, thirdId4, udplatCode, isUseDy, isDisable,
|
|
|
|
|
isLock,
|
|
|
|
|
lockStatus, isAdavence,purType,attributeType, hcType,useMuti, useNum, supName, createTime, updateTime, modifyTime,
|
|
|
|
|
createUser,
|
|
|
|
|
updateUser,
|
|
|
|
|
remark, useExpireTime, dispatch, groupBuy, needCert)
|
|
|
|
|
(id, uuid, mainId, thirdId, thirdId1, thirdId2, thirdId3, thirdId4, udplatCode, isUseDy, isDisable,
|
|
|
|
|
isLock,
|
|
|
|
|
lockStatus, isAdavence, purType, attributeType, hcType, useMuti, useNum, supName, createTime,
|
|
|
|
|
updateTime, modifyTime,
|
|
|
|
|
createUser,
|
|
|
|
|
updateUser,
|
|
|
|
|
remark, useExpireTime, dispatch, groupBuy, needCert)
|
|
|
|
|
values (#{id},
|
|
|
|
|
#{uuid},
|
|
|
|
|
#{mainId},
|
|
|
|
|
#{thirdId},
|
|
|
|
|
#{thirdId1},
|
|
|
|
|
#{thirdId2},
|
|
|
|
|
#{thirdId3},
|
|
|
|
|
#{thirdId4},
|
|
|
|
|
#{udplatCode},
|
|
|
|
|
#{isUseDy},
|
|
|
|
|
#{isDisable},
|
|
|
|
|
#{isLock},
|
|
|
|
|
#{lockStatus},
|
|
|
|
|
#{isAdavence},#{purType},#{attributeType},#{hcType},
|
|
|
|
|
#{useMuti},
|
|
|
|
|
#{useNum},
|
|
|
|
|
#{supName},
|
|
|
|
|
#{createTime},
|
|
|
|
|
#{updateTime},
|
|
|
|
|
#{modifyTime},
|
|
|
|
|
#{createUser},
|
|
|
|
|
#{updateUser},
|
|
|
|
|
#{remark}, #{useExpireTime}, #{dispatch}, #{groupBuy}, #{needCert})
|
|
|
|
|
#{uuid},
|
|
|
|
|
#{mainId},
|
|
|
|
|
#{thirdId},
|
|
|
|
|
#{thirdId1},
|
|
|
|
|
#{thirdId2},
|
|
|
|
|
#{thirdId3},
|
|
|
|
|
#{thirdId4},
|
|
|
|
|
#{udplatCode},
|
|
|
|
|
#{isUseDy},
|
|
|
|
|
#{isDisable},
|
|
|
|
|
#{isLock},
|
|
|
|
|
#{lockStatus},
|
|
|
|
|
#{isAdavence}, #{purType}, #{attributeType}, #{hcType},
|
|
|
|
|
#{useMuti},
|
|
|
|
|
#{useNum},
|
|
|
|
|
#{supName},
|
|
|
|
|
#{createTime},
|
|
|
|
|
#{updateTime},
|
|
|
|
|
#{modifyTime},
|
|
|
|
|
#{createUser},
|
|
|
|
|
#{updateUser},
|
|
|
|
|
#{remark}, #{useExpireTime}, #{dispatch}, #{groupBuy}, #{needCert})
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
<delete id="deleteById" parameterType="Map">
|
|
|
|
@ -1450,7 +1453,8 @@
|
|
|
|
|
into basic_udirel
|
|
|
|
|
(id, uuid, mainId, thirdId, thirdId1, thirdId2, thirdId3, thirdId4, udplatCode, isUseDy, isDisable,
|
|
|
|
|
isLock,
|
|
|
|
|
lockStatus, isAdavence,purType,attributeType,hcType, useMuti, useNum, supName, createTime, updateTime, modifyTime,
|
|
|
|
|
lockStatus, isAdavence,purType,attributeType,hcType, useMuti, useNum, supName, createTime, updateTime,
|
|
|
|
|
modifyTime,
|
|
|
|
|
createUser,
|
|
|
|
|
updateUser,
|
|
|
|
|
remark, useExpireTime, dispatch, groupBuy, needCert)
|
|
|
|
|