|
|
|
@ -131,6 +131,38 @@
|
|
|
|
|
GROUP BY ggxh
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="filterNameCode" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest"
|
|
|
|
|
resultType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
|
select nameCode
|
|
|
|
|
from productinfo
|
|
|
|
|
<where>
|
|
|
|
|
<if test="tyshxydm != '' and tyshxydm != null">
|
|
|
|
|
AND tyshxydm = #{tyshxydm}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null">
|
|
|
|
|
AND ylqxzcrbarmc = #{ylqxzcrbarmc}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="cpmctymc != '' and cpmctymc != null">
|
|
|
|
|
AND cpmctymc = #{cpmctymc}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="ggxh != '' and ggxh != null">
|
|
|
|
|
AND ggxh = #{ggxh}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="nameCode != '' and nameCode != null">
|
|
|
|
|
AND nameCode LIKE concat('%',#{nameCode}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="uuid != '' and uuid != null">
|
|
|
|
|
AND uuid = #{uuid}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="updateTime != null and updateTime != ''">
|
|
|
|
|
<![CDATA[
|
|
|
|
|
and updateTime >= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S')
|
|
|
|
|
]]>
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
GROUP BY nameCode
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="filterUdiByTyshxydm" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest"
|
|
|
|
|
resultType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
|