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
31f2d6e2
Commit
31f2d6e2
authored
Jun 24, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):1,新增设备使用单位名称填写错误;2,按照单位办理的使用登记设备查询条件修改
parent
97e10e91
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
JgUseRegistrationMapper.xml
...api/src/main/resources/mapper/JgUseRegistrationMapper.xml
+4
-5
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationMapper.xml
View file @
31f2d6e2
...
...
@@ -412,8 +412,8 @@
and ui."RECORD" = #{jsonObject.record}
</if>
<if
test=
"jsonObject.record == null"
>
and not exists(SELECT 1 FROM tzs_jg_
vehicle_information v, tzs_jg_vehicle_inform
ation_eq ve WHERE
v.sequence_nbr = ve.
vehicle
_id AND ve.equ_id = ui."RECORD" and v.status !='使用单位待提交' and v.status
and not exists(SELECT 1 FROM tzs_jg_
use_registration v, tzs_jg_use_registr
ation_eq ve WHERE
v.sequence_nbr = ve.
equip_transfer
_id AND ve.equ_id = ui."RECORD" and v.status !='使用单位待提交' and v.status
!='一级受理已驳回' and v.status !='使用单位已撤回' and v.status !='已作废' )
</if>
ORDER BY ui.REC_DATE DESC
...
...
@@ -466,10 +466,9 @@
WHERE
ri."EQU_CATEGORY" = '2300'
and ui."DATA_SOURCE" like 'jg%'
and NOT(ui."EQU_STATE" is not null )
and NOT(ri."USE_ORG_CODE" is not null )
and (ri.whether_vehicle_cylinder is null or ri.whether_vehicle_cylinder != 1)
<if
test=
"jsonObject.useUnitCreditCode != null and jsonObject.useUnitCreditCode != ''"
>
-- 保证使用单位选择设备时(record为null) 能选择到本单位的设备 并且 监管单位在查看时(record 不为null)可以匹配到所有的设备
<if
test=
"jsonObject.useUnitCreditCode != null and jsonObject.useUnitCreditCode != '' and jsonObject.record == null"
>
and ui."USE_UNIT_CREDIT_CODE" = #{jsonObject.useUnitCreditCode}
</if>
<choose>
...
...
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/IdxBizJgRegisterInfoServiceImpl.java
View file @
31f2d6e2
...
...
@@ -1624,7 +1624,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
useInfo
.
setSequenceNbr
(
OPERATESAVE
.
equals
(
operateType
)
?
null
:
String
.
valueOf
(
equipmentInfoForm
.
get
(
"USEINFO_SEQ"
)));
if
(
companyTypeStr
.
contains
(
CompanyTypeEnum
.
USE
.
getCode
())
||
companyTypeStr
.
contains
(
CompanyTypeEnum
.
INDIVIDUAL
.
getCode
()))
{
useInfo
.
setUseUnitCreditCode
(
companyInfoMap
.
get
(
"creditCode"
).
toString
());
useInfo
.
setUseUnitName
(
companyInfoMap
.
get
(
"company
Type
Name"
).
toString
());
useInfo
.
setUseUnitName
(
companyInfoMap
.
get
(
"companyName"
).
toString
());
}
if
(
isCopy
)
{
...
...
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