Merge remote-tracking branch 'origin/master'

master
chen 4 years ago
commit 96e58427d8
  1. 2
      dq-financial-crms/src/main/resources/bootstrap.properties
  2. 21
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgCopyForController.java
  3. 21
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgCopyUserController.java
  4. 21
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/controller/DgProcessUserController.java
  5. 19
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/DgCopyForMapper.java
  6. 19
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/DgCopyUserMapper.java
  7. 19
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/DgProcessUserMapper.java
  8. 17
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/IDgCopyForService.java
  9. 17
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/IDgCopyUserService.java
  10. 17
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/IDgProcessUserService.java
  11. 20
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgCopyForServiceImpl.java
  12. 20
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgCopyUserServiceImpl.java
  13. 20
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgProcessUserServiceImpl.java
  14. 2
      dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/util/MyBatisPlusCodeGenerator.java
  15. 2
      dq-financial-guarantee/src/main/resources/bootstrap.properties
  16. 13
      dq-financial-guarantee/src/main/resources/mapper/guarantee/DgCopyForMapper.xml
  17. 12
      dq-financial-guarantee/src/main/resources/mapper/guarantee/DgCopyUserMapper.xml
  18. 12
      dq-financial-guarantee/src/main/resources/mapper/guarantee/DgProcessUserMapper.xml
  19. 2
      dq-financial-hrms-auth/src/main/java/com/daqing/financial/hrauth/controller/UserLoginController.java
  20. 6
      dq-financial-hrms-auth/src/main/java/com/daqing/financial/hrauth/service/impl/HrmsAccessRecordsLogServiceImpl.java
  21. 9
      dq-financial-hrms-auth/src/main/java/com/daqing/financial/hrauth/service/impl/UserServiceImpl.java
  22. 2
      dq-financial-hrms-auth/src/main/resources/bootstrap.properties
  23. 2
      dq-financial-hrms/src/main/resources/bootstrap.properties
  24. 8
      dq-framework-common/src/main/java/com/daqing/framework/model/response/PromptSuccess.java
  25. 81
      dq-framework-model/src/main/java/com/daqing/framework/domain/guarantee/DgCopyFor.java
  26. 68
      dq-framework-model/src/main/java/com/daqing/framework/domain/guarantee/DgCopyUser.java
  27. 68
      dq-framework-model/src/main/java/com/daqing/framework/domain/guarantee/DgProcessUser.java
  28. 2
      dq-govern-gateway/src/main/resources/bootstrap.properties
  29. 15
      dq_financial_hrms/src/main/resources/mapper/hrauth/HrmsAccessRecordsLogMapper.xml

@ -1,7 +1,7 @@
#服务名称 #服务名称
spring.application.name=dq-financial-crms spring.application.name=dq-financial-crms
#配置中心地址 #配置中心地址
spring.cloud.nacos.config.server-addr=192.168.31.140:8848 spring.cloud.nacos.config.server-addr=127.0.0.1:8848
spring.cloud.nacos.config.file-extension=yml spring.cloud.nacos.config.file-extension=yml
#redis配置 #redis配置
spring.redis.host=127.0.0.1 spring.redis.host=127.0.0.1

@ -0,0 +1,21 @@
package com.daqing.financial.guarantee.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 抄送详情表 前端控制器
* </p>
*
* @author Qyq
* @since 2021-01-15
*/
@RestController
@RequestMapping("/dg-copy-for")
public class DgCopyForController {
}

@ -0,0 +1,21 @@
package com.daqing.financial.guarantee.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 抄送用户表 前端控制器
* </p>
*
* @author Qyq
* @since 2021-01-15
*/
@RestController
@RequestMapping("/dg-copy-user")
public class DgCopyUserController {
}

@ -0,0 +1,21 @@
package com.daqing.financial.guarantee.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 业务模块选择抄送用户表 前端控制器
* </p>
*
* @author Qyq
* @since 2021-01-15
*/
@RestController
@RequestMapping("/dg-process-user")
public class DgProcessUserController {
}

@ -0,0 +1,19 @@
package com.daqing.financial.guarantee.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.daqing.framework.domain.guarantee.DgCopyFor;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 抄送详情表 Mapper 接口
* </p>
*
* @author Qyq
* @since 2021-01-15
*/
@Mapper
public interface DgCopyForMapper extends BaseMapper<DgCopyFor> {
}

@ -0,0 +1,19 @@
package com.daqing.financial.guarantee.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.daqing.framework.domain.guarantee.DgCopyUser;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 抄送用户表 Mapper 接口
* </p>
*
* @author Qyq
* @since 2021-01-15
*/
@Mapper
public interface DgCopyUserMapper extends BaseMapper<DgCopyUser> {
}

