update
This commit is contained in:
@@ -8,6 +8,11 @@ import com.jsh.util.SearchConditionUtil;
|
||||
import org.hibernate.Query;
|
||||
|
||||
public class DepotItemDAO extends BaseDAO<DepotItem> implements DepotItemIDAO {
|
||||
private final static String TYPE = "入库";
|
||||
private final static String SUM_TYPE = "Number";
|
||||
private final static String IN = "in";
|
||||
private final static String OUT = "out";
|
||||
|
||||
/**
|
||||
* 设置dao映射基类
|
||||
*
|
||||
@@ -18,8 +23,6 @@ public class DepotItemDAO extends BaseDAO<DepotItem> implements DepotItemIDAO {
|
||||
return DepotItem.class;
|
||||
}
|
||||
|
||||
private final static String TYPE = "入库";
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void findByType(PageUtil<DepotItem> pageUtil, String type, Integer dId, Long MId, String MonthTime, Boolean isPrev) throws JshException {
|
||||
@@ -133,8 +136,6 @@ public class DepotItemDAO extends BaseDAO<DepotItem> implements DepotItemIDAO {
|
||||
pageUtil.setPageList(query.list());
|
||||
}
|
||||
|
||||
private final static String SUM_TYPE = "Number";
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void buyOrSale(PageUtil<DepotItem> pageUtil, String type, String subType, Long MId, String MonthTime, String sumType) throws JshException {
|
||||
@@ -149,9 +150,6 @@ public class DepotItemDAO extends BaseDAO<DepotItem> implements DepotItemIDAO {
|
||||
pageUtil.setPageList(query.list());
|
||||
}
|
||||
|
||||
private final static String IN = "in";
|
||||
private final static String OUT = "out";
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public void findGiftByType(PageUtil<DepotItem> pageUtil, String subType, Integer ProjectId, Long MId, String type) throws JshException {
|
||||
|
||||
Reference in New Issue
Block a user