|
|
@ -173,9 +173,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
<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 basic_products.*,basic_udirel.purType
|
|
|
|
SELECT basic_products.*, basic_udirel.purType, basic_udirel.hcType
|
|
|
|
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})
|
|
|
|
limit 1
|
|
|
|
limit 1
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
@ -191,13 +191,13 @@
|
|
|
|
basicPrductRemak3, basicPrductRemak4, basicPrductRemak5, basicPrductRemak6, basicPrductRemak7,
|
|
|
|
basicPrductRemak3, basicPrductRemak4, basicPrductRemak5, basicPrductRemak6, basicPrductRemak7,
|
|
|
|
basicPrductRemak8, updateTime
|
|
|
|
basicPrductRemak8, updateTime
|
|
|
|
, sfwblztlcp, cgzmraqxgxx, sfbjwycxsy, zdcfsycs, sfwwjbz, syqsfxyjxmj, mjfs, categoryName,
|
|
|
|
, sfwblztlcp, cgzmraqxgxx, sfbjwycxsy, zdcfsycs, sfwwjbz, syqsfxyjxmj, mjfs, categoryName,
|
|
|
|
catalogname1,
|
|
|
|
catalogname1,
|
|
|
|
catalogname2,
|
|
|
|
catalogname2,
|
|
|
|
catalogname3,
|
|
|
|
catalogname3,
|
|
|
|
matrial,
|
|
|
|
matrial,
|
|
|
|
catalogCode1,
|
|
|
|
catalogCode1,
|
|
|
|
catalogCode2,
|
|
|
|
catalogCode2,
|
|
|
|
catalogCode3)
|
|
|
|
catalogCode3)
|
|
|
|
values (#{id}, #{uuid},
|
|
|
|
values (#{id}, #{uuid},
|
|
|
|
#{originUuid},
|
|
|
|
#{originUuid},
|
|
|
|
#{nameCode},
|
|
|
|
#{nameCode},
|
|
|
@ -936,8 +936,8 @@
|
|
|
|
categoryName=#{categoryName},
|
|
|
|
categoryName=#{categoryName},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="catalogname1 != null">
|
|
|
|
<if test="catalogname1 != null">
|
|
|
|
catalogname1=#{catalogname1},
|
|
|
|
catalogname1=#{catalogname1},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="catalogname2 != null">
|
|
|
|
<if test="catalogname2 != null">
|
|
|
|
catalogname2=#{catalogname2},
|
|
|
|
catalogname2=#{catalogname2},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -956,7 +956,6 @@
|
|
|
|
<if test="catalogCode3 != null">
|
|
|
|
<if test="catalogCode3 != null">
|
|
|
|
catalogCode3=#{catalogCode3},
|
|
|
|
catalogCode3=#{catalogCode3},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
where id = #{id}
|
|
|
|
where id = #{id}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|