企业端岗位总体信息
This commit is contained in:
parent
759c42abb7
commit
afdae31394
|
|
@ -1,5 +1,6 @@
|
||||||
package com.rzyc.model.log;
|
package com.rzyc.model.log;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
|
||||||
|
|
@ -38,6 +39,7 @@ public class SysLogs implements Serializable {
|
||||||
@ApiModelProperty("ip地址")
|
@ApiModelProperty("ip地址")
|
||||||
private String ipAddress;
|
private String ipAddress;
|
||||||
|
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@ApiModelProperty("时间")
|
@ApiModelProperty("时间")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2608,7 +2608,10 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="findEnterpriseByPhoneNumber" resultMap="BaseResultMap">
|
<select id="findEnterpriseByPhoneNumber" resultMap="BaseResultMap">
|
||||||
select sysent.EntName,sysent.state,sysent.SysEnterpriseId,sysent.EntName from ent_user eu left join sysenterprise sysent on eu.enterprise_id = sysent.SysEnterpriseId where eu.mobile = #{entUserPhone}
|
select sysent.EntName,sysent.state,sysent.SysEnterpriseId,sysent.EntName
|
||||||
|
from ent_user eu
|
||||||
|
left join sysenterprise sysent on eu.enterprise_id = sysent.SysEnterpriseId
|
||||||
|
where eu.account = #{entUserPhone}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="insertList">
|
<insert id="insertList">
|
||||||
|
|
|
||||||
|
|
@ -205,6 +205,9 @@ public class PcBusinessService extends BaseController {
|
||||||
@PageOperation
|
@PageOperation
|
||||||
public SingleResult entUserList(String keyContent,Integer page,Integer pageSize,String postId,String enterpriseId,Integer userType){
|
public SingleResult entUserList(String keyContent,Integer page,Integer pageSize,String postId,String enterpriseId,Integer userType){
|
||||||
SingleResult singleResult = new SingleResult();
|
SingleResult singleResult = new SingleResult();
|
||||||
|
if("company".equals(postId) ){
|
||||||
|
postId = "";
|
||||||
|
}
|
||||||
Page<EntUser>users = (Page<EntUser>) entUserMapper.selectEntUserList(keyContent,postId,enterpriseId,userType);
|
Page<EntUser>users = (Page<EntUser>) entUserMapper.selectEntUserList(keyContent,postId,enterpriseId,userType);
|
||||||
//计算履职百分比,后期这里使用redis来读取履职进度
|
//计算履职百分比,后期这里使用redis来读取履职进度
|
||||||
for (EntUser e:users.getResult()) {
|
for (EntUser e:users.getResult()) {
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,21 @@ server:
|
||||||
port: 7011
|
port: 7011
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
|
redis:
|
||||||
|
host: 42.193.40.239
|
||||||
|
Auth: redis@rzyc123456
|
||||||
|
# 进入哨兵项目-这个端口就不用了,除非是单体
|
||||||
|
# port: 6379
|
||||||
|
sentinel:
|
||||||
|
master: mymaster
|
||||||
|
nodes: 42.193.40.239:26379,42.193.40.239:26380,42.193.40.239:26381
|
||||||
|
lettuce:
|
||||||
|
pool:
|
||||||
|
max-active: 8
|
||||||
|
max-idle: 8
|
||||||
|
min-idle: 0
|
||||||
|
max-wait: 100
|
||||||
|
shutdown-timeout: 50000
|
||||||
servlet:
|
servlet:
|
||||||
multipart:
|
multipart:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
spring:
|
spring:
|
||||||
profiles:
|
profiles:
|
||||||
active: dev #设定打包配置文件
|
active: prod #设定打包配置文件
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user