Commit 32bdcf26 authored by suhuiguang's avatar suhuiguang

Merge branch 'developer' of http://172.16.10.76/moa/amos-boot-biz into developer

parents 43293d76 4788dfac
......@@ -6,12 +6,15 @@ spring.datasource.password=root_123
#eureka properties:
eureka.client.serviceUrl.defaultZone=http://172.16.10.72:10001/eureka/
eureka.client.registry-fetch-interval-seconds=5
eureka.instance.prefer-ip-address=true
management.endpoint.health.show-details=always
management.endpoints.web.exposure.include=*
eureka.instance.health-check-url-path=/health
eureka.instance.health-check-url-path=/actuator/health
eureka.instance.lease-expiration-duration-in-seconds=10
eureka.instance.lease-renewal-interval-in-seconds=5
eureka.instance.metadata-map.management.context-path=${server.servlet.context-path}/actuator
eureka.instance.status-page-url-path=/info
eureka.instance.status-page-url-path=/actuator/info
eureka.instance.metadata-map.management.api-docs=http://localhost:${server.port}${server.servlet.context-path}/doc.html
......
......@@ -5,9 +5,17 @@ spring.datasource.username=root
spring.datasource.password=root_123
#eureka properties:
eureka.instance.hostname=172.16.10.72
eureka.client.serviceUrl.defaultZone=http://172.16.10.72:10001/eureka/
eureka.client.registry-fetch-interval-seconds=5
eureka.instance.prefer-ip-address=true
eureka.client.serviceUrl.defaultZone=http://${eureka.instance.hostname}:10001/eureka/
management.endpoint.health.show-details=always
management.endpoints.web.exposure.include=*
eureka.instance.health-check-url-path=/actuator/health
eureka.instance.lease-expiration-duration-in-seconds=10
eureka.instance.lease-renewal-interval-in-seconds=5
eureka.instance.metadata-map.management.context-path=${server.servlet.context-path}/actuator
eureka.instance.status-page-url-path=/actuator/info
eureka.instance.metadata-map.management.api-docs=http://localhost:${server.port}${server.servlet.context-path}/doc.html
spring.redis.database=0
......
......@@ -35,6 +35,9 @@ public class FirefightersDto extends BaseDto {
@ApiModelProperty(value = "队伍id")
private String fireTeamId;
@ApiModelProperty(value = "队伍名称")
private String fireTeamName;
@ApiModelProperty(value = "姓名")
private String name;
......@@ -68,6 +71,9 @@ public class FirefightersDto extends BaseDto {
@ApiModelProperty(value = "岗位名称")
private String jobTitle;
@ApiModelProperty(value = "岗位code")
private String jobTitleCode;
@ApiModelProperty(value = "人员状态,在职/离职")
private String state;
......
......@@ -14,8 +14,11 @@
GROUP BY ft.sequence_nbr
</select>
<select id="queryFighterByTeamId" resultType="com.yeejoin.amos.boot.module.common.api.dto.FirefightersDto">
select *
from cb_firefighters
SELECT
ff.*,
(select name from cb_fire_team where sequence_nbr = ff.fire_team_id) fireTeamName
FROM
cb_firefighters ff
where is_delete = 0
and fire_team_id in
<if test="teamIds != null">
......
......@@ -124,8 +124,8 @@
parent_id
FROM `cb_org_usr`
WHERE is_delete = 0
and biz_org_type = "COMPANY"
or biz_org_type = "DEPARTMENT"
and (biz_org_type = "COMPANY"
or biz_org_type = "DEPARTMENT")
</select>
<select id="queryOrgUsrListByBizOrgCode" resultType="com.yeejoin.amos.boot.module.common.api.entity.OrgUsr">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment