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
8c3e4d28
Commit
8c3e4d28
authored
Nov 15, 2022
by
曹盼盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校验详情查看加筛选,根据当前登录人获项目列表,弹窗详情查看优化
parent
7de8e948
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
19 additions
and
24 deletions
+19
-24
OpenDto.java
...ava/com/yeejoin/amos/boot/module/ugp/api/dto/OpenDto.java
+1
-1
PercentOfPassDto.java
...eejoin/amos/boot/module/ugp/api/dto/PercentOfPassDto.java
+1
-0
VerifyMapper.java
...yeejoin/amos/boot/module/ugp/api/mapper/VerifyMapper.java
+1
-1
InstallationQualityMapper.xml
...i/src/main/resources/mapper/InstallationQualityMapper.xml
+1
-0
VerifyMapper.xml
...module-ugp-api/src/main/resources/mapper/VerifyMapper.xml
+7
-0
InstallationQualityController.java
...ule/ugp/biz/controller/InstallationQualityController.java
+1
-1
VerifyController.java
...amos/boot/module/ugp/biz/controller/VerifyController.java
+7
-15
InstallationQualityImpl.java
.../module/ugp/biz/service/impl/InstallationQualityImpl.java
+0
-4
ProjectInitiationServiceImpl.java
...le/ugp/biz/service/impl/ProjectInitiationServiceImpl.java
+0
-2
VerifyServiceImpl.java
...s/boot/module/ugp/biz/service/impl/VerifyServiceImpl.java
+0
-0
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/java/com/yeejoin/amos/boot/module/ugp/api/dto/OpenDto.java
View file @
8c3e4d28
...
@@ -11,7 +11,7 @@ import lombok.Data;
...
@@ -11,7 +11,7 @@ import lombok.Data;
public
class
OpenDto
{
public
class
OpenDto
{
private
String
oldPhoto
;
//原照片
private
String
oldPhoto
;
//原照片
private
String
newPhoto
;
//新照片
对比
private
String
newPhoto
;
//新照片
private
String
accord
;
//符合性
private
String
accord
;
//符合性
private
String
valid
;
//有效性
private
String
valid
;
//有效性
private
String
result
;
//结果
private
String
result
;
//结果
...
...
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/java/com/yeejoin/amos/boot/module/ugp/api/dto/PercentOfPassDto.java
View file @
8c3e4d28
...
@@ -42,4 +42,5 @@ public class PercentOfPassDto extends BaseDto {
...
@@ -42,4 +42,5 @@ public class PercentOfPassDto extends BaseDto {
}
}
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/java/com/yeejoin/amos/boot/module/ugp/api/mapper/VerifyMapper.java
View file @
8c3e4d28
...
@@ -23,7 +23,7 @@ public interface VerifyMapper extends BaseMapper<Verify> {
...
@@ -23,7 +23,7 @@ public interface VerifyMapper extends BaseMapper<Verify> {
* @return
* @return
*/
*/
List
<
Verify
>
commonality
(
String
stage
,
SmartListDto
smartListDto
);
List
<
Verify
>
commonality
(
String
stage
,
SmartListDto
smartListDto
,
List
listId
);
@Select
(
"select * from tz_ugp_verify where target_info = #{targetInfo}"
)
@Select
(
"select * from tz_ugp_verify where target_info = #{targetInfo}"
)
Verify
selectByTargetInfo
(
String
targetInfo
);
Verify
selectByTargetInfo
(
String
targetInfo
);
...
...
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/resources/mapper/InstallationQualityMapper.xml
View file @
8c3e4d28
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
</if>
</if>
</select>
</select>
...
...
amos-boot-system-ugp/amos-boot-module-ugp-api/src/main/resources/mapper/VerifyMapper.xml
View file @
8c3e4d28
...
@@ -62,6 +62,13 @@
...
@@ -62,6 +62,13 @@
pt.code like '%${smartListDto.projectCode}%'
pt.code like '%${smartListDto.projectCode}%'
</if>
</if>
<if
test=
"listId != null and ! listId.isEmpty() and listId.size() > 0"
>
and vf.project_id in
<foreach
collection=
"listId"
item=
"item"
index=
"index"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</if>
</select>
</select>
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/InstallationQualityController.java
View file @
8c3e4d28
...
@@ -41,7 +41,7 @@ private InstallationQualityImpl services;
...
@@ -41,7 +41,7 @@ private InstallationQualityImpl services;
private
WeldServiceImpl
weld
;
private
WeldServiceImpl
weld
;
//查看质量监检信息
//查看质量监检信息
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/find"
)
@GetMapping
(
value
=
"/find"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"质量问题闭环管理-安装质量监检信息-质量监检信息"
,
notes
=
"质量问题闭环管理-安装质量监检信息-质量监检信息"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"质量问题闭环管理-安装质量监检信息-质量监检信息"
,
notes
=
"质量问题闭环管理-安装质量监检信息-质量监检信息"
)
public
ResponseModel
<
Page
<
PercentOfPassDto
>>
find
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
public
ResponseModel
<
Page
<
PercentOfPassDto
>>
find
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/VerifyController.java
View file @
8c3e4d28
...
@@ -133,7 +133,7 @@ public class VerifyController extends BaseController {
...
@@ -133,7 +133,7 @@ public class VerifyController extends BaseController {
* @return
* @return
*/
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/selectTubular"
)
@GetMapping
(
value
=
"/selectTubular"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"焊接管材检验信息列表"
,
notes
=
"焊接管材检验信息列表"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"焊接管材检验信息列表"
,
notes
=
"焊接管材检验信息列表"
)
public
ResponseModel
<
Page
<
SmartListDto
>>
selectTubular
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
public
ResponseModel
<
Page
<
SmartListDto
>>
selectTubular
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
...
@@ -155,7 +155,7 @@ public class VerifyController extends BaseController {
...
@@ -155,7 +155,7 @@ public class VerifyController extends BaseController {
* @return
* @return
*/
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/selectWorker"
)
@GetMapping
(
value
=
"/selectWorker"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询焊接人员检验信息列表"
,
notes
=
"查询焊接人员检验信息列表"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询焊接人员检验信息列表"
,
notes
=
"查询焊接人员检验信息列表"
)
public
ResponseModel
<
Page
<
SmartListDto
>>
selectWorker
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
public
ResponseModel
<
Page
<
SmartListDto
>>
selectWorker
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
...
@@ -175,7 +175,7 @@ public class VerifyController extends BaseController {
...
@@ -175,7 +175,7 @@ public class VerifyController extends BaseController {
* @param size
* @param size
* @return
* @return
*/
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/selectFacility"
)
@GetMapping
(
value
=
"/selectFacility"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询焊接设备检验信息列表"
,
notes
=
"查询焊接设备检验信息列表"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询焊接设备检验信息列表"
,
notes
=
"查询焊接设备检验信息列表"
)
public
ResponseModel
<
Page
<
SmartListDto
>>
selectFacility
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
public
ResponseModel
<
Page
<
SmartListDto
>>
selectFacility
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
...
@@ -196,7 +196,7 @@ public class VerifyController extends BaseController {
...
@@ -196,7 +196,7 @@ public class VerifyController extends BaseController {
* @return
* @return
*/
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/selectCraft"
)
@GetMapping
(
value
=
"/selectCraft"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询焊接工艺检验信息列表"
,
notes
=
"查询焊接工艺检验信息列表"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询焊接工艺检验信息列表"
,
notes
=
"查询焊接工艺检验信息列表"
)
public
ResponseModel
<
Page
<
SmartListDto
>>
selectCraft
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
public
ResponseModel
<
Page
<
SmartListDto
>>
selectCraft
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
...
@@ -216,7 +216,7 @@ public class VerifyController extends BaseController {
...
@@ -216,7 +216,7 @@ public class VerifyController extends BaseController {
* @param size
* @param size
* @return
* @return
*/
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/selectVoltage"
)
@GetMapping
(
value
=
"/selectVoltage"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询管道耐压检验信息列表"
,
notes
=
"查询管道耐压检验信息列表"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询管道耐压检验信息列表"
,
notes
=
"查询管道耐压检验信息列表"
)
public
ResponseModel
<
Page
<
SmartListDto
>>
selectVoltage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
public
ResponseModel
<
Page
<
SmartListDto
>>
selectVoltage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
...
@@ -235,7 +235,7 @@ public class VerifyController extends BaseController {
...
@@ -235,7 +235,7 @@ public class VerifyController extends BaseController {
* @param smartListDto
* @param smartListDto
* @return
* @return
*/
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/depth"
)
@GetMapping
(
value
=
"/depth"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"敷设质量"
,
notes
=
"敷设质量"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"敷设质量"
,
notes
=
"敷设质量"
)
public
ResponseModel
<
Page
<
SmartListDto
>>
depth
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
public
ResponseModel
<
Page
<
SmartListDto
>>
depth
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
...
@@ -282,7 +282,7 @@ public class VerifyController extends BaseController {
...
@@ -282,7 +282,7 @@ public class VerifyController extends BaseController {
/**
/**
* cpp
* cpp
*
主键id查询verity表
*
弹窗详情
*
*
* @param
* @param
* @return
* @return
...
@@ -295,14 +295,6 @@ public class VerifyController extends BaseController {
...
@@ -295,14 +295,6 @@ public class VerifyController extends BaseController {
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@GetMapping
(
value
=
"/photo"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"获取图片"
,
notes
=
"获取图片"
)
public
ResponseModel
<
Map
>
photo
(
@RequestParam
Long
sequenceNbr
)
{
Map
map
=
new
HashMap
<>(
);
map
.
put
(
"newPhoto"
,
"https://img2.baidu.com/it/u=806791452,2765805606&fm=253&fmt=auto&app=138&f=JPEG?w=350&h=500"
);
return
ResponseHelper
.
buildResponse
(
map
);
}
}
}
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/InstallationQualityImpl.java
View file @
8c3e4d28
...
@@ -52,7 +52,6 @@ public class InstallationQualityImpl extends BaseService<PercentOfPassDto, Quali
...
@@ -52,7 +52,6 @@ public class InstallationQualityImpl extends BaseService<PercentOfPassDto, Quali
for
(
QualityInfo
qualityInfo
:
qfList
)
{
for
(
QualityInfo
qualityInfo
:
qfList
)
{
PercentOfPassDto
percentOfPassDto
=
new
PercentOfPassDto
(
);
PercentOfPassDto
percentOfPassDto
=
new
PercentOfPassDto
(
);
percentOfPassDto
.
setName
(
qualityInfo
.
getProject
(
).
getName
(
));
percentOfPassDto
.
setName
(
qualityInfo
.
getProject
(
).
getName
(
));
percentOfPassDto
.
setAddress
(
qualityInfo
.
getProject
(
).
getAddress
(
));
percentOfPassDto
.
setAddress
(
qualityInfo
.
getProject
(
).
getAddress
(
));
percentOfPassDto
.
setProgressStatus
(
qualityInfo
.
getProject
(
).
getProgressStatus
(
));
percentOfPassDto
.
setProgressStatus
(
qualityInfo
.
getProject
(
).
getProgressStatus
(
));
...
@@ -115,13 +114,10 @@ public class InstallationQualityImpl extends BaseService<PercentOfPassDto, Quali
...
@@ -115,13 +114,10 @@ public class InstallationQualityImpl extends BaseService<PercentOfPassDto, Quali
}
}
}
}
//如果条件name为空的,直接查询全部
//如果条件name为空的,直接查询全部
page
.
setRecords
(
newsData
);
page
.
setRecords
(
newsData
);
page
.
setTotal
(
newsData
.
size
());
page
.
setTotal
(
newsData
.
size
());
return
page
;
return
page
;
}
}
return
page
;
return
page
;
}
}
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/ProjectInitiationServiceImpl.java
View file @
8c3e4d28
...
@@ -181,8 +181,6 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
...
@@ -181,8 +181,6 @@ public class ProjectInitiationServiceImpl extends BaseService<ProjectInitiationD
/*焊评审核(后期优化)
/*焊评审核(后期优化)
* @return
* @return
*/
*/
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/VerifyServiceImpl.java
View file @
8c3e4d28
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