Authored by mali

商品池列表去掉个数展示

... ... @@ -6,7 +6,7 @@
</resultMap>
<sql id="queryColumns">
pool.id, pool.pool_name, pool.create_time, COUNT(pool_detail.product_id) AS productNum
pool.id, pool.pool_name, pool.create_time
</sql>
<insert id="insertProductPool" parameterType="com.yoho.ufo.model.goodsmanage.ProductPool" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
... ... @@ -41,8 +41,6 @@
<sql id="queryTable">
FROM product_pool pool
LEFT JOIN product_pool_detail pool_detail
ON pool.id = pool_detail.pool_id
</sql>
<select id="selectProductPoolCount" resultType="integer">
... ... @@ -55,7 +53,6 @@
select <include refid="queryColumns"/>
<include refid="queryTable"/>
<include refid="queryParam"/>
GROUP BY pool_detail.pool_id
ORDER BY pool.create_time DESC
limit #{page.startIndex}, #{page.pageSize}
</select>
... ...
... ... @@ -85,11 +85,6 @@
width: 80,
align: "center"
}, {
title: "商品个数",
field: "productNum",
width: 100,
align: "center"
}, {
title: "创建时间",
field: "createTime",
width: 170,
... ...