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
860ab5a5
Commit
860ab5a5
authored
Jul 11, 2024
by
wujiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://36.40.66.175:5000/moa/jxdj_zx/amos-boot-zx-biz
into developer
parents
dabd903f
e716d872
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
9 deletions
+16
-9
PreparationMoneyMapper.xml
...rc/main/resources/mapper/mysql/PreparationMoneyMapper.xml
+8
-2
PreparationMoneyServiceImpl.java
...le/hygf/biz/service/impl/PreparationMoneyServiceImpl.java
+1
-0
application.properties
...iop-analyse-biz/src/main/resources/application.properties
+1
-1
McbWarningMapper.xml
...pi/src/main/resources/mapper/warning/McbWarningMapper.xml
+6
-6
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/PreparationMoneyMapper.xml
View file @
860ab5a5
...
@@ -37,7 +37,7 @@ LEFT JOIN hygf_document_station on hygf_document_station.station_id=hygf_peasan
...
@@ -37,7 +37,7 @@ LEFT JOIN hygf_document_station on hygf_document_station.station_id=hygf_peasan
and hygf_preparation_money.delivery_time between #{dto.deliveryTimeStart} and #{dto.deliveryTimeEnd}
and hygf_preparation_money.delivery_time between #{dto.deliveryTimeStart} and #{dto.deliveryTimeEnd}
</if>
</if>
</where>
</where>
ORDER BY
rec_date
DESC
ORDER BY
hygf_preparation_money.sequence_nbr
DESC
</select>
</select>
<select
id=
"preparationStation"
resultType=
"java.util.Map"
>
<select
id=
"preparationStation"
resultType=
"java.util.Map"
>
...
@@ -82,7 +82,13 @@ LEFT JOIN hygf_document_station on hygf_document_station.station_id=hygf_peasan
...
@@ -82,7 +82,13 @@ LEFT JOIN hygf_document_station on hygf_document_station.station_id=hygf_peasan
</if>
</if>
</where>
</where>
GROUP BY hygf_peasant_household.sequence_nbr
GROUP BY hygf_peasant_household.sequence_nbr
order by hygf_peasant_household.sequence_nbr DESC ) b
<if
test=
" preparationMoneyState == 1 "
>
order by hygf_preparation_money.delivery_time DESC
</if>
<if
test=
" preparationMoneyState == 0 "
>
order by hygf_peasant_household.sequence_nbr DESC
</if>
) b
</select>
</select>
</mapper>
</mapper>
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PreparationMoneyServiceImpl.java
View file @
860ab5a5
...
@@ -1086,6 +1086,7 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
...
@@ -1086,6 +1086,7 @@ public class PreparationMoneyServiceImpl extends BaseService<PreparationMoneyDto
up
.
set
(
PeasantHousehold:
:
getPreparationMoneyState
,
DeliveryStateeEnum
.
待补货
.
getName
());
up
.
set
(
PeasantHousehold:
:
getPreparationMoneyState
,
DeliveryStateeEnum
.
待补货
.
getName
());
up
.
set
(
PeasantHousehold:
:
getConstructionState
,
DeliveryStateeEnum
.
待补货
.
getName
());
up
.
set
(
PeasantHousehold:
:
getConstructionState
,
DeliveryStateeEnum
.
待补货
.
getName
());
up
.
in
(
BaseEntity:
:
getSequenceNbr
,
collect
);
up
.
in
(
BaseEntity:
:
getSequenceNbr
,
collect
);
preparationMoney
.
setDeliveryTime
(
null
);
peasantHouseholdMapper
.
update
(
null
,
up
);
peasantHouseholdMapper
.
update
(
null
,
up
);
}
else
{
}
else
{
preparationMoney
.
setOrderStatus
(
DeliveryStateeEnum
.
待确认
.
getName
());
preparationMoney
.
setOrderStatus
(
DeliveryStateeEnum
.
待确认
.
getName
());
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/application.properties
View file @
860ab5a5
spring.application.name
=
AMOS-JXIOP-ANALYSE-
WJ
spring.application.name
=
AMOS-JXIOP-ANALYSE-
CZ
server.servlet.context-path
=
/jxiop-analyse
server.servlet.context-path
=
/jxiop-analyse
server.port
=
33400
server.port
=
33400
server.uri-encoding
=
UTF-8
server.uri-encoding
=
UTF-8
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/resources/mapper/warning/McbWarningMapper.xml
View file @
860ab5a5
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
mcb_warning_warning_info log
mcb_warning_warning_info log
LEFT JOIN mcb_warning_base_source_attribution source1 ON source1.CODE = log.SOURCE_ATTRIBUTION
LEFT JOIN mcb_warning_base_source_attribution source1 ON source1.CODE = log.SOURCE_ATTRIBUTION
<where>
<where>
log.CREATE_DATE
= CURRENT_DATE
DATE_FORMAT(log.CREATE_DATE,'%Y-%m-%d')
= CURRENT_DATE
and WARNING_SOURCE_TYPE_CODE in (SELECT code FROM mcb_data_dictionary WHERE remark = 'OVERVIEW' )
and WARNING_SOURCE_TYPE_CODE in (SELECT code FROM mcb_data_dictionary WHERE remark = 'OVERVIEW' )
<if
test=
"projectOrgCodes != null and projectOrgCodes.size() > 0"
>
<if
test=
"projectOrgCodes != null and projectOrgCodes.size() > 0"
>
AND SOURCE_ATTRIBUTION IN
AND SOURCE_ATTRIBUTION IN
...
@@ -89,12 +89,12 @@
...
@@ -89,12 +89,12 @@
) a
) a
LEFT JOIN (SELECT
LEFT JOIN (SELECT
IFNULL( count( log.SEQUENCE_NBR ), 0 ) AS seriesData,
IFNULL( count( log.SEQUENCE_NBR ), 0 ) AS seriesData,
log.CREATE_DATE
AS axisData
DATE_FORMAT(log.CREATE_DATE,'%Y-%m-%d')
AS axisData
FROM
FROM
mcb_warning_warning_info log
mcb_warning_warning_info log
WHERE
WHERE
log.WARNING_SOURCE_TYPE_CODE IN ( SELECT CODE FROM mcb_data_dictionary WHERE remark = 'OVERVIEW' )
log.WARNING_SOURCE_TYPE_CODE IN ( SELECT CODE FROM mcb_data_dictionary WHERE remark = 'OVERVIEW' )
AND
log.CREATE_DATE >= get_time_sub(7
,'DAY')
AND
DATE_FORMAT(log.CREATE_DATE,'%Y-%m-%d') >= get_time_sub(6
,'DAY')
<if
test=
"projectOrgCodes != null and projectOrgCodes.size() > 0"
>
<if
test=
"projectOrgCodes != null and projectOrgCodes.size() > 0"
>
AND log.SOURCE_ATTRIBUTION IN
AND log.SOURCE_ATTRIBUTION IN
<foreach
collection=
"projectOrgCodes"
item=
"item"
open=
"("
separator=
","
close=
")"
>
<foreach
collection=
"projectOrgCodes"
item=
"item"
open=
"("
separator=
","
close=
")"
>
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
</foreach>
</foreach>
</if>
</if>
GROUP BY
GROUP BY
log.CREATE_DATE
) b ON a.date = b.axisData ORDER BY axisData
DATE_FORMAT(log.CREATE_DATE,'%Y-%m-%d')
) b ON a.date = b.axisData ORDER BY axisData
</select>
</select>
<select
id=
"queryWarningList"
resultType=
"java.util.Map"
>
<select
id=
"queryWarningList"
resultType=
"java.util.Map"
>
...
@@ -359,7 +359,7 @@
...
@@ -359,7 +359,7 @@
FROM
FROM
mcb_warning_warning_info
mcb_warning_warning_info
WHERE
WHERE
CREATE_DATE
= CURRENT_DATE and mcb_warning_warning_info.WARNING_SOURCE_TYPE_CODE in (select code FROM
DATE_FORMAT(CREATE_DATE,'%Y-%m-%d')
= CURRENT_DATE and mcb_warning_warning_info.WARNING_SOURCE_TYPE_CODE in (select code FROM
mcb_data_dictionary WHERE remark = 'OVERVIEW')
mcb_data_dictionary WHERE remark = 'OVERVIEW')
GROUP BY
GROUP BY
SOURCE_ATTRIBUTION
SOURCE_ATTRIBUTION
...
@@ -381,7 +381,7 @@
...
@@ -381,7 +381,7 @@
LEFT JOIN
LEFT JOIN
SubQuery sq ON a.CODE = sq.SOURCE_ATTRIBUTION
SubQuery sq ON a.CODE = sq.SOURCE_ATTRIBUTION
LEFT JOIN
LEFT JOIN
mcb_warning_warning_info b ON a.CODE = b.SOURCE_ATTRIBUTION AND
b.CREATE_DATE
= CURRENT_DATE
mcb_warning_warning_info b ON a.CODE = b.SOURCE_ATTRIBUTION AND
DATE_FORMAT(b.CREATE_DATE,'%Y-%m-%d')
= CURRENT_DATE
<where>
<where>
<if
test=
"sourceAttribution != null and sourceAttribution != ''"
>
<if
test=
"sourceAttribution != null and sourceAttribution != ''"
>
a.CODE LIKE CONCAT(#{sourceAttribution}, '%')
a.CODE LIKE CONCAT(#{sourceAttribution}, '%')
...
...
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