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
4439b10b
Commit
4439b10b
authored
Sep 15, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目档案优化
parent
0471c34f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
16 deletions
+9
-16
TEmployeeProjectServiceImpl.java
...fu/archives/service/impl/TEmployeeProjectServiceImpl.java
+9
-16
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeProjectServiceImpl.java
View file @
4439b10b
...
@@ -218,11 +218,9 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
...
@@ -218,11 +218,9 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
tEmployeeProject
.
setBusinessPrimaryType
(
tSettleDomain
.
getBusinessPrimaryType
());
tEmployeeProject
.
setBusinessPrimaryType
(
tSettleDomain
.
getBusinessPrimaryType
());
tEmployeeProject
.
setBusinessSecondType
(
tSettleDomain
.
getBusinessSecondType
());
tEmployeeProject
.
setBusinessSecondType
(
tSettleDomain
.
getBusinessSecondType
());
tEmployeeProject
.
setBusinessThirdType
(
tSettleDomain
.
getBusinessThirdType
());
tEmployeeProject
.
setBusinessThirdType
(
tSettleDomain
.
getBusinessThirdType
());
TCustomerInfo
tCustomerInfo
=
tCustomerInfoMapper
.
selectById
(
tSettleDomain
.
getCustomerId
());
tEmployeeProject
.
setUnitId
(
tSettleDomain
.
getCustomerId
());
if
(
Common
.
isNotNull
(
tCustomerInfo
))
{
tEmployeeProject
.
setUnitNo
(
tSettleDomain
.
getCustomerNo
());
tEmployeeProject
.
setUnitId
(
tCustomerInfo
.
getId
());
tEmployeeProject
.
setUnitNo
(
tSettleDomain
.
getCustomerName
());
tEmployeeProject
.
setUnitNo
(
tCustomerInfo
.
getCustomerCode
());
}
}
}
String
empNO
=
getEmpNo
(
tEmployeeProject
.
getDeptNo
());
String
empNO
=
getEmpNo
(
tEmployeeProject
.
getDeptNo
());
tEmployeeProject
.
setEmpNo
(
empNO
);
tEmployeeProject
.
setEmpNo
(
empNO
);
...
@@ -1106,12 +1104,9 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
...
@@ -1106,12 +1104,9 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
insTEmployeePro
.
setBusinessPrimaryType
(
tSettleDomain
.
getBusinessPrimaryType
());
insTEmployeePro
.
setBusinessPrimaryType
(
tSettleDomain
.
getBusinessPrimaryType
());
insTEmployeePro
.
setBusinessSecondType
(
tSettleDomain
.
getBusinessSecondType
());
insTEmployeePro
.
setBusinessSecondType
(
tSettleDomain
.
getBusinessSecondType
());
insTEmployeePro
.
setBusinessThirdType
(
tSettleDomain
.
getBusinessThirdType
());
insTEmployeePro
.
setBusinessThirdType
(
tSettleDomain
.
getBusinessThirdType
());
TCustomerInfo
tCustomerInfo
=
tCustomerInfoMapper
.
selectById
(
tSettleDomain
.
getCustomerId
());
insTEmployeePro
.
setUnitId
(
tSettleDomain
.
getCustomerId
());
if
(
Common
.
isNotNull
(
tCustomerInfo
))
{
insTEmployeePro
.
setUnitNo
(
tSettleDomain
.
getCustomerNo
());
insTEmployeePro
.
setUnitId
(
tCustomerInfo
.
getId
());
insTEmployeePro
.
setUnitName
(
tSettleDomain
.
getCustomerName
());
insTEmployeePro
.
setUnitNo
(
tCustomerInfo
.
getCustomerCode
());
insTEmployeePro
.
setUnitName
(
tCustomerInfo
.
getCustomerName
());
}
}
}
String
empNO
=
getEmpNo
(
insTEmployeePro
.
getDeptNo
());
String
empNO
=
getEmpNo
(
insTEmployeePro
.
getDeptNo
());
...
@@ -1274,11 +1269,9 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
...
@@ -1274,11 +1269,9 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
tEmployeeProject
.
setBusinessSecondType
(
tSettleDomain
.
getBusinessSecondType
());
tEmployeeProject
.
setBusinessSecondType
(
tSettleDomain
.
getBusinessSecondType
());
tEmployeeProject
.
setBusinessThirdType
(
tSettleDomain
.
getBusinessThirdType
());
tEmployeeProject
.
setBusinessThirdType
(
tSettleDomain
.
getBusinessThirdType
());
TCustomerInfo
tCustomerInfo
=
tCustomerInfoMapper
.
selectById
(
tSettleDomain
.
getCustomerId
());
TCustomerInfo
tCustomerInfo
=
tCustomerInfoMapper
.
selectById
(
tSettleDomain
.
getCustomerId
());
if
(
Common
.
isNotNull
(
tCustomerInfo
))
{
tEmployeeProject
.
setUnitId
(
tSettleDomain
.
getCustomerId
());
tEmployeeProject
.
setUnitId
(
tCustomerInfo
.
getId
());
tEmployeeProject
.
setUnitNo
(
tSettleDomain
.
getCustomerNo
());
tEmployeeProject
.
setUnitNo
(
tCustomerInfo
.
getCustomerCode
());
tEmployeeProject
.
setUnitName
(
tSettleDomain
.
getCustomerName
());
tEmployeeProject
.
setUnitName
(
tCustomerInfo
.
getCustomerName
());
}
}
}
baseMapper
.
insert
(
tEmployeeProject
);
baseMapper
.
insert
(
tEmployeeProject
);
}
}
...
...
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