|
|
|
@ -128,7 +128,6 @@
|
|
|
|
|
<if test="originUuid != '' and originUuid != null">
|
|
|
|
|
AND originUuid = #{originUuid}
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
</where>
|
|
|
|
|
ORDER BY updateTime DESC
|
|
|
|
|
</select>
|
|
|
|
@ -166,7 +165,7 @@
|
|
|
|
|
<insert id="insertUdiInfo" keyProperty="id" parameterType="com.glxp.api.entity.basic.UdiProductEntity">
|
|
|
|
|
replace
|
|
|
|
|
INTO basic_products
|
|
|
|
|
(uuid, originUuid, nameCode, deviceRecordKey, packRatio, packLevel, packUnit, bhxjsl, bhzxxsbzsl,
|
|
|
|
|
(id, 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,
|
|
|
|
@ -174,7 +173,7 @@
|
|
|
|
|
allowNoProduct, allowNoSerial, spmc, cplx, hchzsb, cpdls, price, basicPrductRemak1, basicPrductRemak2,
|
|
|
|
|
basicPrductRemak3, basicPrductRemak4, basicPrductRemak5, basicPrductRemak6, basicPrductRemak7,
|
|
|
|
|
basicPrductRemak8)
|
|
|
|
|
values (#{uuid},
|
|
|
|
|
values (#{id}, #{uuid},
|
|
|
|
|
#{originUuid},
|
|
|
|
|
#{nameCode},
|
|
|
|
|
#{deviceRecordKey},
|
|
|
|
@ -229,7 +228,7 @@
|
|
|
|
|
|
|
|
|
|
<insert id="insertUdiInfos" keyProperty="id" parameterType="java.util.List">
|
|
|
|
|
replace INTO basic_products
|
|
|
|
|
(id,uuid, originUuid, nameCode, deviceRecordKey, packRatio, packLevel, packUnit, bhxjsl, bhzxxsbzsl,
|
|
|
|
|
(id, 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,
|
|
|
|
@ -957,6 +956,9 @@
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
<select id="selectAllowNoBatch" resultType="com.glxp.api.entity.basic.UdiProductEntity">
|
|
|
|
|
select id, allowNoBatch from basic_products where nameCode = #{nameCode} limit 1
|
|
|
|
|
select id, allowNoBatch
|
|
|
|
|
from basic_products
|
|
|
|
|
where nameCode = #{nameCode}
|
|
|
|
|
limit 1
|
|
|
|
|
</select>
|
|
|
|
|
</mapper>
|
|
|
|
|