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
7d64b6b3
Commit
7d64b6b3
authored
Jan 16, 2024
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
维修告知修改
parent
9346c2c0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
9 deletions
+14
-9
JgMaintainNoticeDto.java
...join/amos/boot/module/jg/api/dto/JgMaintainNoticeDto.java
+3
-0
IJgMaintainNoticeService.java
.../boot/module/jg/api/service/IJgMaintainNoticeService.java
+1
-2
JgMaintainNoticeMapper.xml
...-api/src/main/resources/mapper/JgMaintainNoticeMapper.xml
+3
-3
JgMaintainNoticeController.java
.../module/jg/biz/controller/JgMaintainNoticeController.java
+1
-2
JgMaintainNoticeServiceImpl.java
...dule/jg/biz/service/impl/JgMaintainNoticeServiceImpl.java
+6
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/JgMaintainNoticeDto.java
View file @
7d64b6b3
...
@@ -214,4 +214,7 @@ public class JgMaintainNoticeDto extends BaseDto {
...
@@ -214,4 +214,7 @@ public class JgMaintainNoticeDto extends BaseDto {
private
String
equList
;
private
String
equList
;
private
String
supervisoryCode
;
private
String
supervisoryCode
;
@ApiModelProperty
(
value
=
"下一节点可执行人逗号分割"
)
private
String
nextExecuteUserIds
;
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/service/IJgMaintainNoticeService.java
View file @
7d64b6b3
...
@@ -39,10 +39,9 @@ public interface IJgMaintainNoticeService extends IService<JgMaintainNotice> {
...
@@ -39,10 +39,9 @@ public interface IJgMaintainNoticeService extends IService<JgMaintainNotice> {
*
*
* @param page 分页对象
* @param page 分页对象
* @param model 查询参数
* @param model 查询参数
* @param type 类型:enterprise-企业端、supervision-监管端
* @return 维修告知列表
* @return 维修告知列表
*/
*/
Page
<
JgMaintainNoticeDto
>
queryForJgMaintainNoticePage
(
Page
<
JgMaintainNotice
>
page
,
JgMaintainNoticeDto
model
,
String
type
,
ReginParams
reginParams
);
Page
<
JgMaintainNoticeDto
>
queryForJgMaintainNoticePage
(
Page
<
JgMaintainNotice
>
page
,
JgMaintainNoticeDto
model
,
ReginParams
reginParams
);
/**
/**
* 批量删除
* 批量删除
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgMaintainNoticeMapper.xml
View file @
7d64b6b3
...
@@ -34,11 +34,11 @@
...
@@ -34,11 +34,11 @@
AND isn.maintain_type = #{param.maintainType}
AND isn.maintain_type = #{param.maintainType}
</if>
</if>
</if>
</if>
<if
test=
"type
== 'supervision
'"
>
<if
test=
"type
!= 'company
'"
>
AND
(isn.notice_status in ('6612', '6614', '6616') )
AND
isn.instance_id is not null
AND isn.receive_org_code = #{orgCode}
AND isn.receive_org_code = #{orgCode}
</if>
</if>
<if
test=
"type == '
enterprise
'"
>
<if
test=
"type == '
company
'"
>
AND isn.install_unit_credit_code = #{orgCode}
AND isn.install_unit_credit_code = #{orgCode}
</if>
</if>
</where>
</where>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgMaintainNoticeController.java
View file @
7d64b6b3
...
@@ -128,12 +128,11 @@ public class JgMaintainNoticeController extends BaseController {
...
@@ -128,12 +128,11 @@ public class JgMaintainNoticeController extends BaseController {
public
ResponseModel
<
Page
<
JgMaintainNoticeDto
>>
queryForPage
(
public
ResponseModel
<
Page
<
JgMaintainNoticeDto
>>
queryForPage
(
@ApiParam
(
value
=
"当前页码"
,
required
=
true
)
@RequestParam
(
value
=
"current"
,
defaultValue
=
"1"
)
int
current
,
@ApiParam
(
value
=
"当前页码"
,
required
=
true
)
@RequestParam
(
value
=
"current"
,
defaultValue
=
"1"
)
int
current
,
@ApiParam
(
value
=
"每页大小"
,
required
=
true
)
@RequestParam
(
value
=
"size"
,
defaultValue
=
"20"
)
int
size
,
@ApiParam
(
value
=
"每页大小"
,
required
=
true
)
@RequestParam
(
value
=
"size"
,
defaultValue
=
"20"
)
int
size
,
@ApiParam
(
value
=
"类型:enterprise-企业端、supervision-监管端"
,
required
=
true
)
@RequestParam
(
value
=
"type"
,
defaultValue
=
"enterprise"
)
String
type
,
@RequestBody
(
required
=
false
)
JgMaintainNoticeDto
model
@RequestBody
(
required
=
false
)
JgMaintainNoticeDto
model
)
{
)
{
Page
<
JgMaintainNotice
>
page
=
new
Page
<>(
current
,
size
);
Page
<
JgMaintainNotice
>
page
=
new
Page
<>(
current
,
size
);
ReginParams
reginParams
=
getSelectedOrgInfo
();
ReginParams
reginParams
=
getSelectedOrgInfo
();
return
ResponseHelper
.
buildResponse
(
iJgMaintainNoticeService
.
queryForJgMaintainNoticePage
(
page
,
model
,
type
,
reginParams
));
return
ResponseHelper
.
buildResponse
(
iJgMaintainNoticeService
.
queryForJgMaintainNoticePage
(
page
,
model
,
reginParams
));
}
}
/**
/**
...
...
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/JgMaintainNoticeServiceImpl.java
View file @
7d64b6b3
...
@@ -24,6 +24,7 @@ import com.yeejoin.amos.boot.module.jg.api.enums.BusinessTypeEnum;
...
@@ -24,6 +24,7 @@ import com.yeejoin.amos.boot.module.jg.api.enums.BusinessTypeEnum;
import
com.yeejoin.amos.boot.module.jg.api.enums.WorkFlowStatusEnum
;
import
com.yeejoin.amos.boot.module.jg.api.enums.WorkFlowStatusEnum
;
import
com.yeejoin.amos.boot.module.jg.api.mapper.JgMaintainNoticeEqMapper
;
import
com.yeejoin.amos.boot.module.jg.api.mapper.JgMaintainNoticeEqMapper
;
import
com.yeejoin.amos.boot.module.jg.api.mapper.JgMaintainNoticeMapper
;
import
com.yeejoin.amos.boot.module.jg.api.mapper.JgMaintainNoticeMapper
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgInstallationNoticeService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgMaintainNoticeService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgMaintainNoticeService
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.TzsServiceFeignClient
;
import
com.yeejoin.amos.boot.module.jg.biz.feign.TzsServiceFeignClient
;
import
com.yeejoin.amos.boot.module.jg.biz.utils.ImageUtils
;
import
com.yeejoin.amos.boot.module.jg.biz.utils.ImageUtils
;
...
@@ -69,6 +70,9 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
...
@@ -69,6 +70,9 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
private
static
final
String
TABLE_PAGE_ID
=
"maintainInfo"
;
private
static
final
String
TABLE_PAGE_ID
=
"maintainInfo"
;
@Autowired
@Autowired
IJgInstallationNoticeService
iJgInstallationNoticeService
;
@Autowired
EquipmentCategoryMapper
equipmentCategoryMapper
;
EquipmentCategoryMapper
equipmentCategoryMapper
;
@Autowired
@Autowired
JgMaintainNoticeEqMapper
jgMaintainNoticeEqMapper
;
JgMaintainNoticeEqMapper
jgMaintainNoticeEqMapper
;
...
@@ -260,12 +264,12 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
...
@@ -260,12 +264,12 @@ public class JgMaintainNoticeServiceImpl extends BaseService<JgMaintainNoticeDto
*
*
* @param page 分页对象
* @param page 分页对象
* @param model 查询参数
* @param model 查询参数
* @param type 类型:enterprise-企业端、supervision-监管端
* @return 维修告知列表
* @return 维修告知列表
*/
*/
@Override
@Override
public
Page
<
JgMaintainNoticeDto
>
queryForJgMaintainNoticePage
(
Page
<
JgMaintainNotice
>
page
,
JgMaintainNoticeDto
model
,
String
type
,
ReginParams
reginParams
)
{
public
Page
<
JgMaintainNoticeDto
>
queryForJgMaintainNoticePage
(
Page
<
JgMaintainNotice
>
page
,
JgMaintainNoticeDto
model
,
ReginParams
reginParams
)
{
String
orgCode
=
reginParams
.
getCompany
().
getCompanyCode
();
String
orgCode
=
reginParams
.
getCompany
().
getCompanyCode
();
String
type
=
reginParams
.
getCompany
().
getLevel
();
List
<
DataDictionary
>
dictionaries
=
dataDictionaryService
.
getByType
(
"WXLX"
);
List
<
DataDictionary
>
dictionaries
=
dataDictionaryService
.
getByType
(
"WXLX"
);
Page
<
JgMaintainNotice
>
noticePage
=
jgMaintainNoticeMapper
.
queryForPage
(
page
,
model
,
type
,
orgCode
);
Page
<
JgMaintainNotice
>
noticePage
=
jgMaintainNoticeMapper
.
queryForPage
(
page
,
model
,
type
,
orgCode
);
Page
<
JgMaintainNoticeDto
>
noticeDtoPage
=
new
Page
<>();
Page
<
JgMaintainNoticeDto
>
noticeDtoPage
=
new
Page
<>();
...
...
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