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
cf673e40
Commit
cf673e40
authored
Mar 24, 2020
by
邓实川
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
强迫症解决了所有的waring,现在看着舒服多了;发现导入导出部分流未关闭占用系统资源,使用流记得一定要close,,一定要close,一定要close。
parent
b36fe6f5
Show whitespace changes
Inline
Side-by-side
Showing
134 changed files
with
370 additions
and
662 deletions
+370
-662
pom.xml
+0
-4
src/main/java/cn/timer/api/bean/clazz/CityClazz.java
+2
-0
src/main/java/cn/timer/api/bean/jxgl/JxglAdminJcsz.java
+4
-5
src/main/java/cn/timer/api/bean/jxgl/JxglAdminKpzsz.java
+4
-5
src/main/java/cn/timer/api/bean/jxgl/JxglAdminZbk.java
+4
-5
src/main/java/cn/timer/api/bean/jxgl/JxglAssoFbzbk.java
+4
-5
src/main/java/cn/timer/api/bean/jxgl/JxglAssoJxdj.java
+4
-5
src/main/java/cn/timer/api/bean/jxgl/JxglAssoKpzry.java
+4
-5
src/main/java/cn/timer/api/bean/jxgl/JxglAssoMbsz.java
+4
-5
src/main/java/cn/timer/api/bean/jxgl/JxglAssoWdzbgl.java
+4
-2
src/main/java/cn/timer/api/bean/jxgl/JxglAssoZbzdsz.java
+4
-5
src/main/java/cn/timer/api/bean/kqgl/KqglAssoKqjgly.java
+4
-2
src/main/java/cn/timer/api/bean/kqgl/PunchCardDetails.java
+7
-0
src/main/java/cn/timer/api/bean/kqgl/PunchRecord.java
+2
-0
src/main/java/cn/timer/api/bean/kqjg/KqjgRealtimeEnrollData.java
+4
-7
src/main/java/cn/timer/api/bean/qyzx/QyzxEmpLogin.java
+2
-0
src/main/java/cn/timer/api/bean/sbgjj/SbgjjAreaInfo.java
+2
-0
src/main/java/cn/timer/api/bean/sbgjj/SbgjjAssoCbfa.java
+4
-5
src/main/java/cn/timer/api/bean/sbgjj/SbgjjAssoCbfzmx.java
+4
-5
src/main/java/cn/timer/api/bean/sbgjj/SbgjjAssoYjzd.java
+4
-5
src/main/java/cn/timer/api/bean/sbgjj/SbgjjTypeDetails.java
+4
-5
src/main/java/cn/timer/api/bean/sbgjj/SbgjjYjCsbh.java
+4
-5
src/main/java/cn/timer/api/bean/spmk/SpmkClr.java
+6
-2
src/main/java/cn/timer/api/bean/spmk/SpmkIcon.java
+2
-1
src/main/java/cn/timer/api/bean/spmk/SpmkJqgz.java
+2
-0
src/main/java/cn/timer/api/bean/spmk/SpmkKj.java
+6
-2
src/main/java/cn/timer/api/bean/spmk/SpmkKjMk.java
+6
-2
src/main/java/cn/timer/api/bean/spmk/SpmkKjpz.java
+7
-3
src/main/java/cn/timer/api/bean/spmk/SpmkLcjd.java
+7
-3
src/main/java/cn/timer/api/bean/spmk/SpmkLcjdEmpAsso.java
+6
-2
src/main/java/cn/timer/api/bean/spmk/SpmkMb.java
+6
-2
src/main/java/cn/timer/api/bean/spmk/SpmkSpcz.java
+7
-1
src/main/java/cn/timer/api/bean/spmk/SpmkSpgl.java
+2
-0
src/main/java/cn/timer/api/bean/spmk/SpmkSpnr.java
+6
-2
src/main/java/cn/timer/api/bean/spmk/SpmkSpz.java
+6
-2
src/main/java/cn/timer/api/bean/spmk/SpmkSxpz.java
+6
-2
src/main/java/cn/timer/api/bean/spmk/SpmkXzx.java
+6
-2
src/main/java/cn/timer/api/bean/xcgl/XcglAssoGztsz.java
+4
-5
src/main/java/cn/timer/api/bean/xcgl/XcglAssoGztzt.java
+4
-5
src/main/java/cn/timer/api/bean/xcgl/XcglAssoJsgzzx.java
+4
-2
src/main/java/cn/timer/api/bean/xcgl/XcglAssoJxgz.java
+4
-2
src/main/java/cn/timer/api/bean/xcgl/XcglAssoOption.java
+4
-2
src/main/java/cn/timer/api/bean/xcgl/XcglAssoXcjsgz.java
+4
-2
src/main/java/cn/timer/api/bean/xcgl/XcglAssoXzb.java
+4
-2
src/main/java/cn/timer/api/bean/xcgl/XcglAssoXzdadx.java
+4
-2
src/main/java/cn/timer/api/bean/xcgl/XcglAssoXzury.java
+4
-2
src/main/java/cn/timer/api/bean/xcgl/XcglAssoZxfjkc.java
+4
-2
src/main/java/cn/timer/api/bean/xcgl/XcglSalaryItem.java
+4
-7
src/main/java/cn/timer/api/bean/yggl/YgglAttaSbgjj.java
+6
-2
src/main/java/cn/timer/api/bean/zzgl/ZzglBmgwM.java
+2
-0
src/main/java/cn/timer/api/config/Initialization/InitializeSetting.java
+0
-1
src/main/java/cn/timer/api/config/annotation/UserBean.java
+2
-0
src/main/java/cn/timer/api/config/sort/SimpleSortBuilder.java
+2
-0
src/main/java/cn/timer/api/config/specification/SimpleSpecification.java
+2
-0
src/main/java/cn/timer/api/config/specification/SimpleSpecificationBuilder.java
+4
-0
src/main/java/cn/timer/api/config/swagger/CustomizeModelAttributeParameterExpander.java
+7
-8
src/main/java/cn/timer/api/config/swagger/Swagger2Config.java
+1
-0
src/main/java/cn/timer/api/controller/LoginController.java
+4
-6
src/main/java/cn/timer/api/controller/dzht/DzhtController2.java
+0
-1
src/main/java/cn/timer/api/controller/jxgl/AchievementsController.java
+10
-2
src/main/java/cn/timer/api/controller/sbgjj/SocialSecurityFundController.java
+0
-1
src/main/java/cn/timer/api/controller/spmk/SpmkServiceImpl.java
+9
-19
src/main/java/cn/timer/api/controller/xcgl/SalaryManagementController.java
+9
-7
src/main/java/cn/timer/api/dao/jxgl/JxglAdminJcszMapper.java
+0
-10
src/main/java/cn/timer/api/dao/jxgl/JxglAdminKpzszMapper.java
+0
-8
src/main/java/cn/timer/api/dao/jxgl/JxglAdminZbkMapper.java
+0
-8
src/main/java/cn/timer/api/dao/jxgl/JxglAssoFbzbkMapper.java
+2
-10
src/main/java/cn/timer/api/dao/jxgl/JxglAssoJxdjMapper.java
+2
-10
src/main/java/cn/timer/api/dao/jxgl/JxglAssoKpzryMapper.java
+2
-10
src/main/java/cn/timer/api/dao/jxgl/JxglAssoMbszMapper.java
+0
-8
src/main/java/cn/timer/api/dao/jxgl/JxglAssoWdzbglMapper.java
+0
-8
src/main/java/cn/timer/api/dao/jxgl/JxglAssoZbzdszMapper.java
+2
-10
src/main/java/cn/timer/api/dao/kqjg/KqjgRealtimeEnrollDataMapper.java
+0
-8
src/main/java/cn/timer/api/dao/sbgjj/SbgjjAdminCbryMapper.java
+2
-10
src/main/java/cn/timer/api/dao/sbgjj/SbgjjAreaInfoMapper.java
+0
-8
src/main/java/cn/timer/api/dao/sbgjj/SbgjjAssoCbfaMapper.java
+0
-8
src/main/java/cn/timer/api/dao/sbgjj/SbgjjAssoCbfzmxMapper.java
+2
-10
src/main/java/cn/timer/api/dao/sbgjj/SbgjjAssoYjzdMapper.java
+2
-10
src/main/java/cn/timer/api/dao/sbgjj/SbgjjTypeDetailsMapper.java
+2
-10
src/main/java/cn/timer/api/dao/sbgjj/SbgjjYjCsbhMapper.java
+0
-8
src/main/java/cn/timer/api/dao/spmk/SpmkClrMapper.java
+0
-8
src/main/java/cn/timer/api/dao/spmk/SpmkIconMapper.java
+0
-1
src/main/java/cn/timer/api/dao/spmk/SpmkJqgzMapper.java
+0
-8
src/main/java/cn/timer/api/dao/spmk/SpmkKjMapper.java
+0
-8
src/main/java/cn/timer/api/dao/spmk/SpmkKjMkMapper.java
+0
-8
src/main/java/cn/timer/api/dao/spmk/SpmkKjpzMapper.java
+0
-8
src/main/java/cn/timer/api/dao/spmk/SpmkLcjdEmpAssoMapper.java
+0
-8
src/main/java/cn/timer/api/dao/spmk/SpmkLcjdMapper.java
+0
-8
src/main/java/cn/timer/api/dao/spmk/SpmkMbMapper.java
+0
-8
src/main/java/cn/timer/api/dao/spmk/SpmkSpczMapper.java
+0
-8
src/main/java/cn/timer/api/dao/spmk/SpmkSpglMapper.java
+2
-11
src/main/java/cn/timer/api/dao/spmk/SpmkSpnrMapper.java
+0
-8
src/main/java/cn/timer/api/dao/spmk/SpmkSpzMapper.java
+2
-11
src/main/java/cn/timer/api/dao/spmk/SpmkSxpzMapper.java
+0
-8
src/main/java/cn/timer/api/dao/spmk/SpmkXzxMapper.java
+0
-8
src/main/java/cn/timer/api/dao/xcgl/XcglAssoGztszMapper.java
+0
-8
src/main/java/cn/timer/api/dao/xcgl/XcglAssoGztztMapper.java
+2
-10
src/main/java/cn/timer/api/dao/xcgl/XcglAssoJsgzzxMapper.java
+2
-10
src/main/java/cn/timer/api/dao/xcgl/XcglAssoJxgzMapper.java
+2
-10
src/main/java/cn/timer/api/dao/xcgl/XcglAssoOptionMapper.java
+0
-8
src/main/java/cn/timer/api/dao/xcgl/XcglAssoXcjsgzMapper.java
+0
-8
src/main/java/cn/timer/api/dao/xcgl/XcglAssoXzbMapper.java
+2
-10
src/main/java/cn/timer/api/dao/xcgl/XcglAssoXzuryMapper.java
+2
-11
src/main/java/cn/timer/api/dao/xcgl/XcglAssoZxfjkcMapper.java
+2
-3
src/main/java/cn/timer/api/dao/xcgl/XcglSalaryItemMapper.java
+2
-10
src/main/java/cn/timer/api/dao/yggl/YgglAttaSbgjjMapper.java
+0
-8
src/main/java/cn/timer/api/dto/qyzx/AdminListDto.java
+1
-0
src/main/java/cn/timer/api/dto/sbgjj/InsuranceSchemeDto.java
+1
-4
src/main/java/cn/timer/api/dto/spmk/SpmkMbKjDto.java
+0
-2
src/main/java/cn/timer/api/dto/spmk/SpmkSpglDto.java
+0
-7
src/main/java/cn/timer/api/dto/spmk/SpmkSpglLcjdDto.java
+0
-7
src/main/java/cn/timer/api/dto/spmk/SpmkSpglMoveDto.java
+0
-4
src/main/java/cn/timer/api/dto/spmk/SpmkSpglSortDto.java
+0
-4
src/main/java/cn/timer/api/dto/spmk/SpmkSpzDto.java
+0
-4
src/main/java/cn/timer/api/dto/spmk/SpmkSpzSortDto.java
+0
-1
src/main/java/cn/timer/api/dto/spmk/SpmkSpzSpglDto.java
+0
-2
src/main/java/cn/timer/api/dto/xcgl/FixedSalaryStaffDto.java
+0
-1
src/main/java/cn/timer/api/dto/xcgl/SalaryGroupGroupingDto.java
+0
-1
src/main/java/cn/timer/api/dto/xcgl/SalaryPersonFieldDto.java
+0
-1
src/main/java/cn/timer/api/dto/xcgl/TjSalaryItemDot.java
+0
-1
src/main/java/cn/timer/api/dto/zzgl/EmpDeptDto.java
+0
-1
src/main/java/cn/timer/api/dto/zzgl/LogDgjlsDto.java
+0
-1
src/main/java/cn/timer/api/dto/zzgl/LogDgjlsQueryDto.java
+0
-2
src/main/java/cn/timer/api/dto/zzgl/ZzglLogDgjlQueryDto.java
+0
-5
src/main/java/cn/timer/api/utils/ApiReturnUtil.java
+1
-1
src/main/java/cn/timer/api/utils/DateFormatUtils.java
+2
-1
src/main/java/cn/timer/api/utils/ExcelUtil.java
+6
-1
src/main/java/cn/timer/api/utils/ImportExcelUntil.java
+3
-0
src/main/java/cn/timer/api/utils/NumberedGeneration.java
+1
-1
src/main/java/cn/timer/api/utils/ResponseResultNew.java
+31
-28
src/main/java/cn/timer/api/utils/RestTemplateUtil.java
+2
-0
src/main/java/cn/timer/api/utils/ResultUtil.java
+25
-23
src/main/java/cn/timer/api/utils/SerializationUtils.java
+1
-0
src/main/java/cn/timer/api/utils/UserIp.java
+0
-4
No files found.
pom.xml
View file @
cf673e40
...
...
@@ -137,7 +137,6 @@
<dependency>
<groupId>
org.apache.commons
</groupId>
<artifactId>
commons-lang3
</artifactId>
<version>
3.4
</version>
</dependency>
<dependency>
...
...
@@ -210,7 +209,6 @@
<dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-databind
</artifactId>
<version>
2.9.8
</version>
</dependency>
<dependency>
...
...
@@ -328,7 +326,6 @@
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.1
</version>
<configuration>
<source>
1.8
</source>
<target>
1.8
</target>
...
...
@@ -349,7 +346,6 @@
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-resources-plugin
</artifactId>
<version>
3.0.1
</version>
<configuration>
<!--<failOnMissingWebXml>false</failOnMissingWebXml> -->
<includeEmptyDirs>
true
</includeEmptyDirs>
...
...
src/main/java/cn/timer/api/bean/clazz/CityClazz.java
View file @
cf673e40
...
...
@@ -36,6 +36,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"城市类"
)
public
class
CityClazz
extends
Model
<
CityClazz
>{
private
static
final
long
serialVersionUID
=
3208566213833439168L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/jxgl/JxglAdminJcsz.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
jxgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,9 +28,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"基础设置"
)
public
class
JxglAdminJcsz
extends
Model
<
JxglAdminJcsz
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
8687909529181749192L
;
@Id
...
...
src/main/java/cn/timer/api/bean/jxgl/JxglAdminKpzsz.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
jxgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,9 +28,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"考评组设置"
)
public
class
JxglAdminKpzsz
extends
Model
<
JxglAdminKpzsz
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
3542750698820133341L
;
@Id
...
...
src/main/java/cn/timer/api/bean/jxgl/JxglAdminZbk.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
jxgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,9 +28,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"指标库"
)
public
class
JxglAdminZbk
extends
Model
<
JxglAdminZbk
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
2558055045569841060L
;
@Id
...
...
src/main/java/cn/timer/api/bean/jxgl/JxglAssoFbzbk.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
jxgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,9 +28,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"指标库量化指标"
)
public
class
JxglAssoFbzbk
extends
Model
<
JxglAssoFbzbk
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
2052434463054119049L
;
@Id
...
...
src/main/java/cn/timer/api/bean/jxgl/JxglAssoJxdj.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
jxgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,9 +28,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"绩效等级"
)
public
class
JxglAssoJxdj
extends
Model
<
JxglAssoJxdj
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
-
1705525475344521687L
;
@Id
...
...
src/main/java/cn/timer/api/bean/jxgl/JxglAssoKpzry.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
jxgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,9 +28,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"考评组管理员/被考核人员"
)
public
class
JxglAssoKpzry
extends
Model
<
JxglAssoKpzry
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
-
7561458217477289939L
;
@Id
...
...
src/main/java/cn/timer/api/bean/jxgl/JxglAssoMbsz.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
jxgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,9 +28,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"模板设计"
)
public
class
JxglAssoMbsz
extends
Model
<
JxglAssoMbsz
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
3349081275918939640L
;
@Id
...
...
src/main/java/cn/timer/api/bean/jxgl/JxglAssoWdzbgl.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
jxgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
src/main/java/cn/timer/api/bean/jxgl/JxglAssoZbzdsz.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
jxgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,9 +28,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"指标字段设置"
)
public
class
JxglAssoZbzdsz
extends
Model
<
JxglAssoZbzdsz
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
-
7704484193612123538L
;
@Id
...
...
src/main/java/cn/timer/api/bean/kqgl/KqglAssoKqjgly.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
kqgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
src/main/java/cn/timer/api/bean/kqgl/PunchCardDetails.java
View file @
cf673e40
...
...
@@ -107,6 +107,7 @@ public class PunchCardDetails implements Serializable{
return
sbdk1
;
}
@SuppressWarnings
(
"unlikely-arg-type"
)
public
void
setSbdk1
(
Long
sbdk1
)
{
this
.
sbdk1
=
sbdk1
;
if
(
sbdk1
!=
null
&&
!
sbdk1
.
equals
(
""
)
&&
!
sbdk1
.
equals
(
0
l
))
{
...
...
@@ -126,6 +127,7 @@ public class PunchCardDetails implements Serializable{
return
xbdk1
;
}
@SuppressWarnings
(
"unlikely-arg-type"
)
public
void
setXbdk1
(
Long
xbdk1
)
{
this
.
xbdk1
=
xbdk1
;
if
(
xbdk1
!=
null
&&
!
xbdk1
.
equals
(
""
)
&&
!
xbdk1
.
equals
(
0
l
))
{
...
...
@@ -145,6 +147,7 @@ public class PunchCardDetails implements Serializable{
return
sbdk2
;
}
@SuppressWarnings
(
"unlikely-arg-type"
)
public
void
setSbdk2
(
Long
sbdk2
)
{
this
.
sbdk2
=
sbdk2
;
if
(
sbdk2
!=
null
&&
!
sbdk2
.
equals
(
""
)
&&
!
sbdk2
.
equals
(
0
l
))
{
...
...
@@ -164,6 +167,7 @@ public class PunchCardDetails implements Serializable{
return
xbdk2
;
}
@SuppressWarnings
(
"unlikely-arg-type"
)
public
void
setXbdk2
(
Long
xbdk2
)
{
this
.
xbdk2
=
xbdk2
;
if
(
xbdk2
!=
null
&&
!
xbdk2
.
equals
(
""
)
&&
!
xbdk2
.
equals
(
0
l
))
{
...
...
@@ -183,6 +187,7 @@ public class PunchCardDetails implements Serializable{
return
sbdk3
;
}
@SuppressWarnings
(
"unlikely-arg-type"
)
public
void
setSbdk3
(
Long
sbdk3
)
{
this
.
sbdk3
=
sbdk3
;
if
(
sbdk3
!=
null
&&
!
sbdk3
.
equals
(
""
)
&&
!
sbdk3
.
equals
(
0
l
))
{
...
...
@@ -202,6 +207,7 @@ public class PunchCardDetails implements Serializable{
return
xbdk3
;
}
@SuppressWarnings
(
"unlikely-arg-type"
)
public
void
setXbdk3
(
Long
xbdk3
)
{
this
.
xbdk3
=
xbdk3
;
if
(
xbdk3
!=
null
&&
!
xbdk3
.
equals
(
""
)
&&
!
xbdk3
.
equals
(
0
l
))
{
...
...
@@ -245,6 +251,7 @@ public class PunchCardDetails implements Serializable{
return
dksj
;
}
@SuppressWarnings
(
"unlikely-arg-type"
)
public
void
setDksj
(
Long
dksj
)
{
this
.
dksj
=
dksj
;
if
(
dksj
!=
null
&&
!
dksj
.
equals
(
""
))
{
...
...
src/main/java/cn/timer/api/bean/kqgl/PunchRecord.java
View file @
cf673e40
...
...
@@ -57,6 +57,7 @@ public class PunchRecord implements Serializable {
return
dktime
;
}
@SuppressWarnings
(
"unlikely-arg-type"
)
public
void
setDktime
(
Long
dktime
)
{
this
.
dktime
=
dktime
;
if
(
dktime
!=
null
&&
!
dktime
.
equals
(
""
))
{
...
...
@@ -180,6 +181,7 @@ public class PunchRecord implements Serializable {
return
attime
;
}
@SuppressWarnings
(
"unlikely-arg-type"
)
public
void
setAttime
(
Long
attime
)
{
this
.
attime
=
attime
;
...
...
src/main/java/cn/timer/api/bean/kqjg/KqjgRealtimeEnrollData.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
kqjg
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.extension.activerecord.Model
;
import
io.swagger.annotations.ApiModel
;
...
...
@@ -26,9 +26,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"机器上传的实时登记数据"
)
public
class
KqjgRealtimeEnrollData
extends
Model
<
KqjgRealtimeEnrollData
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
-
2002607279902017749L
;
@Id
...
...
src/main/java/cn/timer/api/bean/qyzx/QyzxEmpLogin.java
View file @
cf673e40
...
...
@@ -79,6 +79,7 @@ public class QyzxEmpLogin extends Model<QyzxEmpLogin> {
private
List
<
String
>
menus
;
@TableField
(
exist
=
false
)
@Builder
.
Default
private
List
<
QysDto
>
qys
=
new
ArrayList
<
QysDto
>();
}
\ No newline at end of file
src/main/java/cn/timer/api/bean/sbgjj/SbgjjAreaInfo.java
View file @
cf673e40
...
...
@@ -25,6 +25,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"社保公积金基数"
)
public
class
SbgjjAreaInfo
extends
Model
<
SbgjjAreaInfo
>
{
private
static
final
long
serialVersionUID
=
182454543208472911L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/sbgjj/SbgjjAssoCbfa.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
sbgjj
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,9 +28,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"参保方案"
)
public
class
SbgjjAssoCbfa
extends
Model
<
SbgjjAssoCbfa
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
-
6328104461184682537L
;
@Id
...
...
src/main/java/cn/timer/api/bean/sbgjj/SbgjjAssoCbfzmx.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
sbgjj
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,9 +28,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"参保方案明细"
)
public
class
SbgjjAssoCbfzmx
extends
Model
<
SbgjjAssoCbfzmx
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
-
9196350600285596196L
;
@Id
...
...
src/main/java/cn/timer/api/bean/sbgjj/SbgjjAssoYjzd.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
sbgjj
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,9 +28,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"月结账单"
)
public
class
SbgjjAssoYjzd
extends
Model
<
SbgjjAssoYjzd
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
7039124193890835671L
;
@Id
...
...
src/main/java/cn/timer/api/bean/sbgjj/SbgjjTypeDetails.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
sbgjj
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,9 +28,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"社保公积金方案"
)
public
class
SbgjjTypeDetails
extends
Model
<
SbgjjTypeDetails
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
1624629196919610692L
;
@Id
...
...
src/main/java/cn/timer/api/bean/sbgjj/SbgjjYjCsbh.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
sbgjj
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,9 +28,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"城市"
)
public
class
SbgjjYjCsbh
extends
Model
<
SbgjjYjCsbh
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
5138001946671740275L
;
@Id
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkClr.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,6 +28,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"处理人"
)
public
class
SpmkClr
extends
Model
<
SpmkClr
>
{
private
static
final
long
serialVersionUID
=
2999549121813628489L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkIcon.java
View file @
cf673e40
...
...
@@ -9,7 +9,6 @@ import com.baomidou.mybatisplus.annotation.IdType;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.extension.activerecord.Model
;
import
cn.timer.api.bean.spmk.SpmkClr.SpmkClrBuilder
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
...
...
@@ -26,6 +25,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"图标库"
)
public
class
SpmkIcon
extends
Model
<
SpmkIcon
>
{
private
static
final
long
serialVersionUID
=
3669828433939946316L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkJqgz.java
View file @
cf673e40
...
...
@@ -26,6 +26,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"假勤规则"
)
public
class
SpmkJqgz
extends
Model
<
SpmkJqgz
>
{
private
static
final
long
serialVersionUID
=
3806274737897793795L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkKj.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,6 +28,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"控件"
)
public
class
SpmkKj
extends
Model
<
SpmkKj
>
{
private
static
final
long
serialVersionUID
=
-
1463389256002459795L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkKjMk.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,6 +28,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"控件模版关联"
)
public
class
SpmkKjMk
extends
Model
<
SpmkKjMk
>
{
private
static
final
long
serialVersionUID
=
7826285133719947956L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkKjpz.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.Date
;
import
java.util.List
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
javax.persistence.Transient
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -30,6 +32,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"控件配置"
)
public
class
SpmkKjpz
extends
Model
<
SpmkKjpz
>
{
private
static
final
long
serialVersionUID
=
4471227872317103666L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkLcjd.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.Date
;
import
java.util.List
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
javax.persistence.Transient
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.extension.activerecord.Model
;
import
cn.timer.api.config.swagger.IgnoreSwaggerParameter
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
...
...
@@ -30,6 +32,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"流程节点"
)
public
class
SpmkLcjd
extends
Model
<
SpmkLcjd
>
{
private
static
final
long
serialVersionUID
=
-
7718951890425087486L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkLcjdEmpAsso.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,6 +28,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"流程节点员工关联"
)
public
class
SpmkLcjdEmpAsso
extends
Model
<
SpmkLcjdEmpAsso
>
{
private
static
final
long
serialVersionUID
=
-
781283259033327552L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkMb.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,6 +28,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"审批模版"
)
public
class
SpmkMb
extends
Model
<
SpmkMb
>
{
private
static
final
long
serialVersionUID
=
-
3347983303738594498L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkSpcz.java
View file @
cf673e40
...
...
@@ -3,7 +3,11 @@ package cn.timer.api.bean.spmk;
import
java.util.Date
;
import
java.util.List
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
javax.persistence.Transient
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
...
...
@@ -29,6 +33,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"审批操作"
)
public
class
SpmkSpcz
extends
Model
<
SpmkSpcz
>
{
private
static
final
long
serialVersionUID
=
3566026137671837723L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkSpgl.java
View file @
cf673e40
...
...
@@ -28,6 +28,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"审批管理"
)
public
class
SpmkSpgl
extends
Model
<
SpmkSpgl
>
{
private
static
final
long
serialVersionUID
=
-
4266670348589252169L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkSpnr.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,6 +28,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"审批内容"
)
public
class
SpmkSpnr
extends
Model
<
SpmkSpnr
>
{
private
static
final
long
serialVersionUID
=
-
1940496608397785345L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkSpz.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,6 +28,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"审批组"
)
public
class
SpmkSpz
extends
Model
<
SpmkSpz
>
{
private
static
final
long
serialVersionUID
=
3386197134163815550L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkSxpz.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,6 +28,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"属性配置"
)
public
class
SpmkSxpz
extends
Model
<
SpmkSxpz
>
{
private
static
final
long
serialVersionUID
=
1780544983489999335L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkXzx.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,6 +28,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"选择项"
)
public
class
SpmkXzx
extends
Model
<
SpmkXzx
>
{
private
static
final
long
serialVersionUID
=
4721522728897877974L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/xcgl/XcglAssoGztsz.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
xcgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,9 +28,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"工资条组-设置"
)
public
class
XcglAssoGztsz
extends
Model
<
XcglAssoGztsz
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
6638841164667873057L
;
@Id
...
...
src/main/java/cn/timer/api/bean/xcgl/XcglAssoGztzt.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
xcgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,9 +28,6 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"工资条组内成员状态"
)
public
class
XcglAssoGztzt
extends
Model
<
XcglAssoGztzt
>
{
/**
*
*/
private
static
final
long
serialVersionUID
=
-
3805877765856830893L
;
@Id
...
...
src/main/java/cn/timer/api/bean/xcgl/XcglAssoJsgzzx.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
xcgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
src/main/java/cn/timer/api/bean/xcgl/XcglAssoJxgz.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
xcgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
src/main/java/cn/timer/api/bean/xcgl/XcglAssoOption.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
xcgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
src/main/java/cn/timer/api/bean/xcgl/XcglAssoXcjsgz.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
xcgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
src/main/java/cn/timer/api/bean/xcgl/XcglAssoXzb.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
xcgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
src/main/java/cn/timer/api/bean/xcgl/XcglAssoXzdadx.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
xcgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.FieldFill
;
import
com.baomidou.mybatisplus.annotation.IdType
;
...
...
src/main/java/cn/timer/api/bean/xcgl/XcglAssoXzury.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
xcgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
src/main/java/cn/timer/api/bean/xcgl/XcglAssoZxfjkc.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
xcgl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.FieldFill
;
import
com.baomidou.mybatisplus.annotation.IdType
;
...
...
src/main/java/cn/timer/api/bean/xcgl/XcglSalaryItem.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
xcgl
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.extension.activerecord.Model
;
import
cn.timer.api.dto.xcgl.PayTermDto
;
import
cn.timer.api.dto.xcgl.XcglAssoDto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
...
...
src/main/java/cn/timer/api/bean/yggl/YgglAttaSbgjj.java
View file @
cf673e40
package
cn
.
timer
.
api
.
bean
.
yggl
;
import
java.util.Date
;
import
javax.persistence.*
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -26,6 +28,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"员工社保公积金"
)
public
class
YgglAttaSbgjj
extends
Model
<
YgglAttaSbgjj
>
{
private
static
final
long
serialVersionUID
=
532391446907698642L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/bean/zzgl/ZzglBmgwM.java
View file @
cf673e40
...
...
@@ -35,6 +35,8 @@ import lombok.NoArgsConstructor;
@ApiModel
(
"部门岗位表"
)
public
class
ZzglBmgwM
extends
Model
<
ZzglBmgwM
>
{
private
static
final
long
serialVersionUID
=
-
3467488578145579513L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
...
...
src/main/java/cn/timer/api/config/Initialization/InitializeSetting.java
View file @
cf673e40
package
cn
.
timer
.
api
.
config
.
Initialization
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.boot.ApplicationArguments
;
import
org.springframework.boot.ApplicationRunner
;
import
org.springframework.core.annotation.Order
;
...
...
src/main/java/cn/timer/api/config/annotation/UserBean.java
View file @
cf673e40
...
...
@@ -12,6 +12,8 @@ import lombok.*;
@AllArgsConstructor
public
class
UserBean
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
1141678314103123565L
;
@IgnoreSwaggerParameter
private
Integer
empNum
;
...
...
src/main/java/cn/timer/api/config/sort/SimpleSortBuilder.java
View file @
cf673e40
...
...
@@ -12,6 +12,7 @@ public class SimpleSortBuilder {
/**
* 调用的时候使用SimpleSortBuilder.generateSort("name","xh_d");表示先以name升序,之后以xh降序
*/
@SuppressWarnings
(
"deprecation"
)
public
static
Sort
generateSort
(
String
...
fields
)
{
List
<
Order
>
orders
=
new
ArrayList
<
Order
>();
for
(
String
f:
fields
)
{
...
...
@@ -20,6 +21,7 @@ public class SimpleSortBuilder {
return
new
Sort
(
orders
);
}
@SuppressWarnings
(
"deprecation"
)
private
static
Order
generateOrder
(
String
f
)
{
Order
order
=
null
;
String
[]
ff
=
f
.
split
(
"_"
);
...
...
src/main/java/cn/timer/api/config/specification/SimpleSpecification.java
View file @
cf673e40
...
...
@@ -11,6 +11,8 @@ import org.springframework.data.jpa.domain.Specification;
public
class
SimpleSpecification
<
T
>
implements
Specification
<
T
>
{
private
static
final
long
serialVersionUID
=
9090560756576906120L
;
/**
* 查询的条件列表,是一组列表
*/
...
...
src/main/java/cn/timer/api/config/specification/SimpleSpecificationBuilder.java
View file @
cf673e40
...
...
@@ -37,6 +37,7 @@ public class SimpleSpecificationBuilder<T> {
*
* @return
*/
@SuppressWarnings
(
"rawtypes"
)
public
SimpleSpecificationBuilder
add
(
String
key
,
String
oper
,
Object
value
,
String
join
)
{
SpecificationOperator
so
=
new
SpecificationOperator
();
so
.
setKey
(
key
);
...
...
@@ -52,6 +53,7 @@ public class SimpleSpecificationBuilder<T> {
*
* @return this,方便后续的链式调用
*/
@SuppressWarnings
(
"rawtypes"
)
public
SimpleSpecificationBuilder
addOr
(
String
key
,
String
oper
,
Object
value
)
{
return
this
.
add
(
key
,
oper
,
value
,
"or"
);
}
...
...
@@ -61,10 +63,12 @@ public class SimpleSpecificationBuilder<T> {
*
* @return
*/
@SuppressWarnings
(
"rawtypes"
)
public
SimpleSpecificationBuilder
add
(
String
key
,
String
oper
,
Object
value
)
{
return
this
.
add
(
key
,
oper
,
value
,
"and"
);
}
@SuppressWarnings
(
"rawtypes"
)
public
Specification
generateSpecification
()
{
Specification
<
T
>
specification
=
new
SimpleSpecification
<
T
>(
opers
);
return
specification
;
...
...
src/main/java/cn/timer/api/config/swagger/CustomizeModelAttributeParameterExpander.java
View file @
cf673e40
...
...
@@ -13,8 +13,6 @@ import static springfox.documentation.schema.Collections.isContainerType;
import
static
springfox
.
documentation
.
schema
.
Types
.
isVoid
;
import
static
springfox
.
documentation
.
schema
.
Types
.
typeNameFor
;
import
java.beans.BeanInfo
;
import
java.beans.IntrospectionException
;
import
java.beans.Introspector
;
import
java.beans.PropertyDescriptor
;
import
java.lang.reflect.Field
;
...
...
@@ -37,7 +35,6 @@ import org.springframework.util.ClassUtils;
import
com.fasterxml.classmate.ResolvedType
;
import
com.fasterxml.classmate.members.ResolvedField
;
import
com.fasterxml.classmate.members.ResolvedMethod
;
import
com.google.common.annotations.VisibleForTesting
;
import
com.google.common.base.Function
;
import
com.google.common.base.Optional
;
import
com.google.common.base.Predicate
;
...
...
@@ -255,6 +252,7 @@ public class CustomizeModelAttributeParameterExpander extends ModelAttributePara
};
}
@SuppressWarnings
(
"unchecked"
)
private
Predicate
<
ModelAttributeField
>
simpleType
()
{
return
and
(
not
(
isCollection
()),
not
(
isMap
()),
or
(
...
...
@@ -355,7 +353,8 @@ public class CustomizeModelAttributeParameterExpander extends ModelAttributePara
private
Set
<
PropertyDescriptor
>
propertyDescriptors
(
final
Class
<?>
clazz
)
{
try
{
Set
<
PropertyDescriptor
>
beanProps
=
new
HashSet
<>();
PropertyDescriptor
[]
descriptors
=
getBeanInfo
(
clazz
).
getPropertyDescriptors
();
// PropertyDescriptor[] descriptors = getBeanInfo(clazz).getPropertyDescriptors();
PropertyDescriptor
[]
descriptors
=
Introspector
.
getBeanInfo
(
clazz
).
getPropertyDescriptors
();
for
(
PropertyDescriptor
descriptor
:
descriptors
)
{
Field
field
=
null
;
...
...
@@ -404,10 +403,10 @@ public class CustomizeModelAttributeParameterExpander extends ModelAttributePara
}
@VisibleForTesting
BeanInfo
getBeanInfo
(
Class
<?>
clazz
)
throws
IntrospectionException
{
return
Introspector
.
getBeanInfo
(
clazz
);
}
//
@VisibleForTesting
//
BeanInfo getBeanInfo(Class<?> clazz) throws IntrospectionException {
//
return Introspector.getBeanInfo(clazz);
//
}
public
static
String
determineScalarParameterType
(
Set
<?
extends
MediaType
>
consumes
,
HttpMethod
method
)
{
String
parameterType
=
"query"
;
...
...
src/main/java/cn/timer/api/config/swagger/Swagger2Config.java
View file @
cf673e40
...
...
@@ -29,6 +29,7 @@ public class Swagger2Config {
.
build
();
}
//apiInfo对象主要是设置我们api文档的标题,描述,访问的地址,创建者等信息
@SuppressWarnings
(
"deprecation"
)
@Bean
public
ApiInfo
apiInfo
(){
return
new
ApiInfoBuilder
()
...
...
src/main/java/cn/timer/api/controller/LoginController.java
View file @
cf673e40
...
...
@@ -34,7 +34,6 @@ import cn.timer.api.config.annotation.UserBean;
import
cn.timer.api.config.enums.CommonEnum
;
import
cn.timer.api.dao.qyzx.QyzxEmpEntAssoMapper
;
import
cn.timer.api.dao.qyzx.QyzxEmpLoginMapper
;
import
cn.timer.api.dao.qyzx.QyzxSmsMapper
;
import
cn.timer.api.dao.zzgl.ZzglBmgwMMapper
;
import
cn.timer.api.dto.login.QysDto
;
import
cn.timer.api.dto.qyzx.EntRegisterDto
;
...
...
@@ -61,8 +60,7 @@ public class LoginController {
@Autowired
private
QyzxEmpEntAssoMapper
qyzxEmpEntAssoMapper
;
@Autowired
private
QyzxSmsMapper
qyzxSmsMapper
;
// @Autowired
// private DataSourceTransactionManager transactionManager;
...
...
@@ -87,8 +85,8 @@ public class LoginController {
entRegisterDto
.
setPhone
(
phone
);
}
JSONObject
j
=
aliyunSMS
.
yzm
(
entRegisterDto
,
entRegisterDto
.
getTc
(),
code
);
String
bizId
=
(
String
)
j
.
get
(
"BizId"
);
Integer
type
=
entRegisterDto
.
getMessageType
();
//
String bizId = (String) j.get("BizId");
//
Integer type = entRegisterDto.getMessageType();
// 获取当前日期的字符串格式
String
today
=
DateUtil
.
today
();
// yyyy-MM-dd
...
...
@@ -355,7 +353,6 @@ public class LoginController {
ip
=
UserIp
.
getIpAddr
(
request
);
qyzxEmpLogin1
.
setIp
(
ip
);
}
catch
(
Exception
e
)
{
// TODO Auto-generated catch block
e
.
printStackTrace
();
}
List
<
QysDto
>
qys
=
qyzxEmpLoginMapper
.
getQys
(
qyzxEmpLogin1
.
getId
());
...
...
@@ -372,6 +369,7 @@ public class LoginController {
return
ResultUtil
.
error
(
"帐号被禁用"
);
}
qyzxEmpLogin1
.
setOrgId
(
ctrl
.
getId
());
@SuppressWarnings
(
"unused"
)
String
phone
=
qyzxEmpLogin1
.
getPhone
();
if
(
CommonEnum
.
U_TYPE_ADMIN
.
getType
().
equals
(
ctrl
.
getUserType
())
||
CommonEnum
.
U_TYPE_C_ADMIN
.
getType
().
equals
(
ctrl
.
getUserType
()))
{
...
...
src/main/java/cn/timer/api/controller/dzht/DzhtController2.java
View file @
cf673e40
...
...
@@ -23,7 +23,6 @@ import org.springframework.web.bind.annotation.RestController;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
...
...
src/main/java/cn/timer/api/controller/jxgl/AchievementsController.java
View file @
cf673e40
...
...
@@ -29,8 +29,6 @@ import cn.timer.api.bean.jxgl.JxglAssoFbzbk;
import
cn.timer.api.bean.jxgl.JxglAssoJxdj
;
import
cn.timer.api.bean.jxgl.JxglAssoKpzry
;
import
cn.timer.api.bean.jxgl.JxglAssoZbzdsz
;
import
cn.timer.api.bean.kqgl.AttendanceGroup
;
import
cn.timer.api.bean.xcgl.XcglAdminXzz
;
import
cn.timer.api.config.annotation.CurrentUser
;
import
cn.timer.api.config.annotation.UserBean
;
import
cn.timer.api.dao.jxgl.JxglAdminJcszMapper
;
...
...
@@ -95,6 +93,7 @@ public class AchievementsController {
public
ResponseResult
IndexfieldList
(
@CurrentUser
UserBean
userBean
)
{
int
qyid
=
userBean
.
getOrgCode
();
//坏小孩【企业id】
@SuppressWarnings
(
"unused"
)
int
userid
=
userBean
.
getEmpNum
();
//用户id
List
<
JxglAssoZbzdsz
>
zbzdsz
=
new
LambdaQueryChainWrapper
<
JxglAssoZbzdsz
>(
jxglassozbzdszmapper
).
eq
(
JxglAssoZbzdsz:
:
getQyid
,
qyid
).
eq
(
JxglAssoZbzdsz:
:
getIsSfqy
,
1
).
list
();
...
...
@@ -142,9 +141,11 @@ public class AchievementsController {
int
qyid
=
userBean
.
getOrgCode
();
//坏小孩【企业id】
int
userid
=
userBean
.
getEmpNum
();
//用户id
@SuppressWarnings
(
"unused"
)
Map
<
String
,
Object
>
result
=
new
HashMap
<
String
,
Object
>();
String
xgyh
=
basics
.
get
(
"a"
).
toString
();
@SuppressWarnings
(
"rawtypes"
)
HashMap
hashMap
=
JSON
.
parseObject
(
xgyh
,
HashMap
.
class
);
int
jcszid
=
0
;
...
...
@@ -297,6 +298,7 @@ public class AchievementsController {
public
ResponseResult
IndexDatabase
(
@CurrentUser
UserBean
userBean
,
@RequestBody
IndexDatabaseDto
indexd
)
{
int
qyid
=
userBean
.
getOrgCode
();
//坏小孩【企业id】
@SuppressWarnings
(
"unused"
)
int
userid
=
userBean
.
getEmpNum
();
//用户id
JxglAdminZbk
zbk
=
JxglAdminZbk
.
builder
().
build
();
...
...
@@ -364,7 +366,9 @@ public class AchievementsController {
@ApiOperation
(
value
=
"获取指标字段详细"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
public
ResponseResult
IndexFieldDetailed
(
@CurrentUser
UserBean
userBean
,
@PathVariable
Integer
id
)
{
@SuppressWarnings
(
"unused"
)
int
qyid
=
userBean
.
getOrgCode
();
//坏小孩【企业id】
@SuppressWarnings
(
"unused"
)
int
userid
=
userBean
.
getEmpNum
();
//用户id
IndexDetailDto
detai
=
new
IndexDetailDto
();
...
...
@@ -384,7 +388,9 @@ public class AchievementsController {
@ApiOperation
(
value
=
"修改指标库"
,
httpMethod
=
"PUT"
,
notes
=
"接口发布说明"
)
public
ResponseResult
updaIndexdatabase
(
@CurrentUser
UserBean
userBean
,
@RequestBody
IndexDatabaseDto
indexd
)
{
@SuppressWarnings
(
"unused"
)
int
qyid
=
userBean
.
getOrgCode
();
//坏小孩【企业id】
@SuppressWarnings
(
"unused"
)
int
userid
=
userBean
.
getEmpNum
();
//用户id
JxglAdminZbk
zbk
=
JxglAdminZbk
.
builder
().
build
();
...
...
@@ -481,6 +487,7 @@ public class AchievementsController {
@ApiOperation
(
value
=
"新增考评组"
,
httpMethod
=
"POST"
,
notes
=
"接口发布说明"
)
public
ResponseResult
IndexEvaluationSection
(
@CurrentUser
UserBean
userBean
,
@RequestBody
AppraisalGroupSettingsDto
appgroset
)
{
int
qyid
=
userBean
.
getOrgCode
();
//坏小孩【企业id】
@SuppressWarnings
(
"unused"
)
int
userid
=
userBean
.
getEmpNum
();
//用户id
JxglAdminKpzsz
kpz
=
JxglAdminKpzsz
.
builder
().
build
();
...
...
@@ -577,6 +584,7 @@ public class AchievementsController {
public
ResponseResult
SelectIndexItem
(
@CurrentUser
UserBean
userBean
,
@PathVariable
Integer
id
)
{
int
qyid
=
userBean
.
getOrgCode
();
//坏小孩【企业id】
@SuppressWarnings
(
"unused"
)
int
userid
=
userBean
.
getEmpNum
();
//用户id
List
<
JxglAdminZbk
>
zbklist
=
new
LambdaQueryChainWrapper
<
JxglAdminZbk
>(
jxgladminzbkmapper
).
eq
(
JxglAdminZbk:
:
getQyid
,
qyid
)
...
...
src/main/java/cn/timer/api/controller/sbgjj/SocialSecurityFundController.java
View file @
cf673e40
...
...
@@ -21,7 +21,6 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.baomidou.mybatisplus.extension.service.additional.query.impl.LambdaQueryChainWrapper
;
import
cn.hutool.core.util.StrUtil
;
import
cn.timer.api.bean.kqgl.AttGroupBinPunchMode
;
import
cn.timer.api.bean.sbgjj.SbgjjAdminCbry
;
import
cn.timer.api.bean.sbgjj.SbgjjAreaInfo
;
import
cn.timer.api.bean.sbgjj.SbgjjAssoCbfa
;
...
...
src/main/java/cn/timer/api/controller/spmk/SpmkServiceImpl.java
View file @
cf673e40
package
cn
.
timer
.
api
.
controller
.
spmk
;
import
java.util.ArrayList
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -15,19 +14,15 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.additional.query.impl.LambdaQueryChainWrapper
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.util.ArrayUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.core.util.StrUtil
;
import
cn.timer.api.bean.spmk.SpmkClr
;
import
cn.timer.api.bean.spmk.SpmkIcon
;
import
cn.timer.api.bean.spmk.SpmkJqgz
;
import
cn.timer.api.bean.spmk.SpmkLcjd
;
...
...
@@ -37,15 +32,11 @@ import cn.timer.api.bean.spmk.SpmkSpcz;
import
cn.timer.api.bean.spmk.SpmkSpgl
;
import
cn.timer.api.bean.spmk.SpmkSpz
;
import
cn.timer.api.bean.spmk.SpmkSxpz
;
import
cn.timer.api.bean.zcgl.ZcglAdminZccrkgl
;
import
cn.timer.api.config.annotation.CurrentUser
;
import
cn.timer.api.config.annotation.UserBean
;
import
cn.timer.api.config.enums.CommonEnum
;
import
cn.timer.api.dao.spmk.SpmkLcjdEmpAssoMapper
;
import
cn.timer.api.dao.spmk.SpmkLcjdMapper
;
import
cn.timer.api.dao.spmk.SpmkSpglMapper
;
import
cn.timer.api.dao.spmk.SpmkSpzMapper
;
import
cn.timer.api.dao.spmk.SpmkSxpzMapper
;
import
cn.timer.api.dto.spmk.SpmkMbKjDto
;
import
cn.timer.api.dto.spmk.SpmkSpglDto
;
import
cn.timer.api.dto.spmk.SpmkSpglMoveDto
;
...
...
@@ -53,15 +44,12 @@ import cn.timer.api.dto.spmk.SpmkSpglSortDto;
import
cn.timer.api.dto.spmk.SpmkSpzDto
;
import
cn.timer.api.dto.spmk.SpmkSpzSortDto
;
import
cn.timer.api.dto.spmk.SpmkSpzSpglDto
;
import
cn.timer.api.dto.zcgl.ZcglDetailsDto
;
import
cn.timer.api.utils.Result
;
import
cn.timer.api.utils.ResultUtil
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperationSupport
;
import
lombok.extern.slf4j.Slf4j
;
@Slf4j
@Api
(
tags
=
"3.0审批模块"
)
@RestController
@Transactional
...
...
@@ -73,12 +61,12 @@ public class SpmkServiceImpl {
private
SpmkSpglMapper
spmkSpglMapper
;
@Autowired
private
SpmkSpzMapper
spmkSpzMapper
;
@Autowired
private
SpmkLcjdMapper
spmkLcjdMapper
;
@Autowired
private
SpmkSxpzMapper
spmkSxpzMapper
;
@Autowired
private
SpmkLcjdEmpAssoMapper
spmkLcjdEmpAssoMapper
;
//
@Autowired
//
private SpmkLcjdMapper spmkLcjdMapper;
//
@Autowired
//
private SpmkSxpzMapper spmkSxpzMapper;
//
@Autowired
//
private SpmkLcjdEmpAssoMapper spmkLcjdEmpAssoMapper;
/**
* 审批组-列表
...
...
@@ -166,6 +154,7 @@ public class SpmkServiceImpl {
@ApiOperation
(
value
=
"审批管理-编辑"
,
httpMethod
=
"PUT"
,
notes
=
"接口发布说明"
)
@ApiOperationSupport
(
order
=
9
)
public
Result
<
SpmkSpgl
>
updateSpgl
(
@CurrentUser
UserBean
userBean
,
@RequestBody
SpmkSpglDto
spmkSpglDto
){
@SuppressWarnings
(
"unused"
)
Integer
orgCode
=
userBean
.
getOrgCode
();
SpmkSpgl
spmkSpgl
=
SpmkSpgl
.
builder
().
build
();
...
...
@@ -235,7 +224,7 @@ public class SpmkServiceImpl {
SpmkSpz
.
builder
().
sort
(
CommonEnum
.
SPZ_OTHER
.
getType
()).
build
().
update
(
new
UpdateWrapper
<
SpmkSpz
>().
eq
(
"org_code"
,
orgCode
).
eq
(
"name"
,
"其他"
));
Integer
count
=
spmkSpzMapper
.
updateListSortById
(
spmkSpzSortDtos
);
System
.
out
.
println
(
count
);
return
ResultUtil
.
success
(
"审批组批量排序成功"
);
}
...
...
@@ -247,6 +236,7 @@ public class SpmkServiceImpl {
@ApiOperationSupport
(
order
=
8
)
public
Result
<
Void
>
updatespglsort
(
@CurrentUser
UserBean
userBean
,
@RequestBody
List
<
SpmkSpglSortDto
>
spmkSpglSortDtos
)
{
Integer
count
=
spmkSpglMapper
.
updateListSortById
(
spmkSpglSortDtos
);
System
.
out
.
println
(
count
);
return
ResultUtil
.
success
(
"审批管理批量排序成功"
);
}
...
...
src/main/java/cn/timer/api/controller/xcgl/SalaryManagementController.java
View file @
cf673e40
...
...
@@ -11,6 +11,7 @@ import java.util.List;
import
java.util.Map
;
import
javax.annotation.Resource
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
...
...
@@ -22,12 +23,8 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RestController
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.additional.query.impl.LambdaQueryChainWrapper
;
import
com.github.pagehelper.PageHelper
;
import
cn.hutool.core.util.StrUtil
;
import
cn.timer.api.bean.kqgl.AttendanceGroup
;
import
cn.timer.api.bean.kqgl.AttendanceReport
;
import
cn.timer.api.bean.kqgl.AttendanceWeeklySch
;
...
...
@@ -35,7 +32,6 @@ import cn.timer.api.bean.kqgl.PunchCardDetails;
import
cn.timer.api.bean.kqgl.PunchRecord
;
import
cn.timer.api.bean.kqgl.Schedule
;
import
cn.timer.api.bean.kqgl.SpecialDate
;
import
cn.timer.api.bean.sbgjj.SbgjjAssoCbfa
;
import
cn.timer.api.bean.xcgl.XcglAdminXzz
;
import
cn.timer.api.bean.xcgl.XcglAssoGztsz
;
import
cn.timer.api.bean.xcgl.XcglAssoGztzt
;
...
...
@@ -74,9 +70,7 @@ import cn.timer.api.dao.xcgl.XcglAssoZxfjkcMapper;
import
cn.timer.api.dao.xcgl.XcglSalaryItemMapper
;
import
cn.timer.api.dao.yggl.YgglMainEmpMapper
;
import
cn.timer.api.dto.sbgjj.InspersonnelDto
;
import
cn.timer.api.dto.sbgjj.SearchPlanDto
;
import
cn.timer.api.dto.xcgl.AdditionalDeductionDto
;
import
cn.timer.api.dto.xcgl.AdditionalkcDto
;
import
cn.timer.api.dto.xcgl.CalculatedFieldDto
;
import
cn.timer.api.dto.xcgl.CalculationDto
;
import
cn.timer.api.dto.xcgl.CalculationOptionsDto
;
...
...
@@ -354,6 +348,7 @@ public class SalaryManagementController {
XcglAssoJsgzzx
zzx
=
XcglAssoJsgzzx
.
builder
().
build
();
zzx
.
setSalaryitem
(
fixed
[
f
]);
//薪资项
zzx
.
setYhmbzd
(
fixed
[
f
]);
//银行模板项 需与银行一一对应
@SuppressWarnings
(
"unused"
)
XcglAssoXzdazdy
daz
=
xcglassoxzdazdymapper
.
SalaryFixedWages
(
fixed
[
f
]);
zzx
.
setRule
(
"从薪资档案-"
+
fixed
[
f
]+
"自动提取数据"
);
//规则********************************
zzx
.
setGsid
(
0
);
//公式id 0:未关联规则
...
...
@@ -545,6 +540,7 @@ public class SalaryManagementController {
//计薪规则组
List
<
XcglAssoJxgz
>
jxgzlist
=
new
LambdaQueryChainWrapper
<
XcglAssoJxgz
>(
xcglassojxgzmapper
).
eq
(
XcglAssoJxgz:
:
getXzzid
,
paygro
.
getPxfs
()).
list
();
@SuppressWarnings
(
"unused"
)
List
<
XcglAssoJxgz
>
jxgzs
=
new
ArrayList
<
XcglAssoJxgz
>();
for
(
XcglAssoJxgz
jxgzl
:
jxgzlist
)
{
...
...
@@ -631,6 +627,7 @@ public class SalaryManagementController {
@PutMapping
(
value
=
"/salarygroup"
)
@ApiOperation
(
value
=
"修改薪资组"
,
httpMethod
=
"PUT"
,
notes
=
"接口发布说明"
)
public
ResponseResult
ModifySalaryGroup
(
@CurrentUser
UserBean
userBean
,
@RequestBody
PayrollGroupDto
paygro
)
{
@SuppressWarnings
(
"unused"
)
Integer
empNum
=
userBean
.
getEmpNum
();
Integer
orgCode
=
userBean
.
getOrgCode
();
...
...
@@ -1218,6 +1215,7 @@ public class SalaryManagementController {
// List<XcglAssoJsgzzx> attsect = xcglassojsgzzxmapper.selectSalarySectionList(id);
//薪资组信息
@SuppressWarnings
(
"unused"
)
XcglAdminXzz
xzz
=
new
LambdaQueryChainWrapper
<
XcglAdminXzz
>(
xcgladminxzzmapper
).
eq
(
XcglAdminXzz:
:
getId
,
id
).
one
();
//当前薪资组内人员
List
<
XcglAssoXzury
>
znrys
=
new
LambdaQueryChainWrapper
<
XcglAssoXzury
>(
xcglassoxzurymapper
).
eq
(
XcglAssoXzury:
:
getXzzid
,
id
).
eq
(
XcglAssoXzury:
:
getQyid
,
userBean
.
getOrgCode
()).
list
();
...
...
@@ -1345,8 +1343,11 @@ public class SalaryManagementController {
if
(
xtzd
.
getOptionid
()
>
0
)
{
//说明阔以根据表查出结果
XcglAssoOption
lbcx
=
new
LambdaQueryChainWrapper
<
XcglAssoOption
>(
xcglassooptionmapper
).
eq
(
XcglAssoOption:
:
getId
,
xtzd
.
getOptionid
()).
one
();
if
(
lbcx
.
getTablename
()
!=
null
&&
!
lbcx
.
getTablename
().
equals
(
""
)
&&
lbcx
.
getFieldname
()
!=
null
&&
!
lbcx
.
getFieldname
().
equals
(
""
))
{
@SuppressWarnings
(
"unused"
)
String
tablename
=
lbcx
.
getTablename
();
//对应库表名
@SuppressWarnings
(
"unused"
)
String
fieldname
=
lbcx
.
getFieldname
();
//对应库字段名
@SuppressWarnings
(
"unused"
)
List
<
Map
<
String
,
Object
>>
list
=
null
;
// if(tablename.equals("yggl_main_emp")) {//员工管理
// QueryWrapper<YgglMainEmp> queryWrapper = new QueryWrapper<>();
...
...
@@ -1432,6 +1433,7 @@ public class SalaryManagementController {
if
(
payatt
.
getOptionid
()
>
0
)
{
//说明阔以根据表查出结果
XcglAssoOption
lbcx
=
new
LambdaQueryChainWrapper
<
XcglAssoOption
>(
xcglassooptionmapper
).
eq
(
XcglAssoOption:
:
getId
,
payatt
.
getOptionid
()).
one
();
if
(
lbcx
.
getFieldname
()
!=
null
&&
!
lbcx
.
getFieldname
().
equals
(
""
))
{
//关于考勤的只有 -- 字段名:“fieldname”
@SuppressWarnings
(
"unused"
)
String
tablename
=
lbcx
.
getTablename
();
//对应库表名
String
fieldname
=
lbcx
.
getFieldname
();
//对应库字段名
...
...
src/main/java/cn/timer/api/dao/jxgl/JxglAdminJcszMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
jxgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.jxgl.JxglAdminJcsz
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 基础设置
*
...
...
src/main/java/cn/timer/api/dao/jxgl/JxglAdminKpzszMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
jxgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.jxgl.JxglAdminKpzsz
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 考评组设置
* @author LAL 2020-01-08
...
...
src/main/java/cn/timer/api/dao/jxgl/JxglAdminZbkMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
jxgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.jxgl.JxglAdminZbk
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 指标库
* @author LAL 2020-01-06
...
...
src/main/java/cn/timer/api/dao/jxgl/JxglAssoFbzbkMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
jxgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.jxgl.JxglAssoFbzbk
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 指标库量化指标
* @author LAL 2020-01-06
...
...
src/main/java/cn/timer/api/dao/jxgl/JxglAssoJxdjMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
jxgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.jxgl.JxglAssoJxdj
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 绩效等级
*
...
...
src/main/java/cn/timer/api/dao/jxgl/JxglAssoKpzryMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
jxgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.jxgl.JxglAssoKpzry
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 考评组管理员/被考核人员
* @author LAL 2020-01-08
...
...
src/main/java/cn/timer/api/dao/jxgl/JxglAssoMbszMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
jxgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.jxgl.JxglAssoMbsz
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 模板设计
* @author LAL 2020-01-08
...
...
src/main/java/cn/timer/api/dao/jxgl/JxglAssoWdzbglMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
jxgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.jxgl.JxglAssoWdzbgl
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 维度指标关联
* @author LAL 2020-01-08
...
...
src/main/java/cn/timer/api/dao/jxgl/JxglAssoZbzdszMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
jxgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.jxgl.JxglAssoZbzdsz
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 指标字段设置
*
...
...
src/main/java/cn/timer/api/dao/kqjg/KqjgRealtimeEnrollDataMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
kqjg
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.kqjg.KqjgRealtimeEnrollData
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 机器上传的实时登记数据
* @author lal 2019-12-24
...
...
src/main/java/cn/timer/api/dao/sbgjj/SbgjjAdminCbryMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
sbgjj
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.sbgjj.SbgjjAdminCbry
;
import
cn.timer.api.bean.yggl.YgglMainEmp
;
import
cn.timer.api.dto.sbgjj.InspersonnelDto
;
import
cn.timer.api.dto.sbgjj.InsuredPersonnelDto
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 参保人员
* @author Tang 2019-12-09
...
...
src/main/java/cn/timer/api/dao/sbgjj/SbgjjAreaInfoMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
sbgjj
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.sbgjj.SbgjjAreaInfo
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 社保公积金基数
* @author Tang 2019-12-06
...
...
src/main/java/cn/timer/api/dao/sbgjj/SbgjjAssoCbfaMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
sbgjj
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.sbgjj.SbgjjAssoCbfa
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 参保方案
* @author Tang 2019-12-07
...
...
src/main/java/cn/timer/api/dao/sbgjj/SbgjjAssoCbfzmxMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
sbgjj
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.sbgjj.SbgjjAssoCbfzmx
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 参保方案明细
* @author Tang 2019-12-07
...
...
src/main/java/cn/timer/api/dao/sbgjj/SbgjjAssoYjzdMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
sbgjj
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.sbgjj.SbgjjAssoYjzd
;
import
cn.timer.api.dto.sbgjj.MonthlyCheckoutSheetDto
;
import
cn.timer.api.dto.sbgjj.MonthlyStatementDto
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 月结账单
* @author Tang 2019-12-09
...
...
src/main/java/cn/timer/api/dao/sbgjj/SbgjjTypeDetailsMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
sbgjj
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.sbgjj.SbgjjTypeDetails
;
import
cn.timer.api.dto.sbgjj.SocialfundDto
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 社保公积金方案
* @author lal 2019-12-06
...
...
src/main/java/cn/timer/api/dao/sbgjj/SbgjjYjCsbhMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
sbgjj
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.sbgjj.SbgjjYjCsbh
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 城市
* @author Tang 2019-12-06
...
...
src/main/java/cn/timer/api/dao/spmk/SpmkClrMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.spmk.SpmkClr
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 处理人
* @author Tang 2019-11-26
...
...
src/main/java/cn/timer/api/dao/spmk/SpmkIconMapper.java
View file @
cf673e40
...
...
@@ -4,7 +4,6 @@ import org.springframework.stereotype.Repository;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.spmk.SpmkClr
;
import
cn.timer.api.bean.spmk.SpmkIcon
;
/**
...
...
src/main/java/cn/timer/api/dao/spmk/SpmkJqgzMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.spmk.SpmkJqgz
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 假勤规则
* @author Tang 2019-12-09
...
...
src/main/java/cn/timer/api/dao/spmk/SpmkKjMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.spmk.SpmkKj
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 控件
* @author Tang 2019-11-25
...
...
src/main/java/cn/timer/api/dao/spmk/SpmkKjMkMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.spmk.SpmkKjMk
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 控件模版关联
* @author Tang 2019-11-25
...
...
src/main/java/cn/timer/api/dao/spmk/SpmkKjpzMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.spmk.SpmkKjpz
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 控件配置
* @author Tang 2019-11-25
...
...
src/main/java/cn/timer/api/dao/spmk/SpmkLcjdEmpAssoMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.spmk.SpmkLcjdEmpAsso
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 流程节点员工关联
* @author Tang 2019-11-25
...
...
src/main/java/cn/timer/api/dao/spmk/SpmkLcjdMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.spmk.SpmkLcjd
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 流程节点
* @author Tang 2019-11-22
...
...
src/main/java/cn/timer/api/dao/spmk/SpmkMbMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.spmk.SpmkMb
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 审批模版
* @author Tang 2019-11-25
...
...
src/main/java/cn/timer/api/dao/spmk/SpmkSpczMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.spmk.SpmkSpcz
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 审批操作
* @author Tang 2019-11-26
...
...
src/main/java/cn/timer/api/dao/spmk/SpmkSpglMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.spmk.SpmkSpgl
;
import
cn.timer.api.dto.spmk.SpmkSpglDto
;
import
cn.timer.api.dto.spmk.SpmkSpglSortDto
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 审批管理
* @author Tang 2019-11-22
...
...
src/main/java/cn/timer/api/dao/spmk/SpmkSpnrMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.spmk.SpmkSpnr
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 审批内容
* @author Tang 2019-11-26
...
...
src/main/java/cn/timer/api/dao/spmk/SpmkSpzMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.spmk.SpmkSpz
;
import
cn.timer.api.dto.spmk.SpmkSpzDto
;
import
cn.timer.api.dto.spmk.SpmkSpzSortDto
;
import
cn.timer.api.dto.spmk.SpmkSpzSpglDto
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 审批组
* @author Tang 2019-11-22
...
...
src/main/java/cn/timer/api/dao/spmk/SpmkSxpzMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.spmk.SpmkSxpz
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 属性配置
* @author Tang 2019-11-25
...
...
src/main/java/cn/timer/api/dao/spmk/SpmkXzxMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.spmk.SpmkXzx
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 选择项
* @author Tang 2019-11-25
...
...
src/main/java/cn/timer/api/dao/xcgl/XcglAssoGztszMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
xcgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.xcgl.XcglAssoGztsz
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 工资条组-设置
* @author lal 2019-12-12
...
...
src/main/java/cn/timer/api/dao/xcgl/XcglAssoGztztMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
xcgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.xcgl.XcglAssoGztzt
;
import
cn.timer.api.dto.xcgl.PayslipDetailsDto
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 工资条组内成员状态
* @author lal 2019-12-12
...
...
src/main/java/cn/timer/api/dao/xcgl/XcglAssoJsgzzxMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
xcgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.xcgl.XcglAssoJsgzzx
;
import
cn.timer.api.dto.xcgl.CalculationOptionsDto
;
import
cn.timer.api.dto.xcgl.PayTermDto
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 计薪规则组项
* @author lal 2019-11-23
...
...
src/main/java/cn/timer/api/dao/xcgl/XcglAssoJxgzMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
xcgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.xcgl.XcglAssoJxgz
;
import
cn.timer.api.dto.xcgl.PayGroupedDataDto
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 计薪规则组
*
...
...
src/main/java/cn/timer/api/dao/xcgl/XcglAssoOptionMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
xcgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.xcgl.XcglAssoOption
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 薪资选项
* @author lal 2019-11-25
...
...
src/main/java/cn/timer/api/dao/xcgl/XcglAssoXcjsgzMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
xcgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.xcgl.XcglAssoXcjsgz
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 薪酬计算规则公式
* @author lal 2019-11-23
...
...
src/main/java/cn/timer/api/dao/xcgl/XcglAssoXzbMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
xcgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.xcgl.XcglAssoXzb
;
import
cn.timer.api.dto.xcgl.CalculationDto
;
import
cn.timer.api.dto.xcgl.CalculationValueDto
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 薪资表
* @author lal 2019-11-26
...
...
src/main/java/cn/timer/api/dao/xcgl/XcglAssoXzuryMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
xcgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.kqgl.UserAttendanceRel
;
import
cn.timer.api.bean.xcgl.XcglAssoXzury
;
import
cn.timer.api.dto.xcgl.SalaryPersonFieldDto
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 薪资组内人员
* @author Tang 2019-11-20
...
...
src/main/java/cn/timer/api/dao/xcgl/XcglAssoZxfjkcMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
xcgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.xcgl.XcglAssoZxfjkc
;
import
cn.timer.api.dto.xcgl.AdditionalDeductionDto
;
import
cn.timer.api.dto.xcgl.SearchSalariedPeopleDto
;
...
...
src/main/java/cn/timer/api/dao/xcgl/XcglSalaryItemMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
xcgl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.xcgl.XcglSalaryItem
;
import
cn.timer.api.dto.xcgl.XcglAssoOptionDto
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 薪资项名
* @author Tang 2019-11-25
...
...
src/main/java/cn/timer/api/dao/yggl/YgglAttaSbgjjMapper.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dao
.
yggl
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Constants
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.yggl.YgglAttaSbgjj
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Select
;
/**
* 员工社保公积金
* @author Tang 2019-12-27
...
...
src/main/java/cn/timer/api/dto/qyzx/AdminListDto.java
View file @
cf673e40
...
...
@@ -11,6 +11,7 @@ import lombok.Builder;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
@SuppressWarnings
(
"rawtypes"
)
@Data
@Builder
@AllArgsConstructor
...
...
src/main/java/cn/timer/api/dto/sbgjj/InsuranceSchemeDto.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dto
.
sbgjj
;
import
java.io.Serializable
;
import
java.util.List
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
...
...
@@ -12,10 +11,8 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
public
class
InsuranceSchemeDto
implements
Serializable
{
/**
*
*/
private
static
final
long
serialVersionUID
=
5454190307549431744L
;
int
id
;
String
fwf
;
//服务费
String
insuredcities
;
//参保城市
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkMbKjDto.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
cn.timer.api.bean.spmk.SpmkMb
;
import
cn.timer.api.bean.spmk.SpmkMb.SpmkMbBuilder
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkSpglDto.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
java.util.Date
;
import
java.util.List
;
import
javax.persistence.Transient
;
import
com.alibaba.fastjson.annotation.JSONField
;
import
com.baomidou.mybatisplus.annotation.FieldFill
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
cn.timer.api.bean.spmk.SpmkKjpz
;
import
cn.timer.api.bean.spmk.SpmkLcjd
;
import
cn.timer.api.bean.spmk.SpmkMb
;
import
cn.timer.api.bean.spmk.SpmkSpgl
;
import
cn.timer.api.bean.spmk.SpmkSpgl.SpmkSpglBuilder
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkSpglLcjdDto.java
View file @
cf673e40
...
...
@@ -2,16 +2,9 @@ package cn.timer.api.dto.spmk;
import
java.util.Date
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
com.baomidou.mybatisplus.annotation.FieldFill
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
cn.timer.api.bean.spmk.SpmkSpgl
;
import
cn.timer.api.bean.spmk.SpmkSpgl.SpmkSpglBuilder
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkSpglMoveDto.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
java.util.Date
;
import
cn.timer.api.bean.spmk.SpmkSpgl
;
import
cn.timer.api.bean.spmk.SpmkSpgl.SpmkSpglBuilder
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkSpglSortDto.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
java.util.Date
;
import
cn.timer.api.bean.spmk.SpmkSpgl
;
import
cn.timer.api.bean.spmk.SpmkSpgl.SpmkSpglBuilder
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkSpzDto.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
java.util.List
;
import
cn.timer.api.bean.spmk.SpmkSpgl
;
import
cn.timer.api.dto.spmk.SpmkSpzSpglDto.SpmkSpzSpglDtoBuilder
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkSpzSortDto.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
cn.timer.api.dto.spmk.SpmkSpzDto.SpmkSpzDtoBuilder
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
...
...
src/main/java/cn/timer/api/dto/spmk/SpmkSpzSpglDto.java
View file @
cf673e40
...
...
@@ -3,8 +3,6 @@ package cn.timer.api.dto.spmk;
import
java.util.List
;
import
cn.timer.api.bean.spmk.SpmkSpgl
;
import
cn.timer.api.bean.spmk.SpmkSpz
;
import
cn.timer.api.bean.spmk.SpmkSpz.SpmkSpzBuilder
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
...
...
src/main/java/cn/timer/api/dto/xcgl/FixedSalaryStaffDto.java
View file @
cf673e40
...
...
@@ -3,7 +3,6 @@ package cn.timer.api.dto.xcgl;
import
java.io.Serializable
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Map
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
...
...
src/main/java/cn/timer/api/dto/xcgl/SalaryGroupGroupingDto.java
View file @
cf673e40
...
...
@@ -3,7 +3,6 @@ package cn.timer.api.dto.xcgl;
import
java.io.Serializable
;
import
java.util.List
;
import
cn.timer.api.bean.xcgl.XcglAssoJsgzzx
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
...
...
src/main/java/cn/timer/api/dto/xcgl/SalaryPersonFieldDto.java
View file @
cf673e40
package
cn
.
timer
.
api
.
dto
.
xcgl
;
import
java.io.Serializable
;
import
java.util.List
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
...
...
src/main/java/cn/timer/api/dto/xcgl/TjSalaryItemDot.java
View file @
cf673e40
...
...
@@ -2,7 +2,6 @@ package cn.timer.api.dto.xcgl;
import
java.io.Serializable
;
import
cn.timer.api.dto.xcgl.SearchSalariedPeopleDto.SearchSalariedPeopleDtoBuilder
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
...
...
src/main/java/cn/timer/api/dto/zzgl/EmpDeptDto.java
View file @
cf673e40
...
...
@@ -2,7 +2,6 @@
package
cn
.
timer
.
api
.
dto
.
zzgl
;
import
java.io.Serializable
;
import
java.util.List
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
...
...
src/main/java/cn/timer/api/dto/zzgl/LogDgjlsDto.java
View file @
cf673e40
...
...
@@ -10,7 +10,6 @@ import java.util.Date;
import
com.baomidou.mybatisplus.extension.activerecord.Model
;
import
cn.timer.api.bean.yggl.YgglMainEmp
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
...
...
src/main/java/cn/timer/api/dto/zzgl/LogDgjlsQueryDto.java
View file @
cf673e40
...
...
@@ -4,8 +4,6 @@ package cn.timer.api.dto.zzgl;
import
java.io.Serializable
;
import
java.util.List
;
import
cn.timer.api.config.swagger.IgnoreSwaggerParameter
;
import
cn.timer.api.utils.Page
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
...
...
src/main/java/cn/timer/api/dto/zzgl/ZzglLogDgjlQueryDto.java
View file @
cf673e40
...
...
@@ -2,11 +2,6 @@ package cn.timer.api.dto.zzgl;
import
java.io.Serializable
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
cn.timer.api.bean.yggl.YgglMainEmp
;
import
cn.timer.api.config.swagger.IgnoreSwaggerParameter
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
...
...
src/main/java/cn/timer/api/utils/ApiReturnUtil.java
View file @
cf673e40
...
...
@@ -36,7 +36,7 @@ public class ApiReturnUtil implements Serializable{
return
new
ApiReturnObject
(
"00"
,
errorMessage
,
object
);
}
}
public
static
ApiReturnObject
pageManual
(
Integer
pageNumber
,
Integer
pageSize
,
Integer
countNum
,
List
returnObject
)
{
public
static
ApiReturnObject
pageManual
(
Integer
pageNumber
,
Integer
pageSize
,
Integer
countNum
,
List
<
Void
>
returnObject
)
{
return
new
ApiReturnObject
(
pageNumber
+
""
,
pageSize
+
""
,
countNum
+
""
,
getTotalPages
(
countNum
,
pageSize
),
"00"
,
"success"
,
returnObject
);
}
...
...
src/main/java/cn/timer/api/utils/DateFormatUtils.java
View file @
cf673e40
...
...
@@ -540,7 +540,7 @@ public class DateFormatUtils {
*/
Date
d1
=
convertToDate
(
s2
,
"yyyy-MM-dd HH:mm:ss"
);
Date
d2
=
convertToDate
(
s1
,
"yyyy-MM-dd HH:mm:ss"
);
//
System.out.println(DateDifferentExample(d1, d2));
System
.
out
.
println
(
DateDifferentExample
(
d1
,
d2
));
}
}
\ No newline at end of file
src/main/java/cn/timer/api/utils/ExcelUtil.java
View file @
cf673e40
...
...
@@ -156,11 +156,13 @@ public class ExcelUtil<T> {
}
try
{
workbook
.
write
(
out
);
workbook
.
close
();
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
}
}
@SuppressWarnings
(
"unused"
)
public
Collection
<
T
>
importExcel
(
File
file
,
Collection
<
T
>
dataset
)
throws
Exception
{
// 装载流
...
...
@@ -181,7 +183,6 @@ public class ExcelUtil<T> {
HSSFRow
row
=
sheet
.
getRow
(
i
);
String
result
=
new
String
();
if
(
row
!=
null
)
{
// 装载obj
for
(
int
k
=
0
;
k
<
row
.
getLastCellNum
();
k
++)
{
...
...
@@ -199,10 +200,12 @@ public class ExcelUtil<T> {
//ret.add(dataObj(dataset, row));
}
}
hw
.
close
();
return
dataset
;
}
@SuppressWarnings
(
"deprecation"
)
private
static
String
cellFormat
(
HSSFCell
cell
){
String
result
=
new
String
();
if
(
null
!=
cell
)
{
...
...
@@ -275,6 +278,7 @@ public class ExcelUtil<T> {
@SuppressWarnings
(
"unused"
)
private
static
Map
<
String
,
Object
>
dataObj
(
Object
obj
,
HSSFRow
row
)
throws
Exception
{
Class
<?>
rowClazz
=
obj
.
getClass
();
Field
[]
fields
=
FieldUtils
.
getAllFields
(
rowClazz
);
...
...
@@ -290,6 +294,7 @@ public class ExcelUtil<T> {
return
map
;
}
@SuppressWarnings
(
"deprecation"
)
public
static
String
getVal
(
HSSFCell
hssfCell
)
{
if
(
hssfCell
!=
null
)
{
hssfCell
.
setCellType
(
Cell
.
CELL_TYPE_STRING
);
...
...
src/main/java/cn/timer/api/utils/ImportExcelUntil.java
View file @
cf673e40
...
...
@@ -55,6 +55,7 @@ public class ImportExcelUntil {
return
map
;
}
@SuppressWarnings
(
"deprecation"
)
public
static
List
<
Map
<
String
,
Object
>>
importExcel
(
MultipartFile
file
,
Object
obj
)
throws
Exception
{
// 装载流
...
...
@@ -147,6 +148,7 @@ public class ImportExcelUntil {
ret
.
add
(
dataObj
(
obj
,
row
));
}
}
hw
.
close
();
return
ret
;
}
...
...
@@ -156,6 +158,7 @@ public class ImportExcelUntil {
* @param hssfCell
* @return
*/
@SuppressWarnings
(
"deprecation"
)
public
static
String
getVal
(
HSSFCell
hssfCell
)
{
if
(
hssfCell
!=
null
){
hssfCell
.
setCellType
(
Cell
.
CELL_TYPE_STRING
);
...
...
src/main/java/cn/timer/api/utils/NumberedGeneration.java
View file @
cf673e40
...
...
@@ -13,7 +13,7 @@ public class NumberedGeneration {
long
m
=
Long
.
parseLong
((
str
));
Integer
ret
=
(
int
)
(
m
+
l
);
long
n
=
l
+
1
;
System
.
out
.
println
(
n
);
return
ret
+
1000
;
}
...
...
src/main/java/cn/timer/api/utils/ResponseResultNew.java
View file @
cf673e40
package
cn
.
timer
.
api
.
utils
;
import
java.io.Serializable
;
import
java.util.List
;
import
org.springframework.stereotype.Service
;
...
...
@@ -33,37 +32,37 @@ public class ResponseResultNew<T> implements Serializable {
@ApiModelProperty
(
value
=
"data"
,
example
=
"101"
)
private
T
data
;
private
List
<
T
>
datas
;
private
T
page
;
private
static
final
String
PAGE_KEY
=
"page"
;
private
static
final
String
NUMBER_KEY
=
"number"
;
private
static
final
String
SIZE_KEY
=
"size"
;
private
static
final
String
TOTALELEMENTS_KEY
=
"totalelements"
;
private
static
final
String
TOTALPAGES_KEY
=
"totalpages"
;
private
static
final
String
OFFSET_KEY
=
"offset"
;
//
private List<T> datas;
//
//
private T page;
//
//
//
private static final String PAGE_KEY = "page";
//
private static final String NUMBER_KEY = "number";
//
private static final String SIZE_KEY = "size";
//
private static final String TOTALELEMENTS_KEY = "totalelements";
//
private static final String TOTALPAGES_KEY = "totalpages";
//
private static final String OFFSET_KEY = "offset";
private
static
final
String
MESSAGE_SUCCESS
=
"操作成功"
;
private
static
final
String
MESSAGE_FAIL
=
"操作失败"
;
private
static
final
String
MESSAGE_ERROR
=
"操作错误"
;
private
static
final
String
MESSAGE_UNLOGIN
=
"会话超时,请重新登录"
;
private
static
final
String
MESSAGE_KICKOUT
=
"当前账户已在其他地方登录,请重新登录"
;
private
static
final
String
MESSAGE_PARAMERROR
=
"参数错误"
;
private
static
final
String
MESSAGE_UNAUTHORIZED
=
"授权错误"
;
private
static
final
String
MESSAGE_UNAUTHENTICATED
=
"认证错误"
;
private
static
final
String
MESSAGE_EXCEPTION
=
"服务器异常"
;
//
private static final String MESSAGE_FAIL = "操作失败";
//
private static final String MESSAGE_ERROR = "操作错误";
//
private static final String MESSAGE_UNLOGIN = "会话超时,请重新登录";
//
private static final String MESSAGE_KICKOUT = "当前账户已在其他地方登录,请重新登录";
//
private static final String MESSAGE_PARAMERROR = "参数错误";
//
private static final String MESSAGE_UNAUTHORIZED = "授权错误";
//
private static final String MESSAGE_UNAUTHENTICATED = "认证错误";
//
private static final String MESSAGE_EXCEPTION = "服务器异常";
private
static
final
String
STATUS_CODE_SUCCESS
=
"200"
;
private
static
final
String
STATUS_CODE_FAIL
=
"201"
;
private
static
final
String
STATUS_CODE_ERROR
=
"202"
;
private
static
final
String
STATUS_CODE_UNLOGIN
=
"301"
;
private
static
final
String
STATUS_CODE_KICKOUT
=
"302"
;
private
static
final
String
STATUS_CODE_UNPARAM
=
"400"
;
private
static
final
String
STATUS_CODE_UNAUTHORIZED
=
"401"
;
private
static
final
String
STATUS_CODE_UNAUTHENTICATED
=
"405"
;
private
static
final
String
STATUS_CODE_EXCEPTION
=
"500"
;
//
private static final String STATUS_CODE_FAIL = "201";
//
private static final String STATUS_CODE_ERROR = "202";
//
private static final String STATUS_CODE_UNLOGIN = "301";
//
private static final String STATUS_CODE_KICKOUT = "302";
//
private static final String STATUS_CODE_UNPARAM = "400";
//
private static final String STATUS_CODE_UNAUTHORIZED = "401";
//
private static final String STATUS_CODE_UNAUTHENTICATED = "405";
//
private static final String STATUS_CODE_EXCEPTION = "500";
public
ResponseResultNew
()
{
...
...
@@ -80,6 +79,7 @@ public class ResponseResultNew<T> implements Serializable {
*
* @return
*/
@SuppressWarnings
(
"rawtypes"
)
public
ResponseResultNew
success
()
{
this
.
code
=
STATUS_CODE_SUCCESS
;
this
.
result
=
Boolean
.
TRUE
;
...
...
@@ -94,6 +94,7 @@ public class ResponseResultNew<T> implements Serializable {
* @param message
* @return
*/
@SuppressWarnings
(
"rawtypes"
)
public
ResponseResultNew
success
(
String
message
)
{
this
.
code
=
STATUS_CODE_SUCCESS
;
this
.
result
=
Boolean
.
TRUE
;
...
...
@@ -101,6 +102,7 @@ public class ResponseResultNew<T> implements Serializable {
this
.
data
=
null
;
return
this
;
}
@SuppressWarnings
(
"rawtypes"
)
public
ResponseResultNew
fail
(
String
message
)
{
this
.
code
=
STATUS_CODE_SUCCESS
;
this
.
result
=
Boolean
.
TRUE
;
...
...
@@ -113,6 +115,7 @@ public class ResponseResultNew<T> implements Serializable {
* @param obj
* @return
*/
@SuppressWarnings
(
"rawtypes"
)
public
ResponseResultNew
successData
(
T
data
)
{
this
.
code
=
STATUS_CODE_SUCCESS
;
this
.
result
=
Boolean
.
TRUE
;
...
...
src/main/java/cn/timer/api/utils/RestTemplateUtil.java
View file @
cf673e40
...
...
@@ -45,6 +45,7 @@ public class RestTemplateUtil {
headers
.
setContentType
(
MediaType
.
APPLICATION_JSON_UTF8
);
@SuppressWarnings
(
"unused"
)
HttpEntity
<
T
>
httpEntity
=
new
HttpEntity
<
T
>(
param
,
headers
);
return
restTemplate
.
getForEntity
(
url
,
JSONObject
.
class
,
param
).
getBody
();
}
...
...
@@ -60,6 +61,7 @@ public class RestTemplateUtil {
HttpHeaders
headers
=
new
HttpHeaders
();
headers
.
setContentType
(
MediaType
.
APPLICATION_JSON_UTF8
);
headers
.
add
(
"Accept"
,
MediaType
.
APPLICATION_JSON
.
toString
());
@SuppressWarnings
(
"unused"
)
HttpEntity
<
JSONObject
>
requestEntity
=
new
HttpEntity
<
JSONObject
>(
param
,
headers
);
return
restTemplate
.
postForEntity
(
url
,
param
,
String
.
class
).
getBody
();
}
...
...
src/main/java/cn/timer/api/utils/ResultUtil.java
View file @
cf673e40
...
...
@@ -10,36 +10,36 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
@Service
(
"resultUtil"
)
public
class
ResultUtil
<
T
>
{
private
static
final
String
CODE_KEY
=
"code"
;
private
static
final
String
RESULT_KEY
=
"result"
;
private
static
final
String
MESSAGE_KEY
=
"message"
;
private
static
final
String
DATA_KEY
=
"data"
;
private
static
final
String
PAGE_KEY
=
"page"
;
private
static
final
String
NUMBER_KEY
=
"number"
;
private
static
final
String
SIZE_KEY
=
"size"
;
private
static
final
String
TOTALELEMENTS_KEY
=
"totalelements"
;
private
static
final
String
TOTALPAGES_KEY
=
"totalpages"
;
private
static
final
String
OFFSET_KEY
=
"offset"
;
//
private static final String CODE_KEY = "code";
//
private static final String RESULT_KEY = "result";
//
private static final String MESSAGE_KEY = "message";
//
private static final String DATA_KEY = "data";
//
//
private static final String PAGE_KEY = "page";
//
private static final String NUMBER_KEY = "number";
//
private static final String SIZE_KEY = "size";
//
private static final String TOTALELEMENTS_KEY = "totalelements";
//
private static final String TOTALPAGES_KEY = "totalpages";
//
private static final String OFFSET_KEY = "offset";
private
static
final
String
MESSAGE_SUCCESS
=
"操作成功"
;
private
static
final
String
MESSAGE_FAIL
=
"操作失败"
;
private
static
final
String
MESSAGE_ERROR
=
"操作错误"
;
private
static
final
String
MESSAGE_UNLOGIN
=
"会话超时,请重新登录"
;
private
static
final
String
MESSAGE_KICKOUT
=
"当前账户已在其他地方登录,请重新登录"
;
private
static
final
String
MESSAGE_PARAMERROR
=
"参数错误"
;
private
static
final
String
MESSAGE_UNAUTHORIZED
=
"授权错误"
;
private
static
final
String
MESSAGE_UNAUTHENTICATED
=
"认证错误"
;
private
static
final
String
MESSAGE_EXCEPTION
=
"服务器异常"
;
// private static final String MESSAGE_ERROR = "操作错误";
// private static final String MESSAGE_KICKOUT = "当前账户已在其他地方登录,请重新登录";
// private static final String MESSAGE_PARAMERROR = "参数错误";
// private static final String MESSAGE_UNAUTHORIZED = "授权错误";
// private static final String MESSAGE_UNAUTHENTICATED = "认证错误";
// private static final String MESSAGE_EXCEPTION = "服务器异常";
private
static
final
String
STATUS_CODE_SUCCESS
=
"200"
;
private
static
final
String
STATUS_CODE_FAIL
=
"201"
;
private
static
final
String
STATUS_CODE_ERROR
=
"202"
;
//
private static final String STATUS_CODE_FAIL = "201";
//
private static final String STATUS_CODE_ERROR = "202";
private
static
final
String
STATUS_CODE_UNLOGIN
=
"301"
;
private
static
final
String
STATUS_CODE_KICKOUT
=
"302"
;
private
static
final
String
STATUS_CODE_UNPARAM
=
"400"
;
private
static
final
String
STATUS_CODE_UNAUTHORIZED
=
"401"
;
private
static
final
String
STATUS_CODE_UNAUTHENTICATED
=
"405"
;
//
private static final String STATUS_CODE_KICKOUT = "302";
//
private static final String STATUS_CODE_UNPARAM = "400";
//
private static final String STATUS_CODE_UNAUTHORIZED = "401";
//
private static final String STATUS_CODE_UNAUTHENTICATED = "405";
private
static
final
String
STATUS_CODE_EXCEPTION
=
"500"
;
private
Result
<
T
>
result
;
...
...
@@ -81,6 +81,7 @@ public class ResultUtil<T> {
return
this
.
result
;
}
@SuppressWarnings
(
"rawtypes"
)
public
Result
<
T
>
setData
(
T
t1
,
T
t2
,
String
msg
)
{
this
.
result
.
setCurrent
(((
IPage
)
t1
).
getCurrent
());
...
...
@@ -93,6 +94,7 @@ public class ResultUtil<T> {
return
this
.
result
;
}
@SuppressWarnings
(
"rawtypes"
)
public
Result
<
T
>
setData2
(
T
t1
,
T
t2
,
String
msg
)
{
this
.
result
.
setCurrent
((
long
)
((
com
.
github
.
pagehelper
.
Page
)
t1
).
getPageNum
());
...
...
src/main/java/cn/timer/api/utils/SerializationUtils.java
View file @
cf673e40
...
...
@@ -9,6 +9,7 @@ import java.util.List;
*/
public
class
SerializationUtils
{
@SuppressWarnings
(
"unchecked"
)
public
static
List
<
Object
>
toSerialization
(
byte
[]
object
)
{
try
{
ByteArrayInputStream
byteArrayInputStream
=
new
ByteArrayInputStream
(
object
);
...
...
src/main/java/cn/timer/api/utils/UserIp.java
View file @
cf673e40
...
...
@@ -2,14 +2,10 @@ package cn.timer.api.utils;
import
java.io.BufferedReader
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.io.InputStreamReader
;
import
java.net.InetAddress
;
import
java.net.NetworkInterface
;
import
java.net.URL
;
import
java.net.URLConnection
;
import
java.net.UnknownHostException
;
import
java.util.StringTokenizer
;
import
java.util.regex.Matcher
;
import
java.util.regex.Pattern
;
...
...
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