Ejemplo n.º 1
0
  public int getSupplySearchCount(String searchType, String searchValue) {

    HashMap<String, Object> params = new HashMap<String, Object>();
    params.put("searchtype", searchType);
    params.put("searchvalue", searchValue);

    int count = supplyMapper.getSupplySearchCount(params);

    return count;
  }
Ejemplo n.º 2
0
  public List<Supply> getSupplyList(int first, int last) {

    HashMap<String, Integer> params = new HashMap<String, Integer>();
    params.put("first", first);
    params.put("last", last);

    List<Supply> supplys = supplyMapper.getSupplyListByPage(params);

    return supplys;
  }
Ejemplo n.º 3
0
  public List<Supply> getSupplyList(String searchType, String searchValue, int first, int last) {

    HashMap<String, Object> params = new HashMap<String, Object>();
    params.put("searchtype", searchType);
    params.put("searchvalue", searchValue);
    params.put("first", first);
    params.put("last", last);

    List<Supply> supplys = supplyMapper.getSupplyListBySearchPage(params);

    return supplys;
  }
Ejemplo n.º 4
0
  public void deleteSupply(int supplyNo) {

    supplyMapper.deleteSupply(supplyNo);
  }
Ejemplo n.º 5
0
  public void updateSupply(Supply supply) {

    supplyMapper.updateSupply(supply);
  }
Ejemplo n.º 6
0
  public Supply getSupplyBySupplyNo(int supplyNo) {

    Supply supply = supplyMapper.getSupplyBySupplyNo(supplyNo);

    return supply;
  }
Ejemplo n.º 7
0
  // 전체 목록에서 조회할 데이터의 시작위치, 끝위치
  public int getSupplyCount() {

    int count = supplyMapper.getSupplyCount();

    return count;
  }
Ejemplo n.º 8
0
  public List<Supply> getSupplyList() {

    List<Supply> supplys = supplyMapper.getSupplyList();

    return supplys;
  }
Ejemplo n.º 9
0
 public void insertSupply(Supply supply) {
   supplyMapper.insertSupply(supply);
 }