|
|
|
@ -31,66 +31,66 @@
|
|
|
|
|
<select id="filterUdiInfo2" parameterType="com.glxp.api.req.basic.FilterUdiRelRequest"
|
|
|
|
|
resultType="com.glxp.api.res.basic.UdiRelevanceResponse">
|
|
|
|
|
SELECT basic_products.id,
|
|
|
|
|
basic_udirel.thirdId,
|
|
|
|
|
basic_udirel.thirdName,
|
|
|
|
|
basic_udirel.isUseDy,
|
|
|
|
|
basic_udirel.thirdId1,
|
|
|
|
|
basic_udirel.thirdId2,
|
|
|
|
|
basic_udirel.thirdId3,
|
|
|
|
|
basic_udirel.thirdId4,
|
|
|
|
|
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.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,
|
|
|
|
|
basic_products.tyshxydm,
|
|
|
|
|
basic_products.ylqxzcrbarmc,
|
|
|
|
|
basic_products.zczbhhzbapzbh,
|
|
|
|
|
basic_products.ylqxzcrbarywmc,
|
|
|
|
|
basic_products.sydycpbs,
|
|
|
|
|
basic_products.uuid,
|
|
|
|
|
basic_products.sjcpbm,
|
|
|
|
|
basic_products.versionNumber,
|
|
|
|
|
basic_products.diType,
|
|
|
|
|
basic_products.scbssfbhph,
|
|
|
|
|
basic_products.scbssfbhxlh,
|
|
|
|
|
basic_products.scbssfbhscrq,
|
|
|
|
|
basic_products.scbssfbhsxrq,
|
|
|
|
|
basic_products.cpms,
|
|
|
|
|
basic_products.originUuid,
|
|
|
|
|
basic_products.allowNoBatch,
|
|
|
|
|
basic_products.allowNoExpire,
|
|
|
|
|
basic_products.allowNoProduct,
|
|
|
|
|
basic_products.allowNoSerial,
|
|
|
|
|
basic_products.spmc,
|
|
|
|
|
basic_products.cplx,
|
|
|
|
|
basic_products.hchzsb
|
|
|
|
|
basic_udirel.thirdId,
|
|
|
|
|
basic_udirel.thirdName,
|
|
|
|
|
basic_udirel.isUseDy,
|
|
|
|
|
basic_udirel.thirdId1,
|
|
|
|
|
basic_udirel.thirdId2,
|
|
|
|
|
basic_udirel.thirdId3,
|
|
|
|
|
basic_udirel.thirdId4,
|
|
|
|
|
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.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,
|
|
|
|
|
basic_products.tyshxydm,
|
|
|
|
|
basic_products.ylqxzcrbarmc,
|
|
|
|
|
basic_products.zczbhhzbapzbh,
|
|
|
|
|
basic_products.ylqxzcrbarywmc,
|
|
|
|
|
basic_products.sydycpbs,
|
|
|
|
|
basic_products.uuid,
|
|
|
|
|
basic_products.sjcpbm,
|
|
|
|
|
basic_products.versionNumber,
|
|
|
|
|
basic_products.diType,
|
|
|
|
|
basic_products.scbssfbhph,
|
|
|
|
|
basic_products.scbssfbhxlh,
|
|
|
|
|
basic_products.scbssfbhscrq,
|
|
|
|
|
basic_products.scbssfbhsxrq,
|
|
|
|
|
basic_products.cpms,
|
|
|
|
|
basic_products.originUuid,
|
|
|
|
|
basic_products.allowNoBatch,
|
|
|
|
|
basic_products.allowNoExpire,
|
|
|
|
|
basic_products.allowNoProduct,
|
|
|
|
|
basic_products.allowNoSerial,
|
|
|
|
|
basic_products.spmc,
|
|
|
|
|
basic_products.cplx,
|
|
|
|
|
basic_products.hchzsb
|
|
|
|
|
FROM (company_product_relevance
|
|
|
|
|
inner JOIN basic_udirel
|
|
|
|
|
ON company_product_relevance.udiRlIdFk = basic_udirel.id)
|
|
|
|
|
inner JOIN basic_products
|
|
|
|
|
ON basic_udirel.uuid = basic_products.uuid
|
|
|
|
|
inner JOIN basic_udirel
|
|
|
|
|
ON company_product_relevance.udiRlIdFk = basic_udirel.id)
|
|
|
|
|
inner JOIN basic_products
|
|
|
|
|
ON basic_udirel.uuid = basic_products.uuid
|
|
|
|
|
<where>
|
|
|
|
|
<if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null">
|
|
|
|
|
AND ylqxzcrbarmc LIKE concat(#{ylqxzcrbarmc}, '%')
|
|
|
|
@ -128,7 +128,6 @@
|
|
|
|
|
<if test="originUuid != '' and originUuid != null">
|
|
|
|
|
AND originUuid = #{originUuid}
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
</where>
|
|
|
|
|
ORDER BY updateTime DESC
|
|
|
|
|
</select>
|
|
|
|
@ -165,134 +164,134 @@
|
|
|
|
|
</select>
|
|
|
|
|
<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,
|
|
|
|
|
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, allowNoSerial, spmc, cplx, hchzsb, cpdls, price, basicPrductRemak1, basicPrductRemak2,
|
|
|
|
|
basicPrductRemak3, basicPrductRemak4, basicPrductRemak5, basicPrductRemak6, basicPrductRemak7,
|
|
|
|
|
basicPrductRemak8)
|
|
|
|
|
values (#{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}, #{allowNoSerial},
|
|
|
|
|
#{spmc},
|
|
|
|
|
#{cplx},
|
|
|
|
|
#{hchzsb},
|
|
|
|
|
#{cpdls},
|
|
|
|
|
#{price},
|
|
|
|
|
#{basicPrductRemak1},
|
|
|
|
|
#{basicPrductRemak2},
|
|
|
|
|
#{basicPrductRemak3},
|
|
|
|
|
#{basicPrductRemak4},
|
|
|
|
|
#{basicPrductRemak5},
|
|
|
|
|
#{basicPrductRemak6},
|
|
|
|
|
#{basicPrductRemak7},
|
|
|
|
|
#{basicPrductRemak8})
|
|
|
|
|
INTO basic_products
|
|
|
|
|
(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,
|
|
|
|
|
allowNoBatch, allowNoExpire,
|
|
|
|
|
allowNoProduct, allowNoSerial, spmc, cplx, hchzsb, cpdls, price, basicPrductRemak1, basicPrductRemak2,
|
|
|
|
|
basicPrductRemak3, basicPrductRemak4, basicPrductRemak5, basicPrductRemak6, basicPrductRemak7,
|
|
|
|
|
basicPrductRemak8)
|
|
|
|
|
values (#{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},
|
|
|
|
|
#{allowNoBatch},
|
|
|
|
|
#{allowNoExpire},
|
|
|
|
|
#{allowNoProduct}, #{allowNoSerial},
|
|
|
|
|
#{spmc},
|
|
|
|
|
#{cplx},
|
|
|
|
|
#{hchzsb},
|
|
|
|
|
#{cpdls},
|
|
|
|
|
#{price},
|
|
|
|
|
#{basicPrductRemak1},
|
|
|
|
|
#{basicPrductRemak2},
|
|
|
|
|
#{basicPrductRemak3},
|
|
|
|
|
#{basicPrductRemak4},
|
|
|
|
|
#{basicPrductRemak5},
|
|
|
|
|
#{basicPrductRemak6},
|
|
|
|
|
#{basicPrductRemak7},
|
|
|
|
|
#{basicPrductRemak8})
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
<insert id="insertUdiInfos" keyProperty="id" parameterType="java.util.List">
|
|
|
|
|
replace INTO basic_products
|
|
|
|
|
(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,
|
|
|
|
|
allowNoBatch, allowNoExpire,
|
|
|
|
|
allowNoProduct, allowNoSerial, spmc, cplx, hchzsb, cpdls, price, basicPrductRemak1, basicPrductRemak2,
|
|
|
|
|
basicPrductRemak3, basicPrductRemak4, basicPrductRemak5, basicPrductRemak6, basicPrductRemak7,
|
|
|
|
|
basicPrductRemak8)
|
|
|
|
|
values
|
|
|
|
|
(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,
|
|
|
|
|
allowNoBatch, allowNoExpire,
|
|
|
|
|
allowNoProduct, allowNoSerial, spmc, cplx, hchzsb, cpdls, price, basicPrductRemak1, basicPrductRemak2,
|
|
|
|
|
basicPrductRemak3, basicPrductRemak4, basicPrductRemak5, basicPrductRemak6, basicPrductRemak7,
|
|
|
|
|
basicPrductRemak8)
|
|
|
|
|
values
|
|
|
|
|
|
|
|
|
|
<foreach collection="udiInfoEntities" item="item" index="index"
|
|
|
|
|
separator=",">
|
|
|
|
|
(#{item.id},
|
|
|
|
|
#{item.uuid},
|
|
|
|
|
#{item.originUuid},
|
|
|
|
|
#{item.nameCode},
|
|
|
|
|
#{item.deviceRecordKey},
|
|
|
|
|
#{item.packRatio},
|
|
|
|
|
#{item.packLevel},
|
|
|
|
|
#{item.packUnit},
|
|
|
|
|
#{item.bhxjsl},
|
|
|
|
|
#{item.bhzxxsbzsl},
|
|
|
|
|
#{item.zxxsbzbhsydysl},
|
|
|
|
|
#{item.bhxjcpbm},
|
|
|
|
|
#{item.bzcj},
|
|
|
|
|
#{item.cpmctymc},
|
|
|
|
|
#{item.cplb},
|
|
|
|
|
#{item.flbm},
|
|
|
|
|
#{item.ggxh},
|
|
|
|
|
#{item.qxlb},
|
|
|
|
|
#{item.tyshxydm},
|
|
|
|
|
#{item.ylqxzcrbarmc},
|
|
|
|
|
#{item.zczbhhzbapzbh},
|
|
|
|
|
#{item.ylqxzcrbarywmc},
|
|
|
|
|
#{item.sydycpbs},
|
|
|
|
|
#{item.sjcpbm},
|
|
|
|
|
#{item.versionNumber},
|
|
|
|
|
#{item.diType},
|
|
|
|
|
#{item.ybbm},
|
|
|
|
|
#{item.sptm},
|
|
|
|
|
#{item.manufactory},
|
|
|
|
|
#{item.measname},
|
|
|
|
|
#{item.productType},
|
|
|
|
|
#{item.scbssfbhph},
|
|
|
|
|
#{item.scbssfbhxlh},
|
|
|
|
|
#{item.scbssfbhscrq},
|
|
|
|
|
#{item.scbssfbhsxrq},
|
|
|
|
|
#{item.cpms},
|
|
|
|
|
#{item.allowNoBatch},
|
|
|
|
|
#{item.allowNoExpire},
|
|
|
|
|
#{item.allowNoProduct}, #{item.allowNoSerial},
|
|
|
|
|
#{item.spmc},
|
|
|
|
|
#{item.cplx},
|
|
|
|
|
#{item.hchzsb},
|
|
|
|
|
#{item.cpdls},
|
|
|
|
|
#{item.price},
|
|
|
|
|
#{item.basicPrductRemak1},
|
|
|
|
|
#{item.basicPrductRemak2},
|
|
|
|
|
#{item.basicPrductRemak3},
|
|
|
|
|
#{item.basicPrductRemak4},
|
|
|
|
|
#{item.basicPrductRemak5},
|
|
|
|
|
#{item.basicPrductRemak6},
|
|
|
|
|
#{item.basicPrductRemak7},
|
|
|
|
|
#{item.basicPrductRemak8})
|
|
|
|
|
#{item.originUuid},
|
|
|
|
|
#{item.nameCode},
|
|
|
|
|
#{item.deviceRecordKey},
|
|
|
|
|
#{item.packRatio},
|
|
|
|
|
#{item.packLevel},
|
|
|
|
|
#{item.packUnit},
|
|
|
|
|
#{item.bhxjsl},
|
|
|
|
|
#{item.bhzxxsbzsl},
|
|
|
|
|
#{item.zxxsbzbhsydysl},
|
|
|
|
|
#{item.bhxjcpbm},
|
|
|
|
|
#{item.bzcj},
|
|
|
|
|
#{item.cpmctymc},
|
|
|
|
|
#{item.cplb},
|
|
|
|
|
#{item.flbm},
|
|
|
|
|
#{item.ggxh},
|
|
|
|
|
#{item.qxlb},
|
|
|
|
|
#{item.tyshxydm},
|
|
|
|
|
#{item.ylqxzcrbarmc},
|
|
|
|
|
#{item.zczbhhzbapzbh},
|
|
|
|
|
#{item.ylqxzcrbarywmc},
|
|
|
|
|
#{item.sydycpbs},
|
|
|
|
|
#{item.sjcpbm},
|
|
|
|
|
#{item.versionNumber},
|
|
|
|
|
#{item.diType},
|
|
|
|
|
#{item.ybbm},
|
|
|
|
|
#{item.sptm},
|
|
|
|
|
#{item.manufactory},
|
|
|
|
|
#{item.measname},
|
|
|
|
|
#{item.productType},
|
|
|
|
|
#{item.scbssfbhph},
|
|
|
|
|
#{item.scbssfbhxlh},
|
|
|
|
|
#{item.scbssfbhscrq},
|
|
|
|
|
#{item.scbssfbhsxrq},
|
|
|
|
|
#{item.cpms},
|
|
|
|
|
#{item.allowNoBatch},
|
|
|
|
|
#{item.allowNoExpire},
|
|
|
|
|
#{item.allowNoProduct}, #{item.allowNoSerial},
|
|
|
|
|
#{item.spmc},
|
|
|
|
|
#{item.cplx},
|
|
|
|
|
#{item.hchzsb},
|
|
|
|
|
#{item.cpdls},
|
|
|
|
|
#{item.price},
|
|
|
|
|
#{item.basicPrductRemak1},
|
|
|
|
|
#{item.basicPrductRemak2},
|
|
|
|
|
#{item.basicPrductRemak3},
|
|
|
|
|
#{item.basicPrductRemak4},
|
|
|
|
|
#{item.basicPrductRemak5},
|
|
|
|
|
#{item.basicPrductRemak6},
|
|
|
|
|
#{item.basicPrductRemak7},
|
|
|
|
|
#{item.basicPrductRemak8})
|
|
|
|
|
</foreach>
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
@ -468,7 +467,7 @@
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
WHERE nameCode = #{nameCode}
|
|
|
|
|
and uuid = #{uuid}
|
|
|
|
|
and uuid = #{uuid}
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
<update id="updateUdiInfoByUuid" parameterType="com.glxp.api.entity.basic.UdiProductEntity">
|
|
|
|
@ -818,7 +817,7 @@
|
|
|
|
|
<select id="selectGgxhList" resultType="java.lang.String">
|
|
|
|
|
select distinct ggxh
|
|
|
|
|
from basic_products
|
|
|
|
|
left join basic_udirel on basic_products.uuid = basic_udirel.uuid
|
|
|
|
|
left join basic_udirel on basic_products.uuid = basic_udirel.uuid
|
|
|
|
|
where basic_udirel.id = #{relId}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
@ -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>
|
|
|
|
|