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
755ddac6
Commit
755ddac6
authored
Jan 23, 2024
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移装告知 和 安装告知 列表api修改
parent
000aacfd
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
JgTransferNoticeMapper.xml
...-api/src/main/resources/mapper/JgTransferNoticeMapper.xml
+7
-0
JgInstallationNoticeController.java
...ule/jg/biz/controller/JgInstallationNoticeController.java
+1
-1
JgTransferNoticeController.java
.../module/jg/biz/controller/JgTransferNoticeController.java
+5
-5
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgTransferNoticeMapper.xml
View file @
755ddac6
...
...
@@ -71,10 +71,17 @@
</if>
<if
test=
"type == 'supervision'"
>
AND tjtn.receive_org_code = #{orgCode}
AND tjtn.instance_id is not null
</if>
<if
test=
"type == 'company'"
>
AND tjtn.install_unit_credit_code = #{orgCode}
</if>
<if
test=
"type == 'testAdmin'"
>
((AND tjtn.receive_org_code = #{orgCode}
AND tjtn.instance_id is not null)
or
AND tjtn.install_unit_credit_code = #{orgCode})
</if>
</where>
ORDER BY
tjtn.apply_no DESC
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgInstallationNoticeController.java
View file @
755ddac6
...
...
@@ -141,7 +141,7 @@ public class JgInstallationNoticeController extends BaseController {
)
{
Page
<
JgInstallationNotice
>
page
=
new
Page
<>(
current
,
size
);
ReginParams
reginParams
=
getSelectedOrgInfo
();
type
=
(
String
)
iJgInstallationNoticeService
.
getCompanyType
().
get
(
"company
Type
"
);
type
=
(
String
)
iJgInstallationNoticeService
.
getCompanyType
().
get
(
"company
Level
"
);
return
ResponseHelper
.
buildResponse
(
iJgInstallationNoticeService
.
queryForJgInstallationNoticePage
(
page
,
model
,
type
,
reginParams
));
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgTransferNoticeController.java
View file @
755ddac6
...
...
@@ -7,6 +7,7 @@ import com.yeejoin.amos.boot.biz.common.controller.BaseController;
import
com.yeejoin.amos.boot.module.common.biz.utils.CommonResponseUtil
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgTransferNoticeDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgTransferNotice
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgInstallationNoticeService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgTransferNoticeService
;
import
com.yeejoin.amos.boot.module.jg.biz.service.ICommonService
;
import
com.yeejoin.amos.boot.module.jg.biz.service.impl.CommonServiceImpl
;
...
...
@@ -49,6 +50,9 @@ public class JgTransferNoticeController extends BaseController {
@Autowired
private
CommonServiceImpl
commonServiceImpl
;
@Autowired
private
IJgInstallationNoticeService
iJgInstallationNoticeService
;
/**
* 新增移装造告知
*
...
...
@@ -152,11 +156,7 @@ public class JgTransferNoticeController extends BaseController {
)
{
Page
<
JgTransferNotice
>
page
=
new
Page
<>(
current
,
size
);
ReginParams
reginParams
=
getSelectedOrgInfo
();
if
(
reginParams
.
getCompany
().
getLevel
().
equals
(
BaseController
.
COMPANY_TYPE_COMPANY
)){
type
=
BaseController
.
COMPANY_TYPE_COMPANY
;
}
else
{
type
=
BaseController
.
COMPANY_TYPE_SUPERVISION
;
}
type
=
(
String
)
iJgInstallationNoticeService
.
getCompanyType
().
get
(
"companyLevel"
);
return
ResponseHelper
.
buildResponse
(
jgTransferNoticeService
.
queryForJgTransferNoticePage
(
page
,
model
,
type
,
reginParams
));
}
...
...
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