Example #1
0
  public static List<Province> getListByEnabled(byte enabled) {
    ProvinceService provinceService = (ProvinceService) context.getBean("provinceService");

    return provinceService.getListByEnabled(enabled);
  }
Example #2
0
  public static Province getInfo(int id) {
    ProvinceService provinceService = (ProvinceService) context.getBean("provinceService");

    return provinceService.getInfo(id);
  }
Example #3
0
  public static List<Province> getList() {
    ProvinceService provinceService = (ProvinceService) context.getBean("provinceService");

    return provinceService.getList();
  }
Example #4
0
  public static int update(Province province) {
    ProvinceService provinceService = (ProvinceService) context.getBean("provinceService");

    return provinceService.update(province);
  }
Example #5
0
  public static int add(Province province) {
    ProvinceService provinceService = (ProvinceService) context.getBean("provinceService");

    return provinceService.add(province);
  }
Example #6
0
  public static PagedList<Province> getPagingList(ProvinceCondition provinceCondition) {
    ProvinceService provinceService = (ProvinceService) context.getBean("provinceService");

    return provinceService.getPagingList(provinceCondition);
  }