Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
53a0258b
Commit
53a0258b
authored
Apr 11, 2023
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.5.3-部分失败的单增
parent
add8e452
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
TDispatchInfo.java
.../yifu/cloud/plus/v1/yifu/social/entity/TDispatchInfo.java
+9
-0
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+7
-0
No files found.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TDispatchInfo.java
View file @
53a0258b
...
@@ -20,6 +20,7 @@ import com.alibaba.excel.annotation.ExcelIgnore;
...
@@ -20,6 +20,7 @@ import com.alibaba.excel.annotation.ExcelIgnore;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.write.style.HeadFontStyle
;
import
com.alibaba.excel.annotation.write.style.HeadFontStyle
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
...
@@ -706,4 +707,12 @@ public class TDispatchInfo extends BaseEntity {
...
@@ -706,4 +707,12 @@ public class TDispatchInfo extends BaseEntity {
@ExcelProperty
(
"订单ID"
)
@ExcelProperty
(
"订单ID"
)
private
String
orderId
;
private
String
orderId
;
/**
* 原派单ID
* 2023-4-11 14:37:17
* hgw增加
*/
@TableField
(
exist
=
false
)
private
String
pid
;
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
53a0258b
...
@@ -821,6 +821,12 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -821,6 +821,12 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
}
}
dispatch
.
setCreateTime
(
LocalDateTime
.
now
());
dispatch
.
setCreateTime
(
LocalDateTime
.
now
());
baseMapper
.
insert
(
dispatch
);
baseMapper
.
insert
(
dispatch
);
if
(
Common
.
isNotNull
(
dispatch
.
getPid
()))
{
TDispatchInfo
old
=
new
TDispatchInfo
();
old
.
setId
(
dispatch
.
getPid
());
old
.
setAgainDispatchCode
(
dispatch
.
getApplyNo
());
baseMapper
.
updateById
(
old
);
}
}
}
}
}
...
@@ -1280,6 +1286,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -1280,6 +1286,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
}
}
// 生成申请编码
// 生成申请编码
dispatch
.
setApplyNo
(
getApplyCode
());
dispatch
.
setApplyNo
(
getApplyCode
());
dispatch
.
setPid
(
excel
.
getDispatchId
());
dispatchMap
.
put
(
excel
.
getEmpIdcard
(),
dispatch
);
dispatchMap
.
put
(
excel
.
getEmpIdcard
(),
dispatch
);
}
}
...
...
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