|
|
|
@ -12,7 +12,7 @@
|
|
|
|
|
basic_udirel.thirdName1,basic_udirel.thirdName2,basic_udirel.thirdName3,basic_udirel.thirdName4,
|
|
|
|
|
basic_udirel.manufactory,basic_udirel.measname,basic_udirel.ybbm,basic_udirel.sptm,
|
|
|
|
|
basic_udirel.isDisable, basic_udirel.isLock,basic_udirel.lockStatus,basic_udirel.udplatCode,
|
|
|
|
|
basic_udirel.isAdavence,basic_udirel.mainId,basic_udirel.allowNoBatch,
|
|
|
|
|
basic_udirel.isAdavence,basic_udirel.mainId,basic_udirel.allowNoBatch,basic_udirel.price,
|
|
|
|
|
basic_products.nameCode,basic_products.packRatio,basic_products.packLevel,
|
|
|
|
|
basic_products.bhxjsl,basic_products.bhzxxsbzsl,basic_products.zxxsbzbhsydysl,
|
|
|
|
|
basic_products.bhxjcpbm,basic_products.bzcj,
|
|
|
|
@ -97,7 +97,7 @@
|
|
|
|
|
basic_udirel.thirdName1,basic_udirel.thirdName2,basic_udirel.thirdName3,basic_udirel.thirdName4,
|
|
|
|
|
basic_udirel.manufactory,basic_udirel.measname,basic_udirel.ybbm,basic_udirel.sptm,
|
|
|
|
|
basic_udirel.isDisable, basic_udirel.isLock,basic_udirel.lockStatus,basic_udirel.udplatCode,
|
|
|
|
|
basic_udirel.isAdavence,basic_udirel.mainId,basic_udirel.allowNoBatch,
|
|
|
|
|
basic_udirel.isAdavence,basic_udirel.mainId,basic_udirel.allowNoBatch,basic_udirel.price,
|
|
|
|
|
basic_products.nameCode,basic_products.packRatio,basic_products.packLevel,
|
|
|
|
|
basic_products.bhxjsl,basic_products.bhzxxsbzsl,basic_products.zxxsbzbhsydysl,
|
|
|
|
|
basic_products.bhxjcpbm,basic_products.bzcj,
|
|
|
|
@ -187,7 +187,7 @@
|
|
|
|
|
basic_udirel.ybbm,basic_udirel.sptm,basic_udirel.isDisable, basic_udirel.isLock,basic_udirel.lockStatus,
|
|
|
|
|
basic_udirel.thirdName1,basic_udirel.thirdName2,basic_udirel.thirdName3,basic_udirel.thirdName4,
|
|
|
|
|
basic_udirel.manufactory,basic_udirel.measname,basic_udirel.udplatCode,basic_udirel.allowNoBatch,
|
|
|
|
|
basic_products.nameCode,basic_products.packRatio,basic_products.packLevel,basic_products.bhxjsl,
|
|
|
|
|
basic_products.nameCode,basic_products.packRatio,basic_products.packLevel,basic_products.bhxjsl,basic_udirel.price,
|
|
|
|
|
basic_products.bhzxxsbzsl,basic_products.zxxsbzbhsydysl,basic_products.bhxjcpbm,basic_products.bzcj,
|
|
|
|
|
basic_products.addType,basic_products.deviceRecordKey,basic_products.cpmctymc,basic_products.cplb,
|
|
|
|
|
basic_products.flbm,basic_products.ggxh,basic_products.qxlb,basic_products.tyshxydm,basic_products.ylqxzcrbarmc,
|
|
|
|
@ -393,7 +393,7 @@
|
|
|
|
|
(id,
|
|
|
|
|
thirdId,thirdName,uuid,isUseDy,updateTime,
|
|
|
|
|
thirdId1,thirdId2,thirdId3,thirdId4,thirdName1,thirdName2,thirdName3,thirdName4,manufactory,measname,ybbm,sptm,isDisable,isLock
|
|
|
|
|
,mainId,mainName,lockStatus,udplatCode,isAdavence,supName,allowNoBatch
|
|
|
|
|
,mainId,mainName,lockStatus,udplatCode,isAdavence,supName,allowNoBatch,price
|
|
|
|
|
)
|
|
|
|
|
values
|
|
|
|
|
(
|
|
|
|
@ -422,7 +422,7 @@
|
|
|
|
|
#{lockStatus},
|
|
|
|
|
#{udplatCode},
|
|
|
|
|
#{isAdavence},
|
|
|
|
|
#{supName},#{allowNoBatch}
|
|
|
|
|
#{supName},#{allowNoBatch},#{price}
|
|
|
|
|
)
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
@ -434,7 +434,7 @@
|
|
|
|
|
(id,
|
|
|
|
|
thirdId,thirdName,uuid,isUseDy,updateTime,
|
|
|
|
|
thirdId1,thirdId2,thirdId3,thirdId4,thirdName1,thirdName2,thirdName3,thirdName4,manufactory,measname,ybbm,sptm,isDisable,isLock
|
|
|
|
|
,mainId,mainName,lockStatus,udplatCode,isAdavence,supName,allowNoBatch
|
|
|
|
|
,mainId,mainName,lockStatus,udplatCode,isAdavence,supName,allowNoBatch,price
|
|
|
|
|
)
|
|
|
|
|
values
|
|
|
|
|
(
|
|
|
|
@ -463,7 +463,7 @@
|
|
|
|
|
#{lockStatus},
|
|
|
|
|
#{udplatCode},
|
|
|
|
|
#{isAdavence},
|
|
|
|
|
#{supName},#{allowNoBatch}
|
|
|
|
|
#{supName},#{allowNoBatch},#{price}
|
|
|
|
|
)
|
|
|
|
|
</insert>
|
|
|
|
|
<delete id="deleteById" parameterType="Map">
|
|
|
|
@ -512,6 +512,7 @@
|
|
|
|
|
<if test="isAdavence != null">isAdavence=#{isAdavence},</if>
|
|
|
|
|
<if test="supName != null">supName=#{supName},</if>
|
|
|
|
|
<if test="allowNoBatch != null">allowNoBatch=#{allowNoBatch},</if>
|
|
|
|
|
<if test="price != null">price=#{price},</if>
|
|
|
|
|
|
|
|
|
|
</trim>
|
|
|
|
|
WHERE id = #{id}
|
|
|
|
@ -535,7 +536,7 @@
|
|
|
|
|
<insert id="importUdiRelevance" parameterType="java.util.List">
|
|
|
|
|
replace into basic_udirel (id, thirdId, thirdName, uuid, isUseDy, updateTime, thirdId1, thirdId2, thirdId3,
|
|
|
|
|
thirdId4, thirdName1, thirdName2, thirdName3, thirdName4, ybbm, sptm, manufactory,
|
|
|
|
|
measname, isDisable, mainId, mainName, udplatCode,supName,allowNoBatch)
|
|
|
|
|
measname, isDisable, mainId, mainName, udplatCode,supName,allowNoBatch,price)
|
|
|
|
|
values
|
|
|
|
|
<foreach collection="udiRelevanceEntities" item="item" index="index" separator=",">
|
|
|
|
|
(#{item.id},
|
|
|
|
@ -559,7 +560,7 @@
|
|
|
|
|
#{item.isDisable},
|
|
|
|
|
#{item.mainId},
|
|
|
|
|
#{item.mainName},
|
|
|
|
|
#{item.udplatCode},#{item.supName},#{item.allowNoBatch})
|
|
|
|
|
#{item.udplatCode},#{item.supName},#{item.allowNoBatch},#{item.price})
|
|
|
|
|
</foreach>
|
|
|
|
|
</insert>
|
|
|
|
|
</mapper>
|