@ -0,0 +1,19 @@
package com.daqing.financial.guarantee.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.daqing.framework.domain.guarantee.DgProcessUser;
import org.apache.ibatis.annotations.Mapper;
/**
* <p>
* 业务模块选择抄送用户表 Mapper 接口
* </p>
*
* @author Qyq
* @since 2021-01-15
*/
@Mapper
public interface DgProcessUserMapper extends BaseMapper<DgProcessUser> {
}

@ -0,0 +1,17 @@
package com.daqing.financial.guarantee.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.daqing.framework.domain.guarantee.DgCopyFor;
/**
* <p>
* 抄送详情表 服务类
* </p>
*
* @author Qyq
* @since 2021-01-15
*/
public interface IDgCopyForService extends IService<DgCopyFor> {
}

@ -0,0 +1,17 @@
package com.daqing.financial.guarantee.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.daqing.framework.domain.guarantee.DgCopyUser;
/**
* <p>
* 抄送用户表 服务类
* </p>
*
* @author Qyq
* @since 2021-01-15
*/
public interface IDgCopyUserService extends IService<DgCopyUser> {
}

@ -0,0 +1,17 @@
package com.daqing.financial.guarantee.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.daqing.framework.domain.guarantee.DgProcessUser;
/**
* <p>
* 业务模块选择抄送用户表 服务类
* </p>
*
* @author Qyq
* @since 2021-01-15
*/
public interface IDgProcessUserService extends IService<DgProcessUser> {
}

@ -0,0 +1,20 @@
package com.daqing.financial.guarantee.service.impl;
import com.daqing.financial.guarantee.mapper.DgCopyForMapper;
import com.daqing.financial.guarantee.service.IDgCopyForService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.daqing.framework.domain.guarantee.DgCopyFor;
import org.springframework.stereotype.Service;
/**
* <p>
* 抄送详情表 服务实现类
* </p>
*
* @author Qyq
* @since 2021-01-15
*/
@Service
public class DgCopyForServiceImpl extends ServiceImpl<DgCopyForMapper, DgCopyFor> implements IDgCopyForService {
}

@ -0,0 +1,20 @@
package com.daqing.financial.guarantee.service.impl;
import com.daqing.financial.guarantee.mapper.DgCopyUserMapper;
import com.daqing.financial.guarantee.service.IDgCopyUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.daqing.framework.domain.guarantee.DgCopyUser;
import org.springframework.stereotype.Service;
/**
* <p>
* 抄送用户表 服务实现类
* </p>
*
* @author Qyq
* @since 2021-01-15
*/
@Service
public class DgCopyUserServiceImpl extends ServiceImpl<DgCopyUserMapper, DgCopyUser> implements IDgCopyUserService {
}

@ -0,0 +1,20 @@
package com.daqing.financial.guarantee.service.impl;
import com.daqing.financial.guarantee.mapper.DgProcessUserMapper;
import com.daqing.financial.guarantee.service.IDgProcessUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.daqing.framework.domain.guarantee.DgProcessUser;
import org.springframework.stereotype.Service;
/**
* <p>
* 业务模块选择抄送用户表 服务实现类
* </p>
*
* @author Qyq
* @since 2021-01-15
*/
@Service
public class DgProcessUserServiceImpl extends ServiceImpl<DgProcessUserMapper, DgProcessUser> implements IDgProcessUserService {
}

