Browse Source

修改群组服务的execution表达式

master
wangchao 5 years ago
parent
commit
dfdc7ea8de
  1. 14
      epmet-gateway/pom.xml
  2. 2
      epmet-module/gov-issue/gov-issue-server/src/main/java/com/epmet/service/impl/IssueServiceImpl.java
  3. 4
      epmet-module/gov-issue/gov-issue-server/src/main/resources/mapper/IssueDao.xml
  4. 2
      epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/aspect/RequestLogAspect.java

14
epmet-gateway/pom.xml

@ -136,7 +136,8 @@
<!-- 15、居民端个人信息 --> <!-- 15、居民端个人信息 -->
<gateway.routes.resi-mine-server.uri>lb://resi-mine-server</gateway.routes.resi-mine-server.uri> <gateway.routes.resi-mine-server.uri>lb://resi-mine-server</gateway.routes.resi-mine-server.uri>
<!-- 16、居民端楼院校组 --> <!-- 16、居民端楼院校组 -->
<gateway.routes.resi-group-server.uri>lb://resi-group-server</gateway.routes.resi-group-server.uri> <!--<gateway.routes.resi-group-server.uri>http://localhost:8095</gateway.routes.resi-group-server.uri>-->
<gateway.routes.resi-group-server.uri>lb://resi-group-server</gateway.routes.resi-group-server.uri>
<!-- 17、党员认证、热心居民申请 --> <!-- 17、党员认证、热心居民申请 -->
<gateway.routes.resi-partymember-server.uri>lb://resi-partymember-server</gateway.routes.resi-partymember-server.uri> <gateway.routes.resi-partymember-server.uri>lb://resi-partymember-server</gateway.routes.resi-partymember-server.uri>
<!-- 18、政府端网格管理 --> <!-- 18、政府端网格管理 -->
@ -150,7 +151,8 @@
<!-- 21、居民端党群e事 --> <!-- 21、居民端党群e事 -->
<gateway.routes.resi-hall-server.uri>lb://resi-hall-server</gateway.routes.resi-hall-server.uri> <gateway.routes.resi-hall-server.uri>lb://resi-hall-server</gateway.routes.resi-hall-server.uri>
<!-- 22、政府工作端议题管理 --> <!-- 22、政府工作端议题管理 -->
<gateway.routes.gov-issue-server.uri>lb://gov-issue-server</gateway.routes.gov-issue-server.uri> <!--<gateway.routes.gov-issue-server.uri>http://localhost:8101</gateway.routes.gov-issue-server.uri>-->
<gateway.routes.gov-issue-server.uri>lb://gov-issue-server</gateway.routes.gov-issue-server.uri>
<!-- 23、政府工作端项目管理 --> <!-- 23、政府工作端项目管理 -->
<gateway.routes.gov-project-server.uri>lb://gov-project-server</gateway.routes.gov-project-server.uri> <gateway.routes.gov-project-server.uri>lb://gov-project-server</gateway.routes.gov-project-server.uri>
<!-- 24、公共服务 --> <!-- 24、公共服务 -->
@ -171,7 +173,7 @@
<spring.redis.port>6379</spring.redis.port> <spring.redis.port>6379</spring.redis.port>
<spring.redis.password>EpmEtrEdIs!q@w</spring.redis.password> <spring.redis.password>EpmEtrEdIs!q@w</spring.redis.password>
<!-- nacos --> <!-- nacos -->
<nacos.register-enabled>true</nacos.register-enabled> <nacos.register-enabled>false</nacos.register-enabled>
<nacos.server-addr>192.168.10.150:8848</nacos.server-addr> <nacos.server-addr>192.168.10.150:8848</nacos.server-addr>
<nacos.discovery.namespace>67e3c350-533e-4d7c-9f8f-faf1b4aa82ae</nacos.discovery.namespace> <nacos.discovery.namespace>67e3c350-533e-4d7c-9f8f-faf1b4aa82ae</nacos.discovery.namespace>
<nacos.config.namespace></nacos.config.namespace> <nacos.config.namespace></nacos.config.namespace>
@ -208,7 +210,8 @@
<!-- 15、居民端个人信息 --> <!-- 15、居民端个人信息 -->
<gateway.routes.resi-mine-server.uri>lb://resi-mine-server</gateway.routes.resi-mine-server.uri> <gateway.routes.resi-mine-server.uri>lb://resi-mine-server</gateway.routes.resi-mine-server.uri>
<!-- 16、居民端楼院校组 --> <!-- 16、居民端楼院校组 -->
<gateway.routes.resi-group-server.uri>lb://resi-group-server</gateway.routes.resi-group-server.uri> <gateway.routes.resi-group-server.uri>http://localhost:8095</gateway.routes.resi-group-server.uri>
<!-- <gateway.routes.resi-group-server.uri>lb://resi-group-server</gateway.routes.resi-group-server.uri>-->
<!-- 17、党员认证、热心居民申请 --> <!-- 17、党员认证、热心居民申请 -->
<gateway.routes.resi-partymember-server.uri>lb://resi-partymember-server</gateway.routes.resi-partymember-server.uri> <gateway.routes.resi-partymember-server.uri>lb://resi-partymember-server</gateway.routes.resi-partymember-server.uri>
<!--18.政府端-权限-服务--> <!--18.政府端-权限-服务-->
@ -220,7 +223,8 @@
<!-- 21、居民端党群e事 --> <!-- 21、居民端党群e事 -->
<gateway.routes.resi-hall-server.uri>lb://resi-hall-server</gateway.routes.resi-hall-server.uri> <gateway.routes.resi-hall-server.uri>lb://resi-hall-server</gateway.routes.resi-hall-server.uri>
<!-- 22、政府工作端议题管理 --> <!-- 22、政府工作端议题管理 -->
<gateway.routes.gov-issue-server.uri>lb://gov-issue-server</gateway.routes.gov-issue-server.uri> <gateway.routes.gov-issue-server.uri>http://localhost:8101</gateway.routes.gov-issue-server.uri>
<!-- <gateway.routes.gov-issue-server.uri>lb://gov-issue-server</gateway.routes.gov-issue-server.uri>-->
<!-- 23、政府工作端项目管理 --> <!-- 23、政府工作端项目管理 -->
<gateway.routes.gov-project-server.uri>lb://gov-project-server</gateway.routes.gov-project-server.uri> <gateway.routes.gov-project-server.uri>lb://gov-project-server</gateway.routes.gov-project-server.uri>
<!-- 24、公共服务 --> <!-- 24、公共服务 -->

