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
c91baf41
Commit
c91baf41
authored
Jul 19, 2024
by
hezhuozhi
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
aff995c7
f20f68ae
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
39 additions
and
22 deletions
+39
-22
IcbcEnum.java
.../com/yeejoin/amos/boot/module/hygf/api/Enum/IcbcEnum.java
+13
-1
HygfIcbcRecordQueryDTO.java
...amos/boot/module/hygf/api/dto/HygfIcbcRecordQueryDTO.java
+2
-2
HygfIcbcRecordMapper.xml
.../src/main/resources/mapper/mysql/HygfIcbcRecordMapper.xml
+15
-10
HygfIcbcController.java
...s/boot/module/hygf/biz/controller/HygfIcbcController.java
+6
-6
HygfIcbcServiceImpl.java
...oot/module/hygf/biz/service/impl/HygfIcbcServiceImpl.java
+0
-0
application-dev.properties
...le-hygf-biz/src/main/resources/application-dev.properties
+2
-2
IdxBizFanWarningRecordController.java
...xiop/biz/controller/IdxBizFanWarningRecordController.java
+0
-0
IdxBizPvWarningRecordController.java
...jxiop/biz/controller/IdxBizPvWarningRecordController.java
+0
-0
McbWarningMapper.xml
...pi/src/main/resources/mapper/warning/McbWarningMapper.xml
+1
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/Enum/IcbcEnum.java
View file @
c91baf41
...
...
@@ -65,7 +65,7 @@ public class IcbcEnum {
@Getter
@NoArgsConstructor
@AllArgsConstructor
enum
ProtocolStatus
{
public
static
enum
ProtocolStatus
{
NOT_EFFECTIVE
(
"未生效"
,
"0"
),
...
...
@@ -86,5 +86,17 @@ public class IcbcEnum {
*/
private
String
code
;
public
static
String
getNameByCode
(
String
code
,
String
defaultName
)
{
for
(
ProtocolStatus
state
:
ProtocolStatus
.
values
())
{
if
(
state
.
getCode
().
equals
(
code
))
{
return
state
.
getName
();
}
}
if
(
StringUtils
.
isNotEmpty
(
defaultName
))
{
return
defaultName
;
}
return
null
;
}
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/HygfIcbcRecordQueryDTO.java
View file @
c91baf41
...
...
@@ -32,10 +32,10 @@ public class HygfIcbcRecordQueryDTO {
private
String
phone
;
@ApiModelProperty
(
value
=
"区域公司"
)
private
String
regionalCompanies
Seq
;
private
String
regionalCompanies
Name
;
@ApiModelProperty
(
value
=
"所属地址"
)
private
String
address
;
private
String
address
Name
;
private
Integer
current
;
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/HygfIcbcRecordMapper.xml
View file @
c91baf41
...
...
@@ -10,7 +10,8 @@
</sql>
<select
id=
"listObjectCount"
resultType=
"integer"
>
SELECT count(1)
SELECT
count( DISTINCT ph.amos_user_id )
FROM
hygf_peasant_household ph LEFT JOIN hygf_icbc_record icbc ON ph.amos_user_id = icbc.amos_user_id
<where>
...
...
@@ -28,21 +29,22 @@
<if
test=
"param.phone != null and param.phone != ''"
>
AND ph.telephone LIKE CONCAT('%', #{param.phone}, '%')
</if>
<if
test=
"param.regionalCompaniesSeq != null and param.regionalCompaniesSeq != ''"
>
AND ph.regional_companies_seq = #{param.regionalCompaniesSeq}
<if
test=
"param.regionalCompaniesName != null and param.regionalCompaniesName != ''"
>
AND ph.regional_companies_name LIKE CONCAT('%', #{param.regionalCompaniesName}, '%')
</if>
<if
test=
"param.addressName != null and param.addressName != ''"
>
AND ph.project_address LIKE CONCAT('%', #{param.addressName}, '%')
</if>
</if>
</where>
GROUP BY
ph.amos_user_id
</select>
<select
id=
"listObject"
resultType=
"com.yeejoin.amos.boot.module.hygf.api.dto.HygfIcbcRecordDTO"
>
SELECT DISTINCT
icbc.sequence_nbr,
ph.owners_name
as custName,
ph.telephone
as phone,
ph.id_c
ard,
ifnull(icbc.cust_name, ph.owners_name)
as custName,
ifnull(icbc.phone, ph.telephone)
as phone,
ifnull(icbc.id_card, ph.id_card) as idC
ard,
ph.amos_user_id,
icbc.open_account_status,
icbc.protocol_status
...
...
@@ -63,8 +65,11 @@
<if
test=
"param.phone != null and param.phone != ''"
>
AND ph.telephone LIKE CONCAT('%', #{param.phone}, '%')
</if>
<if
test=
"param.regionalCompaniesSeq != null and param.regionalCompaniesSeq != ''"
>
AND ph.regional_companies_seq = #{param.regionalCompaniesSeq}
<if
test=
"param.regionalCompaniesName != null and param.regionalCompaniesName != ''"
>
AND ph.regional_companies_name LIKE CONCAT('%', #{param.regionalCompaniesName}, '%')
</if>
<if
test=
"param.addressName != null and param.addressName != ''"
>
AND ph.project_address LIKE CONCAT('%', #{param.addressName}, '%')
</if>
</if>
</where>
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/HygfIcbcController.java
View file @
c91baf41
...
...
@@ -85,14 +85,14 @@ public class HygfIcbcController extends BaseController {
return
hygfIcbcService
.
registerWalletCallback
(
request
,
response
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@GetMapping
(
value
=
"/{
sequenceNbr
}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据
sequenceNbr
查询注册电子钱包"
,
notes
=
"注册电子钱包"
)
public
ResponseModel
<
HygfIcbcRecordDTO
>
getObject
(
@PathVariable
String
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
hygfIcbcService
.
getObject
(
Long
.
valueOf
(
sequenceNbr
)
));
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{
userId
}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据
农户userId
查询注册电子钱包"
,
notes
=
"注册电子钱包"
)
public
ResponseModel
<
HygfIcbcRecordDTO
>
getObject
(
@PathVariable
String
userId
)
{
return
ResponseHelper
.
buildResponse
(
hygfIcbcService
.
getObject
(
userId
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/list"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"聚富通电子钱包列表查询"
,
notes
=
"聚富通电子钱包列表查询"
)
@UserLimits
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/HygfIcbcServiceImpl.java
View file @
c91baf41
This diff is collapsed.
Click to expand it.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/resources/application-dev.properties
View file @
c91baf41
...
...
@@ -248,4 +248,4 @@ spring.elasticsearch.rest.password=123456
spring.elasticsearch.rest.read-timeout
=
30000
## 聚富通 配置
hygf.icbc.callbackUrl
=
http://47.92.234.253:8088/hygf/icbc/notify
\ No newline at end of file
hygf.icbc.callbackUrl
=
https://yth.yunqingtech.com/hygf/icbc/notify
\ No newline at end of file
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/IdxBizFanWarningRecordController.java
View file @
c91baf41
This diff is collapsed.
Click to expand it.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/IdxBizPvWarningRecordController.java
View file @
c91baf41
This diff is collapsed.
Click to expand it.
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/resources/mapper/warning/McbWarningMapper.xml
View file @
c91baf41
...
...
@@ -160,7 +160,7 @@
</if>
</where>
ORDER BY
log.
CREATE
_DATE DESC
log.
REC
_DATE DESC
LIMIT #{start}, #{size}
</select>
...
...
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