XMTT преди 6 години
родител
ревизия
7bff4633dc
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 0
      src/main/java/com/ekexiu/portal/product/ProductDao.java
  2. 1 1
      src/main/resources/database.sql

+ 1 - 0
src/main/java/com/ekexiu/portal/product/ProductDao.java

@ -73,6 +73,7 @@ public interface ProductDao {
73 73
    @QueryVal
74 74
    @Column(value = "COUNT(1)", handlerClass = LongHandler.class)
75 75
    @From(Product.class)
76
    @Where("STATE='1'")
76 77
    long countPublish(Connection con, String owner) throws SQLException;
77 78
78 79
    @SelectOne

+ 1 - 1
src/main/resources/database.sql

@ -2430,7 +2430,7 @@ COMMENT ON COLUMN PRODUCT.KEYWORDS is '产品关键词(逗号分隔)';
2430 2430
COMMENT ON COLUMN PRODUCT.CNT is '产品内容';
2431 2431
COMMENT ON COLUMN PRODUCT.PARAMETER is '性能参数';
2432 2432
COMMENT ON COLUMN PRODUCT.SPEC is '厂商型号';
2433
COMMENT ON COLUMN PRODUCT.PRODUCTING_AREA is '产地';
2433
COMMENT ON COLUMN PRODUCT.PRODUCING_AREA is '产地';
2434 2434
COMMENT ON COLUMN PRODUCT.PRICE is '官方价格';
2435 2435
COMMENT ON COLUMN PRODUCT.DESCP is '详细描述';
2436 2436
COMMENT ON COLUMN PRODUCT.OWNER is '发布人ID  orgId';