2
epmet-module/gov-issue/gov-issue-server/src/main/java/com/epmet/service/impl/IssueServiceImpl.java

@ -266,7 +266,7 @@ public class IssueServiceImpl extends BaseServiceImpl<IssueDao, IssueEntity> imp
issueDTO.setIssueStatus(ModuleConstants.ISSUE_STATUS_VOTING); issueDTO.setIssueStatus(ModuleConstants.ISSUE_STATUS_VOTING);
issueDTO.setDecidedTime(issueShiftedFromTopicFormDTO.getCreatedTime()); issueDTO.setDecidedTime(issueShiftedFromTopicFormDTO.getCreatedTime());
int issueAffectedRow = baseDao.insertOne(issueDTO); int issueAffectedRow = baseDao.insertOne(issueDTO);
if(issueAffectedRow == 1 && StringUtils.isNotBlank(issueDTO.getId())){ if(issueAffectedRow == NumConstant.ONE && StringUtils.isNotBlank(issueDTO.getId())){
//2.新增议题流程 //2.新增议题流程
IssueProcessDTO issueProcessDTO = new IssueProcessDTO(); IssueProcessDTO issueProcessDTO = new IssueProcessDTO();
issueProcessDTO.setIssueId(issueDTO.getId()); issueProcessDTO.setIssueId(issueDTO.getId());

4
epmet-module/gov-issue/gov-issue-server/src/main/resources/mapper/IssueDao.xml

@ -193,8 +193,8 @@
<select id="selectVotingList" parameterType="com.epmet.dto.form.CommonIssueListFormDTO" resultType="com.epmet.dto.result.VotingIssueListResultDTO"> <select id="selectVotingList" parameterType="com.epmet.dto.form.CommonIssueListFormDTO" resultType="com.epmet.dto.result.VotingIssueListResultDTO">
SELECT SELECT
ID AS issueId, ID AS issueId,
IFNULL(ISSUE_TITLE,''), IFNULL(ISSUE_TITLE,'') AS issueTitle,
IFNULL(SUGGESTION,''), IFNULL(SUGGESTION,'')AS suggestion,
UNIX_TIMESTAMP( created_time ) AS issuePublishTime UNIX_TIMESTAMP( created_time ) AS issuePublishTime
FROM FROM
issue issue

2
epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/aspect/RequestLogAspect.java

@ -21,7 +21,7 @@ import javax.servlet.http.HttpServletRequest;
public class RequestLogAspect extends BaseRequestLogAspect { public class RequestLogAspect extends BaseRequestLogAspect {
@Override @Override
@Around(value = "execution(* com.epmet.controller.*Controller*.*(..)) ") @Around(value = "execution(* com.epmet.modules.*.controller.*Controller*.*(..)) ")
public Object proceed(ProceedingJoinPoint point) throws Throwable { public Object proceed(ProceedingJoinPoint point) throws Throwable {
return super.proceed(point, getRequest()); return super.proceed(point, getRequest());
} }

Loading…
Cancel
Save