|
|
@ -5,25 +5,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
<select id="filterUdiInfo" parameterType="com.glxp.api.admin.req.basic.FilterUdiInfoRequest"
|
|
|
|
<select id="filterUdiInfo" parameterType="com.glxp.api.admin.req.basic.FilterUdiInfoRequest"
|
|
|
|
resultType="com.glxp.api.admin.entity.basic.UdiInfoEntity">
|
|
|
|
resultType="com.glxp.api.admin.entity.basic.UdiInfoEntity">
|
|
|
|
SELECT * FROM basic_products
|
|
|
|
SELECT
|
|
|
|
|
|
|
|
basic_products.id,
|
|
|
|
|
|
|
|
basic_products.nameCode,
|
|
|
|
|
|
|
|
basic_products.packRatio,
|
|
|
|
|
|
|
|
basic_products.packLevel,
|
|
|
|
|
|
|
|
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.manufactory,
|
|
|
|
|
|
|
|
basic_products.productType,
|
|
|
|
|
|
|
|
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.spmc,
|
|
|
|
|
|
|
|
basic_products.cplx,
|
|
|
|
|
|
|
|
basic_products.hchzsb,
|
|
|
|
|
|
|
|
basic_products.cpdls,
|
|
|
|
|
|
|
|
basic_products.basicPrductRemak1,
|
|
|
|
|
|
|
|
basic_products.basicPrductRemak2,
|
|
|
|
|
|
|
|
basic_products.basicPrductRemak3,
|
|
|
|
|
|
|
|
basic_products.basicPrductRemak4,
|
|
|
|
|
|
|
|
basic_products.basicPrductRemak5,
|
|
|
|
|
|
|
|
basic_products.basicPrductRemak6,
|
|
|
|
|
|
|
|
basic_products.basicPrductRemak7,
|
|
|
|
|
|
|
|
basic_products.basicPrductRemak8,
|
|
|
|
|
|
|
|
basic_udirel.thirdId,
|
|
|
|
|
|
|
|
basic_udirel.thirdName,
|
|
|
|
|
|
|
|
basic_udirel.isUseDy,
|
|
|
|
|
|
|
|
basic_udirel.updateTime,
|
|
|
|
|
|
|
|
basic_udirel.thirdId1,
|
|
|
|
|
|
|
|
basic_udirel.thirdId2,
|
|
|
|
|
|
|
|
basic_udirel.thirdId3,
|
|
|
|
|
|
|
|
basic_udirel.thirdId4,
|
|
|
|
|
|
|
|
basic_udirel.thirdName1,
|
|
|
|
|
|
|
|
basic_udirel.thirdName2,
|
|
|
|
|
|
|
|
basic_udirel.thirdName3,
|
|
|
|
|
|
|
|
basic_udirel.thirdName4,
|
|
|
|
|
|
|
|
basic_udirel.ybbm,
|
|
|
|
|
|
|
|
basic_udirel.sptm,
|
|
|
|
|
|
|
|
basic_udirel.isDisable,
|
|
|
|
|
|
|
|
basic_udirel.isLock,
|
|
|
|
|
|
|
|
basic_udirel.mainId,
|
|
|
|
|
|
|
|
basic_udirel.lockStatus,
|
|
|
|
|
|
|
|
basic_udirel.udplatCode,
|
|
|
|
|
|
|
|
basic_udirel.isAdavence,
|
|
|
|
|
|
|
|
basic_udirel.supName,
|
|
|
|
|
|
|
|
basic_udirel.price,
|
|
|
|
|
|
|
|
basic_udirel.modifyTime,
|
|
|
|
|
|
|
|
basic_udirel.useMuti,
|
|
|
|
|
|
|
|
basic_udirel.useNum,
|
|
|
|
|
|
|
|
basic_udirel.measname FROM basic_products
|
|
|
|
|
|
|
|
LEFT JOIN basic_udirel on basic_products.uuid=basic_udirel.uuid
|
|
|
|
<where>
|
|
|
|
<where>
|
|
|
|
<if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null">
|
|
|
|
<if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null">
|
|
|
|
AND ylqxzcrbarmc LIKE concat(#{ylqxzcrbarmc},'%')
|
|
|
|
AND basic_products.ylqxzcrbarmc LIKE concat(#{ylqxzcrbarmc},'%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="cpmctymc != '' and cpmctymc != null">
|
|
|
|
<if test="cpmctymc != '' and cpmctymc != null">
|
|
|
|
AND cpmctymc LIKE concat(#{cpmctymc},'%')
|
|
|
|
AND basic_products.cpmctymc LIKE concat(#{cpmctymc},'%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="nameCode != '' and nameCode != null">
|
|
|
|
<if test="nameCode != '' and nameCode != null">
|
|
|
|
AND nameCode LIKE concat(#{nameCode},'%')
|
|
|
|
AND basic_products.nameCode LIKE concat(#{nameCode},'%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="uuid != '' and uuid != null">
|
|
|
|
<if test="uuid != '' and uuid != null">
|
|
|
|
AND uuid = #{uuid}
|
|
|
|
AND basic_products.uuid = #{uuid}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="originUuid != '' and originUuid != null">
|
|
|
|
<if test="originUuid != '' and originUuid != null">
|
|
|
|
AND originUuid = #{originUuid}
|
|
|
|
AND basic_products.originUuid = #{originUuid}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="sptm != '' and sptm != null">
|
|
|
|
<if test="sptm != '' and sptm != null">
|
|
|
|
AND sptm = #{sptm}
|
|
|
|
AND basic_products.sptm = #{sptm}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
|
|
|
|
|
|
|
@ -279,7 +354,7 @@
|
|
|
|
<if test="basicPrductRemak7 != null">basicPrductRemak7=#{basicPrductRemak7},</if>
|
|
|
|
<if test="basicPrductRemak7 != null">basicPrductRemak7=#{basicPrductRemak7},</if>
|
|
|
|
<if test="basicPrductRemak8 != null">basicPrductRemak8=#{basicPrductRemak8},</if>
|
|
|
|
<if test="basicPrductRemak8 != null">basicPrductRemak8=#{basicPrductRemak8},</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
WHERE nameCode = #{nameCode}
|
|
|
|
WHERE nameCode = #{nameCode} and uuid = #{uuid}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
|
|
<update id="updateUdiInfoByUuid" parameterType="com.glxp.api.admin.entity.basic.UdiInfoEntity">
|
|
|
|
<update id="updateUdiInfoByUuid" parameterType="com.glxp.api.admin.entity.basic.UdiInfoEntity">
|
|
|
|