Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
848ca95d
Commit
848ca95d
authored
Jun 18, 2020
by
tangzhaoqian
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审批
parent
83437813
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
8 deletions
+11
-8
src/main/java/cn/timer/api/utils/router/business/EvectionBusiness.java
+1
-1
src/main/java/cn/timer/api/utils/router/business/GoOutBusiness.java
+1
-1
src/main/java/cn/timer/api/utils/router/business/LeaveBusiness.java
+1
-1
src/main/java/cn/timer/api/utils/router/business/RecruitBusiness.java
+2
-1
src/main/java/cn/timer/api/utils/router/business/ReissueACardBusiness.java
+1
-1
src/main/java/cn/timer/api/utils/router/business/ResignationBusiness.java
+2
-1
src/main/java/cn/timer/api/utils/router/business/TransferPositionBusiness.java
+2
-1
src/main/java/cn/timer/api/utils/router/business/WorkOvertimeBusiness.java
+1
-1
No files found.
src/main/java/cn/timer/api/utils/router/business/EvectionBusiness.java
View file @
848ca95d
...
@@ -29,7 +29,7 @@ public class EvectionBusiness extends SpmkAssoBusiness {
...
@@ -29,7 +29,7 @@ public class EvectionBusiness extends SpmkAssoBusiness {
public
void
handleApprove
(
JSONObject
jsonObj
)
throws
ParseException
{
public
void
handleApprove
(
JSONObject
jsonObj
)
throws
ParseException
{
// TODO Auto-generated method stub
// TODO Auto-generated method stub
// 发起人企业id
// 发起人企业id
String
orgCode
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"orgCode"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"orgCode"
,
FromData
.
class
).
getValue
(
);
Integer
orgCode
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"orgCode"
))
?
null
:
Convert
.
toInt
(
jsonObj
.
get
(
"orgCode"
)
);
// 发起人id
// 发起人id
String
id
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"id"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"id"
,
FromData
.
class
).
getValue
();
String
id
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"id"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"id"
,
FromData
.
class
).
getValue
();
// 发起人名称
// 发起人名称
...
...
src/main/java/cn/timer/api/utils/router/business/GoOutBusiness.java
View file @
848ca95d
...
@@ -27,7 +27,7 @@ public class GoOutBusiness extends SpmkAssoBusiness {
...
@@ -27,7 +27,7 @@ public class GoOutBusiness extends SpmkAssoBusiness {
public
void
handleApprove
(
JSONObject
jsonObj
)
throws
Exception
{
public
void
handleApprove
(
JSONObject
jsonObj
)
throws
Exception
{
// TODO Auto-generated method stub
// TODO Auto-generated method stub
// 发起人企业id
// 发起人企业id
String
orgCode
=
jsonObj
.
get
(
"orgCode"
,
FromData
.
class
).
getValue
(
);
Integer
orgCode
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"orgCode"
))
?
null
:
Convert
.
toInt
(
jsonObj
.
get
(
"orgCode"
)
);
// 发起人id
// 发起人id
String
id
=
jsonObj
.
get
(
"id"
,
FromData
.
class
).
getValue
();
String
id
=
jsonObj
.
get
(
"id"
,
FromData
.
class
).
getValue
();
// 发起人名称
// 发起人名称
...
...
src/main/java/cn/timer/api/utils/router/business/LeaveBusiness.java
View file @
848ca95d
...
@@ -31,7 +31,7 @@ public class LeaveBusiness extends SpmkAssoBusiness {
...
@@ -31,7 +31,7 @@ public class LeaveBusiness extends SpmkAssoBusiness {
public
void
handleApprove
(
JSONObject
jsonObj
)
throws
ParseException
{
public
void
handleApprove
(
JSONObject
jsonObj
)
throws
ParseException
{
// TODO Auto-generated method stub
// TODO Auto-generated method stub
// 发起人企业id
// 发起人企业id
String
orgCode
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"orgCode"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"orgCode"
,
FromData
.
class
).
getValue
(
);
Integer
orgCode
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"orgCode"
))
?
null
:
Convert
.
toInt
(
jsonObj
.
get
(
"orgCode"
)
);
// 发起人id
// 发起人id
String
id
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"id"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"id"
,
FromData
.
class
).
getValue
();
String
id
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"id"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"id"
,
FromData
.
class
).
getValue
();
// 发起人名称
// 发起人名称
...
...
src/main/java/cn/timer/api/utils/router/business/RecruitBusiness.java
View file @
848ca95d
...
@@ -2,6 +2,7 @@ package cn.timer.api.utils.router.business;
...
@@ -2,6 +2,7 @@ package cn.timer.api.utils.router.business;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
cn.hutool.core.convert.Convert
;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.json.JSONObject
;
import
cn.hutool.json.JSONObject
;
import
cn.timer.api.dto.spmk.FromData
;
import
cn.timer.api.dto.spmk.FromData
;
...
@@ -20,7 +21,7 @@ public class RecruitBusiness extends SpmkAssoBusiness {
...
@@ -20,7 +21,7 @@ public class RecruitBusiness extends SpmkAssoBusiness {
public
void
handleApprove
(
JSONObject
jsonObj
)
{
public
void
handleApprove
(
JSONObject
jsonObj
)
{
// TODO Auto-generated method stub
// TODO Auto-generated method stub
// 发起人企业id
// 发起人企业id
String
orgCode
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"orgCode"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"orgCode"
,
FromData
.
class
).
getValue
(
);
Integer
orgCode
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"orgCode"
))
?
null
:
Convert
.
toInt
(
jsonObj
.
get
(
"orgCode"
)
);
// 发起人id
// 发起人id
String
id
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"id"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"id"
,
FromData
.
class
).
getValue
();
String
id
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"id"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"id"
,
FromData
.
class
).
getValue
();
// 发起人名称
// 发起人名称
...
...
src/main/java/cn/timer/api/utils/router/business/ReissueACardBusiness.java
View file @
848ca95d
...
@@ -29,7 +29,7 @@ public class ReissueACardBusiness extends SpmkAssoBusiness {
...
@@ -29,7 +29,7 @@ public class ReissueACardBusiness extends SpmkAssoBusiness {
public
void
handleApprove
(
JSONObject
jsonObj
)
throws
ParseException
{
public
void
handleApprove
(
JSONObject
jsonObj
)
throws
ParseException
{
// TODO Auto-generated method stub
// TODO Auto-generated method stub
// 发起人企业id
// 发起人企业id
String
orgCode
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"orgCode"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"orgCode"
,
FromData
.
class
).
getValue
(
);
Integer
orgCode
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"orgCode"
))
?
null
:
Convert
.
toInt
(
jsonObj
.
get
(
"orgCode"
)
);
// 发起人id
// 发起人id
String
id
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"id"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"id"
,
FromData
.
class
).
getValue
();
String
id
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"id"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"id"
,
FromData
.
class
).
getValue
();
// 发起人名称
// 发起人名称
...
...
src/main/java/cn/timer/api/utils/router/business/ResignationBusiness.java
View file @
848ca95d
...
@@ -5,6 +5,7 @@ import java.text.ParseException;
...
@@ -5,6 +5,7 @@ import java.text.ParseException;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
cn.hutool.core.convert.Convert
;
import
cn.hutool.core.date.DateUtil
;
import
cn.hutool.core.date.DateUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.json.JSONObject
;
import
cn.hutool.json.JSONObject
;
...
@@ -29,7 +30,7 @@ public class ResignationBusiness extends SpmkAssoBusiness {
...
@@ -29,7 +30,7 @@ public class ResignationBusiness extends SpmkAssoBusiness {
public
void
handleApprove
(
JSONObject
jsonObj
)
throws
Exception
{
public
void
handleApprove
(
JSONObject
jsonObj
)
throws
Exception
{
// TODO Auto-generated method stub
// TODO Auto-generated method stub
// 发起人企业id
// 发起人企业id
Integer
orgCode
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"orgCode"
,
FromData
.
class
))
?
null
:
Integer
.
parseInt
(
jsonObj
.
get
(
"orgCode"
,
FromData
.
class
).
getValue
(
));
Integer
orgCode
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"orgCode"
))
?
null
:
Convert
.
toInt
(
jsonObj
.
get
(
"orgCode"
));
// 发起人id
// 发起人id
Integer
id
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"id"
,
FromData
.
class
))
?
null
:
Integer
.
parseInt
(
jsonObj
.
get
(
""
,
FromData
.
class
).
getValue
());
Integer
id
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"id"
,
FromData
.
class
))
?
null
:
Integer
.
parseInt
(
jsonObj
.
get
(
""
,
FromData
.
class
).
getValue
());
// 发起人名称
// 发起人名称
...
...
src/main/java/cn/timer/api/utils/router/business/TransferPositionBusiness.java
View file @
848ca95d
...
@@ -3,6 +3,7 @@ package cn.timer.api.utils.router.business;
...
@@ -3,6 +3,7 @@ package cn.timer.api.utils.router.business;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
cn.hutool.core.convert.Convert
;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.json.JSONObject
;
import
cn.hutool.json.JSONObject
;
import
cn.timer.api.controller.zzgl.service.ZzglBmgwMService
;
import
cn.timer.api.controller.zzgl.service.ZzglBmgwMService
;
...
@@ -26,7 +27,7 @@ public class TransferPositionBusiness extends SpmkAssoBusiness {
...
@@ -26,7 +27,7 @@ public class TransferPositionBusiness extends SpmkAssoBusiness {
public
void
handleApprove
(
JSONObject
jsonObj
)
{
public
void
handleApprove
(
JSONObject
jsonObj
)
{
// TODO Auto-generated method stub
// TODO Auto-generated method stub
// 发起人企业id
// 发起人企业id
Integer
orgCode
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"orgCode"
,
FromData
.
class
))
?
null
:
Integer
.
parseInt
(
jsonObj
.
get
(
"orgCode"
,
FromData
.
class
).
getValue
(
));
Integer
orgCode
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"orgCode"
))
?
null
:
Convert
.
toInt
(
jsonObj
.
get
(
"orgCode"
));
// 发起人id
// 发起人id
Integer
id
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"id"
,
FromData
.
class
))
?
null
:
Integer
.
parseInt
(
jsonObj
.
get
(
"id"
,
FromData
.
class
).
getValue
());
Integer
id
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"id"
,
FromData
.
class
))
?
null
:
Integer
.
parseInt
(
jsonObj
.
get
(
"id"
,
FromData
.
class
).
getValue
());
// 发起人名称
// 发起人名称
...
...
src/main/java/cn/timer/api/utils/router/business/WorkOvertimeBusiness.java
View file @
848ca95d
...
@@ -28,7 +28,7 @@ public class WorkOvertimeBusiness extends SpmkAssoBusiness {
...
@@ -28,7 +28,7 @@ public class WorkOvertimeBusiness extends SpmkAssoBusiness {
public
void
handleApprove
(
JSONObject
jsonObj
)
throws
ParseException
{
public
void
handleApprove
(
JSONObject
jsonObj
)
throws
ParseException
{
// TODO Auto-generated method stub
// TODO Auto-generated method stub
// 发起人企业id
// 发起人企业id
String
orgCode
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"orgCode"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"orgCode"
,
FromData
.
class
).
getValue
(
);
Integer
orgCode
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"orgCode"
))
?
null
:
Convert
.
toInt
(
jsonObj
.
get
(
"orgCode"
)
);
// 发起人id
// 发起人id
String
id
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"id"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"id"
,
FromData
.
class
).
getValue
();
String
id
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"id"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"id"
,
FromData
.
class
).
getValue
();
// 发起人名称
// 发起人名称
...
...
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