|
|
@ -126,7 +126,6 @@
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
GROUP BY nameCode
|
|
|
|
GROUP BY nameCode
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectAllByUuid" parameterType="java.util.List"
|
|
|
|
<select id="selectAllByUuid" parameterType="java.util.List"
|
|
|
|
resultType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
resultType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
select *
|
|
|
|
select *
|
|
|
@ -138,8 +137,6 @@
|
|
|
|
</foreach>
|
|
|
|
</foreach>
|
|
|
|
)
|
|
|
|
)
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectByUuid" parameterType="Map"
|
|
|
|
<select id="selectByUuid" parameterType="Map"
|
|
|
|
resultType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
resultType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
select *
|
|
|
|
select *
|
|
|
@ -176,8 +173,6 @@
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="filterUdiByNewest" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest"
|
|
|
|
<select id="filterUdiByNewest" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest"
|
|
|
|
resultType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
resultType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
SELECT *
|
|
|
|
SELECT *
|
|
|
@ -200,7 +195,6 @@
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="filterUuidByCreditNo" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest"
|
|
|
|
<select id="filterUuidByCreditNo" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest"
|
|
|
|
resultType="java.lang.String">
|
|
|
|
resultType="java.lang.String">
|
|
|
|
select p.uuid from productinfo p
|
|
|
|
select p.uuid from productinfo p
|
|
|
@ -271,8 +265,6 @@
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="filterUdiNoPage" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest"
|
|
|
|
<select id="filterUdiNoPage" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest"
|
|
|
|
resultType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
resultType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
select *
|
|
|
|
select *
|
|
|
@ -319,8 +311,6 @@
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
limit #{page},#{limit}
|
|
|
|
limit #{page},#{limit}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="filterUdiNoPageCount" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest"
|
|
|
|
<select id="filterUdiNoPageCount" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest"
|
|
|
|
resultType="java.lang.Long">
|
|
|
|
resultType="java.lang.Long">
|
|
|
|
select count(0)
|
|
|
|
select count(0)
|
|
|
@ -366,8 +356,6 @@
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectByUpdateTime"
|
|
|
|
<select id="selectByUpdateTime"
|
|
|
|
resultType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
resultType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
select *
|
|
|
|
select *
|
|
|
@ -414,7 +402,6 @@
|
|
|
|
limit #{page},#{limit}
|
|
|
|
limit #{page},#{limit}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<insert id="insertProductInfo"
|
|
|
|
<insert id="insertProductInfo"
|
|
|
|
parameterType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
parameterType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
REPLACE
|
|
|
|
REPLACE
|
|
|
@ -478,7 +465,6 @@
|
|
|
|
#{mjfs}, #{categoryName})
|
|
|
|
#{mjfs}, #{categoryName})
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<insert id="insertProductInfos"
|
|
|
|
<insert id="insertProductInfos"
|
|
|
|
parameterType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
parameterType="com.glxp.api.entity.basic.ProductInfoEntity">
|
|
|
|
REPLACE INTO productinfo
|
|
|
|
REPLACE INTO productinfo
|
|
|
@ -744,18 +730,4 @@
|
|
|
|
</set>
|
|
|
|
</set>
|
|
|
|
WHERE uuid = #{uuid}
|
|
|
|
WHERE uuid = #{uuid}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--测试专用-->
|
|
|
|
|
|
|
|
<select id="findAllUuids" parameterType="com.glxp.api.util.page.ListPageRequest" resultType="java.lang.String">
|
|
|
|
|
|
|
|
SELECT uuid
|
|
|
|
|
|
|
|
from device
|
|
|
|
|
|
|
|
group by uuid
|
|
|
|
|
|
|
|
limit #{page}, #{limit}
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<select id="findAllTyshxyh" resultType="java.lang.String">
|
|
|
|
|
|
|
|
SELECT tyshxydm
|
|
|
|
|
|
|
|
from productinfo
|
|
|
|
|
|
|
|
group by tyshxydm
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|
|
|
|