|
@@ -4,7 +4,6 @@ import com.uas.platform.b2c.prod.product.common.dao.CommonCountDao;
|
|
|
import com.uas.platform.b2c.prod.product.common.model.CommonCount;
|
|
import com.uas.platform.b2c.prod.product.common.model.CommonCount;
|
|
|
import com.uas.platform.b2c.prod.product.common.service.CommonCountService;
|
|
import com.uas.platform.b2c.prod.product.common.service.CommonCountService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.jdbc.core.JdbcTemplate;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
@@ -18,9 +17,6 @@ public class CommonCountServiceImpl implements CommonCountService{
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private CommonCountDao commonCountDao;
|
|
private CommonCountDao commonCountDao;
|
|
|
|
|
|
|
|
- @Autowired
|
|
|
|
|
- private JdbcTemplate jdbcTemplate;
|
|
|
|
|
-
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public List<CommonCount> findByStatus(Short status) {
|
|
public List<CommonCount> findByStatus(Short status) {
|
|
|
List<CommonCount> commonCounts = commonCountDao.findByStatusOrderByDetno(status);
|
|
List<CommonCount> commonCounts = commonCountDao.findByStatusOrderByDetno(status);
|