@ -25,7 +25,7 @@ public class MyBatisPlusCodeGenerator {
public static final String PACKAGE_NAME = "com.daqing.financial.guarantee"; public static final String PACKAGE_NAME = "com.daqing.financial.guarantee";
public static void main(String[] args) { public static void main(String[] args) {
String[] tables = new String[] {"dg_assets_money"};//表名数组 String[] tables = new String[] {"dg_copy_for","dg_process_user","dg_copy_user"};//表名数组
String[] tablePrefixs = new String[] {""};//去掉前缀 String[] tablePrefixs = new String[] {""};//去掉前缀
executeCode(PACKAGE_NAME,tables,tablePrefixs); executeCode(PACKAGE_NAME,tables,tablePrefixs);
} }

@ -1,7 +1,7 @@
#服务名称 #服务名称
spring.application.name=dq-financial-guarantee spring.application.name=dq-financial-guarantee
#配置中心地址 #配置中心地址
spring.cloud.nacos.config.server-addr=192.168.31.140:8848 spring.cloud.nacos.config.server-addr=127.0.0.1:8848
spring.cloud.nacos.config.file-extension=yml spring.cloud.nacos.config.file-extension=yml
#redis配置 #redis配置
spring.redis.host=127.0.0.1 spring.redis.host=127.0.0.1

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.daqing.financial.guarantee.mapper.DgCopyForMapper">
<!-- 通用查询映射结果 -->
<resultMap id="BaseResultMap" type="com.daqing.framework.domain.guarantee.DgCopyFor">
<id column="id" property="id" />
<result column="business_id" property="businessId" />
<result column="process_id" property="processId" />
<result column="pic_url" property="picUrl" />
</resultMap>
</mapper>

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.daqing.financial.guarantee.mapper.DgCopyUserMapper">
<!-- 通用查询映射结果 -->
<resultMap id="BaseResultMap" type="com.daqing.framework.domain.guarantee.DgCopyUser">
<id column="id" property="id" />
<result column="copy_id" property="copyId" />
<result column="user_id" property="userId" />
</resultMap>
</mapper>

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.daqing.financial.guarantee.mapper.DgProcessUserMapper">
<!-- 通用查询映射结果 -->
<resultMap id="BaseResultMap" type="com.daqing.framework.domain.guarantee.DgProcessUser">
<id column="id" property="id" />
<result column="process_id" property="processId" />
<result column="user_id" property="userId" />
</resultMap>
</mapper>

@ -156,7 +156,7 @@ public class UserLoginController implements UserLoginControllerApi {
headerImg = URLDecoder.decode(imgUrl,encoder); headerImg = URLDecoder.decode(imgUrl,encoder);
//account = new String(username.getBytes("GBK"),"iso-8859-1"); //account = new String(username.getBytes("GBK"),"iso-8859-1");
log.info("account==========="+account+"headerImg============="+headerImg); log.info("account==========="+account+"headerImg============="+headerImg);
response.sendRedirect("http://www.huorantech.cn/dq/index.html#/login?token="+token+"&account="+account+"&headerImg="+headerImg); response.sendRedirect("http://8.129.127.185/dq/index.html#/login?token="+token+"&account="+account+"&headerImg="+headerImg);
//response.sendRedirect("http://www.huorantech.cn/dq/index.html#/Dashboard?token="+token+"&account="+account+"&headerImg="+headerImg); //response.sendRedirect("http://www.huorantech.cn/dq/index.html#/Dashboard?token="+token+"&account="+account+"&headerImg="+headerImg);
} }
}else { }else {

@ -190,7 +190,7 @@ public class HrmsAccessRecordsLogServiceImpl extends ServiceImpl<HrmsAccessRecor
List list = new ArrayList(); List list = new ArrayList();
List list2 = new ArrayList(); List list2 = new ArrayList();
//首先通过for循环遍历所有的偶数 //首先通过for循环遍历所有的偶数
for(int i=0;i<dayHour;i=i+2){ for(int i=0;i<=dayHour;i=i+2){
//通过stream.filter()过滤时间段属性,access即为0对应的0->1时间段以及对应登录人数,或者2对应的2->3时间段以及对应的登录人数 //通过stream.filter()过滤时间段属性,access即为0对应的0->1时间段以及对应登录人数,或者2对应的2->3时间段以及对应的登录人数
String s1 = frontCompWithZore(2, i); String s1 = frontCompWithZore(2, i);
String s2 = frontCompWithZore(2, i+1); String s2 = frontCompWithZore(2, i+1);
@ -202,14 +202,14 @@ public class HrmsAccessRecordsLogServiceImpl extends ServiceImpl<HrmsAccessRecor
//获取对应的偶数时间段以及对应的登录用户数 //获取对应的偶数时间段以及对应的登录用户数
String loginTime=null; String loginTime=null;
for (AccessRecordsObjRes res:access) { for (AccessRecordsObjRes res:access) {
loginTime = s1; loginTime = s1+":00";
Integer loginSum = res.getLoginSum(); Integer loginSum = res.getLoginSum();
res.setLoginSum(loginSum); res.setLoginSum(loginSum);
} }
int sum = access.stream().mapToInt(AccessRecordsObjRes::getLoginSum).sum(); int sum = access.stream().mapToInt(AccessRecordsObjRes::getLoginSum).sum();
if(sum==0){ if(sum==0){
loginTime=s1; loginTime=s1+":00";
} }
list.add(loginTime); list.add(loginTime);
list2.add(sum); list2.add(sum);

@ -90,7 +90,8 @@ public class UserServiceImpl extends ServiceImpl<UserLoginDao, UserEntity> imple
if(dbUser == null){//openId不存在,返回绑定手机号页面,须另写绑定手机号接口 if(dbUser == null){//openId不存在,返回绑定手机号页面,须另写绑定手机号接口
log.info("dbUser为空,openId不存在,请先绑定手机号哦~~~"); log.info("dbUser为空,openId不存在,请先绑定手机号哦~~~");
try { try {
response.sendRedirect("http://www.huorantech.cn/dq/index.html#/bind-phone?matched="+md5OpenId);//跳转绑定手机号页面 //response.sendRedirect("http://www.huorantech.cn/dq/index.html#/bind-phone?matched="+md5OpenId);//跳转绑定手机号页面
response.sendRedirect("http://8.129.127.185/dq/index.html#/bind-phone?matched="+md5OpenId);//跳转绑定手机号页面
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
@ -151,7 +152,8 @@ public class UserServiceImpl extends ServiceImpl<UserLoginDao, UserEntity> imple
if (countWeChatId > 0){ if (countWeChatId > 0){
try { try {
log.info("微信重复了,我走到了这里............................."); log.info("微信重复了,我走到了这里.............................");
response.sendRedirect("http://www.huorantech.cn/dq/index.html#/workbench-manpower?token="+token+"&message=1"); //response.sendRedirect("http://www.huorantech.cn/dq/index.html#/workbench-manpower?token="+token+"&message=1");
response.sendRedirect("http://8.129.127.185/dq/index.html#/workbench-manpower?token="+token+"&message=1");
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
@ -161,7 +163,8 @@ public class UserServiceImpl extends ServiceImpl<UserLoginDao, UserEntity> imple
if (result){ if (result){
try { try {
log.info("转发成功---------------------------------------"); log.info("转发成功---------------------------------------");
response.sendRedirect("http://www.huorantech.cn/dq/index.html#/workbench-manpower?token="+token); //response.sendRedirect("http://www.huorantech.cn/dq/index.html#/workbench-manpower?token="+token);
response.sendRedirect("http://8.129.127.185/dq/index.html#/workbench-manpower?token="+token);
}catch (IOException e){ }catch (IOException e){
e.printStackTrace(); e.printStackTrace();
} }

@ -1,7 +1,7 @@
#服务名称 #服务名称
spring.application.name=dq-financial-hrms-auth spring.application.name=dq-financial-hrms-auth
#配置中心地址 #配置中心地址
spring.cloud.nacos.config.server-addr=192.168.31.140:8848 spring.cloud.nacos.config.server-addr=127.0.0.1:8848
spring.cloud.nacos.config.file-extension=yml spring.cloud.nacos.config.file-extension=yml
#redis配置 #redis配置
spring.redis.host=127.0.0.1 spring.redis.host=127.0.0.1

@ -1,7 +1,7 @@
##服务名称 ##服务名称
spring.application.name=dq-financial-hrms spring.application.name=dq-financial-hrms
#配置中心地址 #配置中心地址
spring.cloud.nacos.config.server-addr=192.168.31.140:8848 spring.cloud.nacos.config.server-addr=127.0.0.1:8848
spring.cloud.nacos.config.file-extension=yml spring.cloud.nacos.config.file-extension=yml
#redis配置 #redis配置
spring.redis.host=127.0.0.1 spring.redis.host=127.0.0.1

@ -33,16 +33,16 @@ public class PromptSuccess {
public static final String UPLOAD_FILE_PATH = "//usr//local//nginx//html//admin//headImg//"; // linux图片存放路径 public static final String UPLOAD_FILE_PATH = "//usr//local//nginx//html//admin//headImg//"; // linux图片存放路径
//public static final String IMAGE_URL_PATH = "http://www.huorantech.cn/headImg/"; // 数据库/预加载图片路径 //public static final String IMAGE_URL_PATH = "http://www.huorantech.cn/headImg/"; // 数据库/预加载图片路径
//public static final String IMAGE_URL_PATH = "http://8.129.127.185:8080/headImg/"; // 数据库/预加载图片路径 public static final String IMAGE_URL_PATH = "http://8.129.127.185:8080/headImg/"; // 数据库/预加载图片路径
public static final String IMAGE_URL_PATH = "http://47.107.237.129:8080/headImg/"; // 数据库/预加载图片路径 //public static final String IMAGE_URL_PATH = "http://47.107.237.129:8080/headImg/"; // 数据库/预加载图片路径
public static final String[] LETTERS = {"A","B","C","D","E"}; // 员工姓名重复时自动加的字母,可再添加 public static final String[] LETTERS = {"A","B","C","D","E"}; // 员工姓名重复时自动加的字母,可再添加
public static final String STATUS_REFUSE = "拒绝"; public static final String STATUS_REFUSE = "拒绝";
//public static final String ENCLOSUREFILE_URL_PATH = "http://www.huorantech.cn/enclosureFile/"; // 附件文件存放路径 //public static final String ENCLOSUREFILE_URL_PATH = "http://www.huorantech.cn/enclosureFile/"; // 附件文件存放路径
//public static final String ENCLOSUREFILE_URL_PATH = "http://8.129.127.185:8080/enclosureFile/"; // 附件文件存放路径 public static final String ENCLOSUREFILE_URL_PATH = "http://8.129.127.185:8080/enclosureFile/"; // 附件文件存放路径
public static final String ENCLOSUREFILE_URL_PATH = "http://47.107.237.129:8080/enclosureFile/"; // 附件文件存放路径 //public static final String ENCLOSUREFILE_URL_PATH = "http://47.107.237.129:8080/enclosureFile/"; // 附件文件存放路径
public static final String FILE_URL_PATH = "//usr//local//nginx//html//admin//enclosureFile//"; // 附件文件存放路径 public static final String FILE_URL_PATH = "//usr//local//nginx//html//admin//enclosureFile//"; // 附件文件存放路径

@ -0,0 +1,81 @@
package com.daqing.framework.domain.guarantee;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
/**
* <p>
* 抄送详情表
* </p>
*
* @author Qyq
* @since 2021-01-15
*/
@TableName("dg_copy_for")
public class DgCopyFor implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键id
*/
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* 业务id
*/
private Integer businessId;
/**
* 业务模块进程id
*/
private Integer processId;
/**
* 截图url
*/
private String picUrl;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getBusinessId() {
return businessId;
}
public void setBusinessId(Integer businessId) {
this.businessId = businessId;
}
public Integer getProcessId() {
return processId;
}
public void setProcessId(Integer processId) {
this.processId = processId;
}
public String getPicUrl() {
return picUrl;
}
public void setPicUrl(String picUrl) {
this.picUrl = picUrl;
}
@Override
public String toString() {
return "DgCopyFor{" +
"id=" + id +
", businessId=" + businessId +
", processId=" + processId +
", picUrl=" + picUrl +
"}";
}
}

@ -0,0 +1,68 @@
package com.daqing.framework.domain.guarantee;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
/**
* <p>
* 抄送用户表
* </p>
*
* @author Qyq
* @since 2021-01-15
*/
@TableName("dg_copy_user")
public class DgCopyUser implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键id
*/
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* 抄送id
*/
private Integer copyId;
/**
* 用户id
*/
private Integer userId;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getCopyId() {
return copyId;
}
public void setCopyId(Integer copyId) {
this.copyId = copyId;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
@Override
public String toString() {
return "DgCopyUser{" +
"id=" + id +
", copyId=" + copyId +
", userId=" + userId +
"}";
}
}

@ -0,0 +1,68 @@
package com.daqing.framework.domain.guarantee;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
/**
* <p>
* 业务模块选择抄送用户表
* </p>
*
* @author Qyq
* @since 2021-01-15
*/
@TableName("dg_process_user")
public class DgProcessUser implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键id
*/
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
* 业务模块id
*/
private Integer processId;
/**
* 用户id
*/
private Integer userId;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getProcessId() {
return processId;
}
public void setProcessId(Integer processId) {
this.processId = processId;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
@Override
public String toString() {
return "DgProcessUser{" +
"id=" + id +
", processId=" + processId +
", userId=" + userId +
"}";
}
}

@ -1,7 +1,7 @@
#服务名称 #服务名称
spring.application.name=dq-govern-gateway spring.application.name=dq-govern-gateway
#配置中心地址 #配置中心地址
spring.cloud.nacos.config.server-addr=192.168.31.140:8848 spring.cloud.nacos.config.server-addr=127.0.0.1:8848
spring.cloud.nacos.config.file-extension=yml spring.cloud.nacos.config.file-extension=yml
#redis配置 #redis配置
spring.redis.host=127.0.0.1 spring.redis.host=127.0.0.1

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.daqing.financial.hrauth.mapper.HrmsAccessRecordsLogMapper">
<!-- 通用查询映射结果 -->
<resultMap id="BaseResultMap" type="com.daqing.financial.hrauth.hrms.HrmsAccessRecordsLog">
<id column="id" property="id" />
<result column="account" property="account" />
<result column="name" property="name" />
<result column="deptName" property="deptName" />
<result column="type" property="type" />
<result column="login_time" property="loginTime" />
</resultMap>
</mapper>
Loading…
Cancel
Save