Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-service-soil
Overview
Overview
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
wangweidong
patzn-cloud-service-soil
Commits
a5a3aefb
Commit
a5a3aefb
authored
Oct 31, 2020
by
wangweidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
土工试验平台修改
parent
af4545f1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletions
+20
-1
SoilEntrustController.java
...d/service/lims/soil/controller/SoilEntrustController.java
+14
-0
SoilEntrustMapper.xml
src/main/resources/mapper/soil/SoilEntrustMapper.xml
+2
-1
SoilExperimentMapper.xml
src/main/resources/mapper/soil/SoilExperimentMapper.xml
+4
-0
No files found.
src/main/java/com/patzn/cloud/service/lims/soil/controller/SoilEntrustController.java
View file @
a5a3aefb
...
@@ -381,6 +381,20 @@ public class SoilEntrustController extends ServiceController {
...
@@ -381,6 +381,20 @@ public class SoilEntrustController extends ServiceController {
}
}
@ApiOperation
(
value
=
"试验项目审核历史委托分页列表"
,
notes
=
"试验项目审核历史委托分页列表"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
RestConstants
.
PAGE_PAGE
,
value
=
"请求数据的页码"
,
required
=
true
,
paramType
=
"query"
,
dataType
=
"int"
),
@ApiImplicitParam
(
name
=
RestConstants
.
PAGE_ROWS
,
value
=
"每页条数"
,
required
=
true
,
paramType
=
"query"
,
dataType
=
"int"
),
@ApiImplicitParam
(
name
=
RestConstants
.
PAGE_SIDX
,
value
=
"排序字段"
,
paramType
=
"query"
,
dataType
=
"String"
),
@ApiImplicitParam
(
name
=
RestConstants
.
PAGE_SORD
,
value
=
"排序方式"
,
paramType
=
"query"
,
dataType
=
"String"
),
})
@PostMapping
(
"/page_exp_audit_his"
)
public
RestResult
<
Page
<
SoilEntrustVO
>>
getPageTaskCheckAuditHis
(
SoilEntrustVO
soilEntrust
)
{
soilEntrust
.
setExpStatus
(
SoilExpStatusEnum
.
END
);
return
success
(
soilEntrustService
.
pageVOByExperiment
(
getPage
(),
soilEntrust
));
}
@ApiOperation
(
value
=
"分页列表"
,
notes
=
"分页查询数据列表"
)
@ApiOperation
(
value
=
"分页列表"
,
notes
=
"分页查询数据列表"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
...
...
src/main/resources/mapper/soil/SoilEntrustMapper.xml
View file @
a5a3aefb
...
@@ -137,9 +137,10 @@
...
@@ -137,9 +137,10 @@
)
)
SELECT
*
FROM soil_entrust e JOIN s ON e.id = s.entrust_id
SELECT
<include
refid=
"column"
/>
FROM soil_entrust e JOIN s ON e.id = s.entrust_id
WHERE e.deleted = 0
WHERE e.deleted = 0
<include
refid=
"sqlWhere"
/>
</select>
</select>
...
...
src/main/resources/mapper/soil/SoilExperimentMapper.xml
View file @
a5a3aefb
...
@@ -17,6 +17,8 @@
...
@@ -17,6 +17,8 @@
t.progress,
t.progress,
t.group_name,
t.group_name,
t.group_id,
t.group_id,
o.alloter,
o.allot_time,
s.sample_code,
s.sample_code,
s.sample_depth,
s.sample_depth,
s.describe_detail,
s.describe_detail,
...
@@ -28,6 +30,8 @@
...
@@ -28,6 +30,8 @@
JOIN soil_entrust e ON s.entrust_id = e.id
JOIN soil_entrust e ON s.entrust_id = e.id
JOIN soil_experiment_operation o ON t.id = o.experiment_id
WHERE t.deleted = 0 AND s.deleted = 0 AND e.deleted =0
WHERE t.deleted = 0 AND s.deleted = 0 AND e.deleted =0
<if
test=
"vo.status!=null"
>
<if
test=
"vo.status!=null"
>
AND t.status = #{vo.status}
AND t.status = #{vo.status}
...
...
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