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
d16c2bf8
Commit
d16c2bf8
authored
Jan 29, 2024
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
使用登记、单位变更、维保备案列表修改
parent
120680ad
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
JgChangeRegistrationUnitMapper.xml
.../main/resources/mapper/JgChangeRegistrationUnitMapper.xml
+2
-1
JgMaintenanceContractMapper.xml
...src/main/resources/mapper/JgMaintenanceContractMapper.xml
+2
-2
JgUseRegistrationMapper.xml
...api/src/main/resources/mapper/JgUseRegistrationMapper.xml
+2
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgChangeRegistrationUnitMapper.xml
View file @
d16c2bf8
...
@@ -58,7 +58,8 @@
...
@@ -58,7 +58,8 @@
instance_status like concat('%',#{role},'%')
instance_status like concat('%',#{role},'%')
</foreach>
</foreach>
</if>
</if>
and (1=1 or isn.transfer_to_user_ids like concat('%',#{currentUserId},'%'))
-- and (1=1 or isn.transfer_to_user_ids like concat('%',#{currentUserId},'%'))
OR (isn.transfer_to_user_ids LIKE concat ( '%', #{currentUserId}, '%' ) )
</where>
</where>
ORDER BY
ORDER BY
isn.create_date DESC, isn.apply_no DESC
isn.create_date DESC, isn.apply_no DESC
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgMaintenanceContractMapper.xml
View file @
d16c2bf8
...
@@ -175,8 +175,8 @@
...
@@ -175,8 +175,8 @@
and receive_org_code = #{contractDto.receiveOrgCodeFilter}
and receive_org_code = #{contractDto.receiveOrgCodeFilter}
</if>
</if>
-- 转办隔离逻辑
-- 转办隔离逻辑
and (1=1 or transfer_to_user_ids like concat('%',#{currentUserId},'%'))
--
and (1=1 or transfer_to_user_ids like concat('%',#{currentUserId},'%'))
OR (transfer_to_user_ids LIKE concat ( '%', #{currentUserId}, '%' ))
-- 数据过滤结束 ----------------------------------------------------
-- 数据过滤结束 ----------------------------------------------------
</where>
</where>
order by apply_no desc
order by apply_no desc
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationMapper.xml
View file @
d16c2bf8
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
LEFT JOIN idx_biz_jg_other_info other on re.equ_id = other.RECORD
LEFT JOIN idx_biz_jg_other_info other on re.equ_id = other.RECORD
<where>
<where>
and ur.is_delete = 0 and (1=1 or ur.transfer_to_user_ids like concat('%',#{dto.currentUserId},'%'))
--
and ur.is_delete = 0 and (1=1 or ur.transfer_to_user_ids like concat('%',#{dto.currentUserId},'%'))
<if
test=
"dto.equCategory != null and dto.equCategory != ''"
>
<if
test=
"dto.equCategory != null and dto.equCategory != ''"
>
and jri.EQU_CATEGORY = #{dto.equCategory}
and jri.EQU_CATEGORY = #{dto.equCategory}
</if>
</if>
...
@@ -63,6 +63,7 @@
...
@@ -63,6 +63,7 @@
<if
test=
"dto.dataType == 'company' "
>
<if
test=
"dto.dataType == 'company' "
>
and ur.use_unit_credit_code = #{dto.unitCode}
and ur.use_unit_credit_code = #{dto.unitCode}
</if>
</if>
OR (ur.transfer_to_user_ids LIKE concat ( '%', #{dto.currentUserId}, '%' ) AND ur.is_delete = 0 )
</where>
</where>
order by ur.rec_date desc
order by ur.rec_date desc
</select>
</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