Package org.jeecgframework.web.demo.entity.test

Examples of org.jeecgframework.web.demo.entity.test.JeecgMinidaoEntity


  @ResponseBody
  public AjaxJson save(JeecgMinidaoEntity jeecgMinidao, HttpServletRequest request) {
    AjaxJson j = new AjaxJson();
    if (StringUtil.isNotEmpty(jeecgMinidao.getId())) {
      message = "Minidao例子更新成功";
      JeecgMinidaoEntity t = jeecgMinidaoService.getEntity(JeecgMinidaoEntity.class, jeecgMinidao.getId());
      try {
        MyBeanUtils.copyBeanNotNull2Bean(jeecgMinidao, t);
        jeecgMinidaoService.update(t);
        systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO);
      } catch (Exception e) {
View Full Code Here


    List<JeecgMinidaoEntity> entities = jeecgMinidaoDao.getAllEntities2(jeecgMinidao, page, rows);
    return entities;
  }
 
  public JeecgMinidaoEntity getEntity(Class clazz, String id) {
    JeecgMinidaoEntity jeecgMinidao = (JeecgMinidaoEntity)jeecgMinidaoDao.getByIdHiber(clazz, id);
    return jeecgMinidao;
  }
View Full Code Here

TOP

Related Classes of org.jeecgframework.web.demo.entity.test.JeecgMinidaoEntity

Copyright © 2018 www.massapicom. 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.