|
|
|
@ -37,7 +37,7 @@
|
|
|
|
|
basic_udirel.ybbm,basic_udirel.sptm,basic_udirel.isDisable,
|
|
|
|
|
basic_udirel.thirdName1,basic_udirel.thirdName2,basic_udirel.thirdName3,basic_udirel.thirdName4,
|
|
|
|
|
basic_udirel.manufactory,basic_udirel.measname,basic_udirel.udplatCode,
|
|
|
|
|
basic_products.nameCode,basic_products.packRatio,basic_products.packLevel,
|
|
|
|
|
basic_products.nameCode,basic_products.packRatio,basic_products.packLevel,basic_products.packUnit,
|
|
|
|
|
basic_products.bhxjsl,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,
|
|
|
|
@ -122,11 +122,10 @@
|
|
|
|
|
FROM basic_products
|
|
|
|
|
WHERE (nameCode = #{nameCode}) limit 1
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<insert id="insertUdiInfo" keyProperty="id" parameterType="com.glxp.api.entity.basic.UdiProductEntity">
|
|
|
|
|
replace
|
|
|
|
|
INTO basic_products
|
|
|
|
|
(uuid,originUuid,nameCode,deviceRecordKey,packRatio,packLevel,bhxjsl,bhzxxsbzsl,zxxsbzbhsydysl,bhxjcpbm,bzcj,cpmctymc,cplb,flbm,ggxh,qxlb,tyshxydm,
|
|
|
|
|
(uuid,originUuid,nameCode,deviceRecordKey,packRatio,packLevel,packUnit,bhxjsl,bhzxxsbzsl,zxxsbzbhsydysl,bhxjcpbm,bzcj,cpmctymc,cplb,flbm,ggxh,qxlb,tyshxydm,
|
|
|
|
|
ylqxzcrbarmc,zczbhhzbapzbh,ylqxzcrbarywmc,sydycpbs,sjcpbm,versionNumber,diType,ybbm,sptm,manufactory,measname,productType,scbssfbhph,scbssfbhxlh,scbssfbhscrq,scbssfbhsxrq,cpms,allowNoBatch,allowNoExpire,
|
|
|
|
|
allowNoProduct,spmc,cplx,hchzsb,cpdls,price,basicPrductRemak1,basicPrductRemak2,basicPrductRemak3,basicPrductRemak4,basicPrductRemak5,basicPrductRemak6,basicPrductRemak7,basicPrductRemak8)
|
|
|
|
|
values
|
|
|
|
@ -137,6 +136,7 @@
|
|
|
|
|
#{deviceRecordKey},
|
|
|
|
|
#{packRatio},
|
|
|
|
|
#{packLevel},
|
|
|
|
|
#{packUnit},
|
|
|
|
|
#{bhxjsl},
|
|
|
|
|
#{bhzxxsbzsl },
|
|
|
|
|
#{zxxsbzbhsydysl},
|
|
|
|
@ -186,7 +186,7 @@
|
|
|
|
|
|
|
|
|
|
<insert id="insertUdiInfos" keyProperty="id" parameterType="java.util.List">
|
|
|
|
|
replace INTO basic_products
|
|
|
|
|
(uuid,originUuid,nameCode,deviceRecordKey,packRatio,packLevel,bhxjsl,bhzxxsbzsl,zxxsbzbhsydysl,bhxjcpbm,bzcj,cpmctymc,cplb,flbm,ggxh,qxlb,tyshxydm,
|
|
|
|
|
(uuid,originUuid,nameCode,deviceRecordKey,packRatio,packLevel,packUnit,bhxjsl,bhzxxsbzsl,zxxsbzbhsydysl,bhxjcpbm,bzcj,cpmctymc,cplb,flbm,ggxh,qxlb,tyshxydm,
|
|
|
|
|
ylqxzcrbarmc,zczbhhzbapzbh,ylqxzcrbarywmc,sydycpbs,sjcpbm,versionNumber,diType,ybbm,sptm,manufactory,measname,productType,scbssfbhph,scbssfbhxlh,scbssfbhscrq,scbssfbhsxrq,cpms,allowNoBatch,allowNoExpire,
|
|
|
|
|
allowNoProduct,spmc,cplx,hchzsb,cpdls,price,basicPrductRemak1,basicPrductRemak2,basicPrductRemak3,basicPrductRemak4,basicPrductRemak5,basicPrductRemak6,basicPrductRemak7,basicPrductRemak8)
|
|
|
|
|
values
|
|
|
|
@ -200,6 +200,7 @@
|
|
|
|
|
#{item.deviceRecordKey},
|
|
|
|
|
#{item.packRatio},
|
|
|
|
|
#{item.packLevel},
|
|
|
|
|
#{item.packUnit},
|
|
|
|
|
#{item.bhxjsl},
|
|
|
|
|
#{item.bhzxxsbzsl},
|
|
|
|
|
#{item.zxxsbzbhsydysl},
|
|
|
|
@ -268,6 +269,7 @@
|
|
|
|
|
<if test="deviceRecordKey != null">deviceRecordKey=#{deviceRecordKey},</if>
|
|
|
|
|
<if test="packRatio != null">packRatio=#{packRatio},</if>
|
|
|
|
|
<if test="packLevel != null">packLevel=#{packLevel},</if>
|
|
|
|
|
<if test="packUnit != null">packUnit=#{packUnit},</if>
|
|
|
|
|
<if test="bhxjsl != null">bhxjsl=#{bhxjsl},</if>
|
|
|
|
|
<if test="bhzxxsbzsl != null">bhzxxsbzsl=#{bhzxxsbzsl},</if>
|
|
|
|
|
<if test="zxxsbzbhsydysl != null">zxxsbzbhsydysl=#{zxxsbzbhsydysl},</if>
|
|
|
|
@ -324,6 +326,7 @@
|
|
|
|
|
<if test="deviceRecordKey != null">deviceRecordKey=#{deviceRecordKey},</if>
|
|
|
|
|
<if test="packRatio != null">packRatio=#{packRatio},</if>
|
|
|
|
|
<if test="packLevel != null">packLevel=#{packLevel},</if>
|
|
|
|
|
<if test="packUnit != null">packUnit=#{packUnit},</if>
|
|
|
|
|
<if test="bhxjsl != null">bhxjsl=#{bhxjsl},</if>
|
|
|
|
|
<if test="bhzxxsbzsl != null">bhzxxsbzsl=#{bhzxxsbzsl},</if>
|
|
|
|
|
<if test="zxxsbzbhsydysl != null">zxxsbzbhsydysl=#{zxxsbzbhsydysl},</if>
|
|
|
|
|