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

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


    if (StringUtil.isNotEmpty(fileKey)) {
      financeFile.setId(fileKey);
      financeFile = systemService.getEntity(TFinanceFilesEntity.class, fileKey);

    }
    TFinanceEntity finance = systemService.getEntity(TFinanceEntity.class, financeId);
    financeFile.setFinance(finance);
    UploadFile uploadFile = new UploadFile(request, financeFile);
    uploadFile.setCusPath("files");
    uploadFile.setSwfpath("swfpath");
    uploadFile.setByteField(null);//不存二进制内容
View Full Code Here


  @ResponseBody
  public AjaxJson save(TFinanceEntity tFinance, HttpServletRequest request) {
    AjaxJson j = new AjaxJson();
    if (StringUtil.isNotEmpty(tFinance.getId())) {
      message = "更新成功";
      TFinanceEntity t = tFinanceService.get(TFinanceEntity.class, tFinance.getId());
      try {
        MyBeanUtils.copyBeanNotNull2Bean(tFinance, t);
        tFinanceService.saveOrUpdate(t);
        systemService.addLog(message, Globals.Log_Type_UPDATE, Globals.Log_Leavel_INFO);
      } catch (Exception e) {
View Full Code Here

TOP

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

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.