Examples of callPrc()


Examples of org.g4studio.common.dao.Dao.callPrc()

 
  public static void main(String[] args) {
    Dao g4Dao = (Dao)SpringBeanLoader.getSpringBean("g4Dao");
    Dto prcDto = new BaseDto();
    prcDto.put("prm_Xm", "李");
    g4Dao.callPrc("Demo.g4_prc_cursor_demo", prcDto);
    List list = prcDto.getAsList("cur_list");
    for (int i = 0; i < list.size(); i++) {
      Dto dto = (BaseDto)list.get(i);
      System.out.println(dto.getAsString("xm") + ":" + dto.getAsBigDecimal("fyze"));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.