Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
tianjin-cement
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
竹天卫
tianjin-cement
Commits
38ca5949
Commit
38ca5949
authored
Mar 30, 2021
by
竹天卫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改时增加平行样编号
parent
6e381331
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
EntrustController.java
...wise/sc/cement/business/controller/EntrustController.java
+0
-1
SampleDistributionMapper.xml
...c/cement/business/mapper/xml/SampleDistributionMapper.xml
+1
-1
EntrustServiceImpl.java
...e/sc/cement/business/service/impl/EntrustServiceImpl.java
+4
-2
No files found.
cement-business/src/main/java/cn/wise/sc/cement/business/controller/EntrustController.java
View file @
38ca5949
...
...
@@ -283,7 +283,6 @@ public class EntrustController {
//*******************样品检测*****************************************
@ApiOperation
(
value
=
"派发样品检测-委托详情"
)
@GetMapping
(
"/getPFDtail/{id}"
)
public
BaseResponse
getPFDtail
(
@PathVariable
Integer
id
)
{
...
...
cement-business/src/main/java/cn/wise/sc/cement/business/mapper/xml/SampleDistributionMapper.xml
View file @
38ca5949
...
...
@@ -111,7 +111,7 @@
t.team_id as teamId
from sample_distribution t
left join sys_user su on su.id = t.user_id
where t.sample_id = #{sampleId}
where t.sample_id = #{sampleId}
and t.status = 2
<if
test=
"userId != null"
>
and t.user_id = #{userId}
</if>
...
...
cement-business/src/main/java/cn/wise/sc/cement/business/service/impl/EntrustServiceImpl.java
View file @
38ca5949
...
...
@@ -642,10 +642,12 @@ public class EntrustServiceImpl extends ServiceImpl<EntrustMapper, Entrust> impl
.
setCharge
(
charge
)
.
setCreateTime
(
LocalDateTime
.
now
());
sampleTmpList
.
add
(
sampleTmp
);
sampleTmpService
.
save
(
sampleTmp
);
sampleQuery
.
setId
(
sampleTmp
.
getId
());
}
sampleTmpService
.
saveBatch
(
sampleTmpList
);
if
(
entrust
.
getUserId
()
!=
loginUser
.
getId
()
&&
approvalIdList
.
contains
(
loginUser
.
getId
()))
{
if
(
approvalIdList
.
contains
(
loginUser
.
getId
()))
{
//当前平行样编号最大值
String
redisMaxCementCode
=
getMaxCementCode
().
getData
();
//保存样品信息
...
...
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