Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
340e2c4a
Commit
340e2c4a
authored
Aug 27, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xiugaibug 验收优化
parent
b2febf4d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
77 additions
and
2 deletions
+77
-2
ArrivalStateeEnum.java
...oin/amos/boot/module/hygf/api/Enum/ArrivalStateeEnum.java
+1
-0
AcceptanceCheckDto.java
...oin/amos/boot/module/hygf/api/dto/AcceptanceCheckDto.java
+2
-0
AcceptanceCheck.java
...oin/amos/boot/module/hygf/api/entity/AcceptanceCheck.java
+7
-0
BasicGridAcceptanceMapper.xml
...main/resources/mapper/mysql/BasicGridAcceptanceMapper.xml
+2
-2
AcceptanceCheckController.java
...module/hygf/biz/controller/AcceptanceCheckController.java
+65
-0
AcceptanceCheckServiceImpl.java
...ule/hygf/biz/service/impl/AcceptanceCheckServiceImpl.java
+0
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/Enum/ArrivalStateeEnum.java
View file @
340e2c4a
...
@@ -28,6 +28,7 @@ public enum ArrivalStateeEnum {
...
@@ -28,6 +28,7 @@ public enum ArrivalStateeEnum {
施工中
(
"施工中"
,
"施工中"
),
施工中
(
"施工中"
,
"施工中"
),
施工完成
(
"施工完成"
,
"施工完成"
),
施工完成
(
"施工完成"
,
"施工完成"
),
并网中
(
"并网中"
,
"并网中"
),
并网中
(
"并网中"
,
"并网中"
),
验收中
(
"验收中"
,
"验收中"
),
并网完成
(
"并网完成"
,
"并网完成"
),
并网完成
(
"并网完成"
,
"并网完成"
),
线上验收
(
"线上验收"
,
"线上验收"
),
线上验收
(
"线上验收"
,
"线上验收"
),
线下验收
(
"线下验收"
,
"线下验收"
),
线下验收
(
"线下验收"
,
"线下验收"
),
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/AcceptanceCheckDto.java
View file @
340e2c4a
...
@@ -52,4 +52,6 @@ public class AcceptanceCheckDto extends BaseDto {
...
@@ -52,4 +52,6 @@ public class AcceptanceCheckDto extends BaseDto {
@ApiModelProperty
(
value
=
"实例id"
)
@ApiModelProperty
(
value
=
"实例id"
)
private
String
instanceId
;
private
String
instanceId
;
private
String
acceptanceTime
;
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/entity/AcceptanceCheck.java
View file @
340e2c4a
...
@@ -88,4 +88,11 @@ public class AcceptanceCheck extends BaseEntity {
...
@@ -88,4 +88,11 @@ public class AcceptanceCheck extends BaseEntity {
private
String
rectificationStatus
;
private
String
rectificationStatus
;
/**
* 验收时间
*/
@TableField
(
"acceptance_time"
)
private
String
acceptanceTime
;
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/mysql/BasicGridAcceptanceMapper.xml
View file @
340e2c4a
...
@@ -64,8 +64,8 @@
...
@@ -64,8 +64,8 @@
AND hph.project_address_name LIKE concat(concat('%', #{map.projectAddress}), '%')
AND hph.project_address_name LIKE concat(concat('%', #{map.projectAddress}), '%')
</if>
</if>
<if
test=
"map.type != null"
>
<if
test=
"map.type != null"
>
and ( hbga.grid_node is not null
and ( hbga.
basic_
grid_node is not null
or hbga.grid_node = 'all'
or hbga.
basic_
grid_node = 'all'
or hbga.power_station_area_status is not null
or hbga.power_station_area_status is not null
or hbga.power_station_design_status is not null
or hbga.power_station_design_status is not null
or hbga.power_station_engineering_status is not null
or hbga.power_station_engineering_status is not null
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/AcceptanceCheckController.java
View file @
340e2c4a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
controller
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
controller
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.HygfRectificationOrder
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
com.yeejoin.amos.boot.module.hygf.biz.service.impl.AcceptanceCheckServiceImpl
;
import
com.yeejoin.amos.boot.module.hygf.biz.service.impl.AcceptanceCheckServiceImpl
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
...
@@ -113,4 +117,65 @@ public class AcceptanceCheckController extends BaseController {
...
@@ -113,4 +117,65 @@ public class AcceptanceCheckController extends BaseController {
public
ResponseModel
<
List
<
AcceptanceCheckDto
>>
selectForList
()
{
public
ResponseModel
<
List
<
AcceptanceCheckDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
acceptanceCheckServiceImpl
.
queryForAcceptanceCheckList
());
return
ResponseHelper
.
buildResponse
(
acceptanceCheckServiceImpl
.
queryForAcceptanceCheckList
());
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"验收-经销商管理"
,
notes
=
"验收经销商管理"
)
@PostMapping
(
value
=
"/completeAdminAudit"
)
@Transactional
public
ResponseModel
completeAdminAudit
(
@RequestBody
Map
<
String
,
String
>
kv
)
{
acceptanceCheckServiceImpl
.
completeAdminAudit
(
kv
);
return
ResponseHelper
.
buildResponse
(
null
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"验收管理审核"
,
notes
=
"验收管理审核"
)
@PostMapping
(
value
=
"/completeAudit"
)
@Transactional
public
ResponseModel
completeAudit
(
@RequestBody
Map
<
String
,
String
>
kv
)
{
return
acceptanceCheckServiceImpl
.
completeAudit
(
kv
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"整改单下发"
,
notes
=
"整改单下发"
)
@PostMapping
(
value
=
"/addRectification"
)
@Transactional
public
ResponseModel
addRectification
(
@RequestBody
HygfRectificationOrder
hygfReplenishment
)
{
return
acceptanceCheckServiceImpl
.
addRectification
(
hygfReplenishment
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"整改单添加信息"
,
notes
=
"整改单添加信息"
)
@PostMapping
(
value
=
"/nextTaskExcute"
)
@Transactional
public
ResponseModel
nextTaskExcute
(
@RequestBody
HygfRectificationOrder
hygfReplenishment
)
{
return
acceptanceCheckServiceImpl
.
nextTaskExcute
(
hygfReplenishment
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"整改单审核"
,
notes
=
"整改单审核"
)
@PostMapping
(
value
=
"/nextTaskAduit"
)
@Transactional
public
ResponseModel
nextTaskAduit
(
@RequestBody
HygfRectificationOrder
hygfReplenishment
)
{
return
acceptanceCheckServiceImpl
.
nextTaskAduit
(
hygfReplenishment
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"整改单作废"
,
notes
=
"整改单作废"
)
@PutMapping
(
value
=
"/rollback"
)
@Transactional
public
ResponseModel
rollback
(
@RequestParam
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
return
acceptanceCheckServiceImpl
.
rollback
(
sequenceNbr
);
}
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/AcceptanceCheckServiceImpl.java
View file @
340e2c4a
This diff is collapsed.
Click to expand it.
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