Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
011ac4a4
Commit
011ac4a4
authored
Dec 26, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):bug处理
1.历史有证登记创建日期没写 2.业务办理时效统计,使用的开始日期不对
parent
548485ce
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
CommonMapper.xml
...-module-jg-api/src/main/resources/mapper/CommonMapper.xml
+10
-10
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+1
-1
JGStatisticsMapper.xml
...tics-api/src/main/resources/mapper/JGStatisticsMapper.xml
+3
-3
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/CommonMapper.xml
View file @
011ac4a4
...
...
@@ -773,10 +773,10 @@
and n.is_delete = 0
and (n.manage_type is null or n.manage_type = '' or n.manage_type = 'set')
<if
test=
"param.beginDate != null"
>
and CAST(n.
reg
_date as date)
<![CDATA[>=]]>
#{param.beginDate}
and CAST(n.
create
_date as date)
<![CDATA[>=]]>
#{param.beginDate}
</if>
<if
test=
"param.endDate != null"
>
and CAST(n.
reg
_date as date)
<![CDATA[<=]]>
#{param.endDate}
and CAST(n.
create
_date as date)
<![CDATA[<=]]>
#{param.endDate}
</if>
<if
test=
"param.receiveOrgCode != null"
>
and n.receive_company_org_code like concat(#{param.receiveOrgCode}, '%')
...
...
@@ -1429,10 +1429,10 @@
</otherwise>
</choose>
<if
test=
"dto.beginDate != null and dto.beginDate != ''"
>
and date_ge(CAST(
reg
_date as date),#{dto.beginDate})
and date_ge(CAST(
create
_date as date),#{dto.beginDate})
</if>
<if
test=
"dto.endDate != null and dto.endDate != ''"
>
and date_le(CAST(
reg
_date as date),#{dto.endDate})
and date_le(CAST(
create
_date as date),#{dto.endDate})
</if>
union all
SELECT count(1) as num FROM "tzs_jg_vehicle_information" where status != '使用单位待提交' and status != '使用单位已撤回' and status != '已作废' and status != '已完成'
...
...
@@ -1812,10 +1812,10 @@
</otherwise>
</choose>
<if
test=
"dto.beginDate != null and dto.beginDate != ''"
>
and date_ge(CAST(
reg
_date as date),#{dto.beginDate})
and date_ge(CAST(
create
_date as date),#{dto.beginDate})
</if>
<if
test=
"dto.endDate != null and dto.endDate != ''"
>
and date_le(CAST(
reg
_date as date),#{dto.endDate})
and date_le(CAST(
create
_date as date),#{dto.endDate})
</if>
<if
test=
"dto.companyName != null and dto.companyName != ''"
>
and use_unit_name like CONCAT('%', #{dto.companyName}, '%')
...
...
@@ -2572,10 +2572,10 @@
</otherwise>
</choose>
<if
test=
"dto.beginDate != null and dto.beginDate != ''"
>
and date_ge(CAST(
reg
_date as date),#{dto.beginDate})
and date_ge(CAST(
create
_date as date),#{dto.beginDate})
</if>
<if
test=
"dto.endDate != null and dto.endDate != ''"
>
and date_le(CAST(
reg
_date as date),#{dto.endDate})
and date_le(CAST(
create
_date as date),#{dto.endDate})
</if>
union all
SELECT count(1) as num FROM "tzs_jg_vehicle_information" where status != '使用单位待提交' and status != '使用单位已撤回' and status != '已作废' and status != '已完成'
...
...
@@ -2957,10 +2957,10 @@
</otherwise>
</choose>
<if
test=
"dto.beginDate != null and dto.beginDate != ''"
>
and date_ge(CAST(
reg
_date as date),#{dto.beginDate})
and date_ge(CAST(
create
_date as date),#{dto.beginDate})
</if>
<if
test=
"dto.endDate != null and dto.endDate != ''"
>
and date_le(CAST(
reg
_date as date),#{dto.endDate})
and date_le(CAST(
create
_date as date),#{dto.endDate})
</if>
<if
test=
"dto.companyName != null and dto.companyName != ''"
>
and use_unit_name like CONCAT('%', #{dto.companyName}, '%')
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
View file @
011ac4a4
...
...
@@ -4259,7 +4259,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
CompanyBo
company
=
reginParams
.
getCompany
();
String
sequenceNbr
=
Objects
.
toString
(
map
.
get
(
"sequenceNbr"
),
null
);
JgUseRegistration
jgUseRegistration
=
ValidationUtil
.
isEmpty
(
sequenceNbr
)
?
new
JgUseRegistration
()
:
this
.
getBaseMapper
().
selectById
(
Long
.
valueOf
(
sequenceNbr
));
jgUseRegistration
.
setCreateDate
(
new
Date
());
jgUseRegistration
.
setRegDate
(
ValidationUtil
.
isEmpty
(
map
.
get
(
"oRegDate"
))
?
new
Date
()
:
DateUtils
.
dateParse
((
String
)
map
.
get
(
"oRegDate"
),
DateUtils
.
DATE_PATTERN
));
jgUseRegistration
.
setInputUnitNo
(
Objects
.
toString
(
map
.
get
(
"oRegUnit"
)));
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/resources/mapper/JGStatisticsMapper.xml
View file @
011ac4a4
...
...
@@ -688,7 +688,7 @@
</select>
<select
id=
"queryUseAvgDayByReceiveCompany"
resultType=
"com.yeejoin.amos.boot.biz.common.dto.CountDto"
>
SELECT
round(avg(T.audit_pass_date::date - T.
reg
_date::date + 1),1) as strValue,
round(avg(T.audit_pass_date::date - T.
create
_date::date + 1),1) as strValue,
T.receive_company_code AS keyStr
FROM
tzs_jg_use_registration T
...
...
@@ -711,10 +711,10 @@
</otherwise>
</choose>
<if
test=
"dto.beginDate !=null and dto.beginDate !=''"
>
and date_ge(CAST(T.
reg
_date as date),#{dto.beginDate})
and date_ge(CAST(T.
audit_pass
_date as date),#{dto.beginDate})
</if>
<if
test=
"dto.endDate !=null and dto.endDate !=''"
>
and date_le(CAST(T.
reg
_date as date),#{dto.endDate})
and date_le(CAST(T.
audit_pass
_date as date),#{dto.endDate})
</if>
GROUP BY T.receive_company_code
union all
...
...
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