|
|
@ -173,9 +173,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
<select id="findByNameCode" parameterType="java.lang.String"
|
|
|
|
<select id="findByNameCode" parameterType="java.lang.String"
|
|
|
|
resultType="com.glxp.api.entity.basic.UdiProductEntity">
|
|
|
|
resultType="com.glxp.api.entity.basic.UdiProductEntity">
|
|
|
|
SELECT *
|
|
|
|
SELECT basic_products.*,basic_udirel.purType
|
|
|
|
FROM basic_products
|
|
|
|
FROM basic_products
|
|
|
|
WHERE (nameCode = #{nameCode})
|
|
|
|
LEFT JOIN basic_udirel ON basic_udirel.uuid = basic_products.uuid
|
|
|
|
|
|
|
|
WHERE (basic_products.nameCode = #{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">
|
|
|
|