jiazx0107@163.com
2023-06-29 651dfb24aa82ea28e6348907bc02dc8c84a6e13f
igds-inout/src/main/java/com/ld/igds/m/service/HContractManageService.java
@@ -25,7 +25,7 @@
      args.put("companyId", ContextUtil.getCompanyId());
      args.put("deptId", ContextUtil.subDeptId(null));
      if (null != param) {
        if (null != param && param.size() != 0) {
         String str = (String) param.get("type");
         if (StringUtils.isNotEmpty(str)) {
            hql += " and type =:type";
@@ -68,6 +68,10 @@
      if(StringUtils.isEmpty(data.getDeptId())){
         data.setDeptId(ContextUtil.subDeptId(null));
      }
        if (StringUtils.isEmpty(data.getCreateUser())) {
            data.setCreateUser(ContextUtil.getLoginUserCName());
        }
        data.setUpdateTime(new Date());
      Session session = this.getSessionFactory().openSession();
      try {