Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
b4e192dd
Commit
b4e192dd
authored
Jun 27, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
es error
parent
e15e81d7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
3 deletions
+20
-3
WorkFlowFeignService.java
...amos/boot/module/hygf/biz/feign/WorkFlowFeignService.java
+1
-1
FinancingInfoServiceImpl.java
...odule/hygf/biz/service/impl/FinancingInfoServiceImpl.java
+12
-1
application-dev.properties
...le-hygf-biz/src/main/resources/application-dev.properties
+7
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/feign/WorkFlowFeignService.java
View file @
b4e192dd
...
@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.*;
...
@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.*;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
@FeignClient
(
name
=
"
AMOS-API-WORKFLOW
"
,
path
=
"workflow"
,
configuration
=
{
XidFeignConfiguration
.
class
})
@FeignClient
(
name
=
"
${workflow.feign.name}
"
,
path
=
"workflow"
,
configuration
=
{
XidFeignConfiguration
.
class
})
public
interface
WorkFlowFeignService
{
public
interface
WorkFlowFeignService
{
/***
/***
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/FinancingInfoServiceImpl.java
View file @
b4e192dd
...
@@ -157,15 +157,26 @@ public class FinancingInfoServiceImpl extends BaseService<FinancingInfoDto, Fina
...
@@ -157,15 +157,26 @@ public class FinancingInfoServiceImpl extends BaseService<FinancingInfoDto, Fina
financingAuditingDto
.
setPeasantHouseholdId
(
Long
.
valueOf
(
e
));
financingAuditingDto
.
setPeasantHouseholdId
(
Long
.
valueOf
(
e
));
financingAuditingDto
.
setPromoter
(
RequestContext
.
getExeUserId
());
financingAuditingDto
.
setPromoter
(
RequestContext
.
getExeUserId
());
financingAuditingService
.
createWithModel
(
financingAuditingDto
);
financingAuditingService
.
createWithModel
(
financingAuditingDto
);
}
else
if
(
financingInfos
.
getStatus
().
equals
(
FinancingAuditEnum
.
审核不通过
.
getName
())
||
financingInfos
.
getStatus
().
equals
(
FinancingAuditEnum
.
整改待推送
.
getName
())
){
}
//批量 兼容审核不通过及整改待推送
else
if
(
financingInfos
.
getStatus
().
equals
(
FinancingAuditEnum
.
审核不通过
.
getName
())
||
financingInfos
.
getStatus
().
equals
(
FinancingAuditEnum
.
整改待推送
.
getName
())
){
financingInfos
.
setStatus
(
FinancingAuditEnum
.
待融资审核
.
getName
());
financingInfos
.
setStatus
(
FinancingAuditEnum
.
待融资审核
.
getName
());
Map
<
String
,
Object
>
orgInfo1
=
this
.
getBaseMapper
().
selectRZOrgInfo
(
model
.
getFinancingCompaniesSeq
());
Map
<
String
,
Object
>
orgInfo1
=
this
.
getBaseMapper
().
selectRZOrgInfo
(
model
.
getFinancingCompaniesSeq
());
//业务表中无工作流id 需要补充
LambdaQueryWrapper
<
FinancingAuditing
>
queryWrapper1
=
new
LambdaQueryWrapper
<>();
queryWrapper1
.
eq
(
FinancingAuditing:
:
getPeasantHouseholdId
,
Long
.
valueOf
(
e
));
queryWrapper1
.
orderByDesc
(
BaseEntity:
:
getRecDate
);
queryWrapper1
.
last
(
"limit 1"
);
FinancingAuditing
financingInfos1
=
financingAuditingService
.
getBaseMapper
().
selectOne
(
queryWrapper1
);
financingInfos
.
setFinancingCompaniesCode
(
orgInfo1
.
getOrDefault
(
"ORG_CODE"
,
""
).
toString
());
financingInfos
.
setFinancingCompaniesCode
(
orgInfo1
.
getOrDefault
(
"ORG_CODE"
,
""
).
toString
());
financingInfos
.
setFinancingCompaniesName
(
orgInfo1
.
getOrDefault
(
"COMPANY_NAME"
,
""
).
toString
());
financingInfos
.
setFinancingCompaniesName
(
orgInfo1
.
getOrDefault
(
"COMPANY_NAME"
,
""
).
toString
());
this
.
updateById
(
financingInfos
);
this
.
updateById
(
financingInfos
);
Map
<
String
,
Object
>
map
=
BeanUtil
.
beanToMap
(
financingInfos
);
Map
<
String
,
Object
>
map
=
BeanUtil
.
beanToMap
(
financingInfos
);
map
.
put
(
"isFlag"
,
"0"
);
map
.
put
(
"isFlag"
,
"0"
);
map
.
put
(
"instanceId"
,
financingInfos1
.
getInstanceId
());
this
.
execueFlow
(
map
);
this
.
execueFlow
(
map
);
}
}
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/resources/application-dev.properties
View file @
b4e192dd
...
@@ -234,9 +234,14 @@ seata.service.grouplist.hygf-seata=47.92.234.253:8091
...
@@ -234,9 +234,14 @@ seata.service.grouplist.hygf-seata=47.92.234.253:8091
# Seata 配置
# Seata 配置
seata.enabled
=
true
seata.enabled
=
true
seata.enable-auto-data-source-proxy
=
false
seata.enable-auto-data-source-proxy
=
false
#seata.client.undo.log-serialization=kryo
seata.datasource.autoproxy.datasource-proxy-mode
=
original
seata.datasource.autoproxy.datasource-proxy-mode
=
original
seata.datasource.autoproxy.enabled
=
true
seata.datasource.autoproxy.enabled
=
true
seata.datasource.autoproxy.data-source-names
=
mysql
seata.datasource.autoproxy.data-source-names
=
mysql
## 47环境 排除es报错引进无用配置 业务未实际使用es
spring.elasticsearch.rest.uris
=
http://47.92.234.253:9200
spring.elasticsearch.rest.connection-timeout
=
30000
spring.elasticsearch.rest.username
=
elastic
spring.elasticsearch.rest.password
=
123456
spring.elasticsearch.rest.read-timeout
=
30000
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment