|
|
@ -170,7 +170,7 @@
|
|
|
|
SELECT basic_products.*, basic_udirel.purType, basic_udirel.hcType, basic_udirel.id as relId
|
|
|
|
SELECT basic_products.*, basic_udirel.purType, basic_udirel.hcType, basic_udirel.id as relId
|
|
|
|
FROM basic_products
|
|
|
|
FROM basic_products
|
|
|
|
LEFT JOIN basic_udirel ON basic_udirel.uuid = basic_products.uuid
|
|
|
|
LEFT JOIN basic_udirel ON basic_udirel.uuid = basic_products.uuid
|
|
|
|
WHERE (basic_products.nameCode = #{nameCode})
|
|
|
|
WHERE (basic_products.nameCode = #{nameCode} or basic_products.ybbm = #{nameCode})
|
|
|
|
limit 1
|
|
|
|
limit 1
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<insert id="insertUdiInfo" keyProperty="id" parameterType="com.glxp.api.entity.basic.UdiProductEntity">
|
|
|
|
<insert id="insertUdiInfo" keyProperty="id" parameterType="com.glxp.api.entity.basic.UdiProductEntity">
|
|
|
@ -194,7 +194,8 @@
|
|
|
|
catalogname3,
|
|
|
|
catalogname3,
|
|
|
|
matrial,
|
|
|
|
matrial,
|
|
|
|
destinyType,
|
|
|
|
destinyType,
|
|
|
|
productsType,prepnUnit,prepnSpec,storageCondition,transportCondition,indate,packMatrial,majorType,majorStatus,physicType,medicareType,bzgg,
|
|
|
|
productsType, prepnUnit, prepnSpec, storageCondition, transportCondition, indate, packMatrial, majorType,
|
|
|
|
|
|
|
|
majorStatus, physicType, medicareType, bzgg,
|
|
|
|
requireScanCode)
|
|
|
|
requireScanCode)
|
|
|
|
values (#{id}, #{uuid},
|
|
|
|
values (#{id}, #{uuid},
|
|
|
|
#{originUuid},
|
|
|
|
#{originUuid},
|
|
|
@ -1002,7 +1003,6 @@
|
|
|
|
<if test="matrial != null">
|
|
|
|
<if test="matrial != null">
|
|
|
|
matrial=#{matrial},
|
|
|
|
matrial=#{matrial},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
where id = #{id}
|
|
|
|
where id = #{id}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
@ -1291,6 +1291,7 @@
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<select id="selectListByUuid" resultType="com.glxp.api.entity.basic.UdiProductEntity">
|
|
|
|
<select id="selectListByUuid" resultType="com.glxp.api.entity.basic.UdiProductEntity">
|
|
|
|
select *
|
|
|
|
select *
|
|
|
|
from basic_products where uuid = #{uuid}
|
|
|
|
from basic_products
|
|
|
|
|
|
|
|
where uuid = #{uuid}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|
|
|
|