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
dbf92aee
Commit
dbf92aee
authored
Apr 29, 2020
by
tangzhaoqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审批代码整理
parent
fce27486
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
57 changed files
with
30 additions
and
3237 deletions
+30
-3237
pom.xml
+0
-1
src/main/java/cn/timer/api/bean/spmk/SpmkClr.java
+0
-62
src/main/java/cn/timer/api/bean/spmk/SpmkInitiatorConfig.java
+18
-20
src/main/java/cn/timer/api/bean/spmk/SpmkJqgz.java
+0
-63
src/main/java/cn/timer/api/bean/spmk/SpmkKj.java
+0
-47
src/main/java/cn/timer/api/bean/spmk/SpmkKjMk.java
+0
-50
src/main/java/cn/timer/api/bean/spmk/SpmkKjpz.java
+0
-103
src/main/java/cn/timer/api/bean/spmk/SpmkLcjd.java
+0
-88
src/main/java/cn/timer/api/bean/spmk/SpmkLcjdEmpAsso.java
+0
-53
src/main/java/cn/timer/api/bean/spmk/SpmkMb.java
+0
-50
src/main/java/cn/timer/api/bean/spmk/SpmkSpcz.java
+0
-86
src/main/java/cn/timer/api/bean/spmk/SpmkSpgl.java
+0
-103
src/main/java/cn/timer/api/bean/spmk/SpmkSpnr.java
+0
-59
src/main/java/cn/timer/api/bean/spmk/SpmkSpz.java
+0
-53
src/main/java/cn/timer/api/bean/spmk/SpmkSxpz.java
+0
-65
src/main/java/cn/timer/api/bean/spmk/SpmkXzx.java
+0
-50
src/main/java/cn/timer/api/controller/spmk/SpmkServiceImpl.java
+0
-0
src/main/java/cn/timer/api/dao/spmk/SpmkClrMapper.java
+0
-17
src/main/java/cn/timer/api/dao/spmk/SpmkJqgzMapper.java
+0
-17
src/main/java/cn/timer/api/dao/spmk/SpmkKjMapper.java
+0
-17
src/main/java/cn/timer/api/dao/spmk/SpmkKjMkMapper.java
+0
-17
src/main/java/cn/timer/api/dao/spmk/SpmkKjpzMapper.java
+0
-17
src/main/java/cn/timer/api/dao/spmk/SpmkLcjdEmpAssoMapper.java
+0
-17
src/main/java/cn/timer/api/dao/spmk/SpmkLcjdMapper.java
+0
-17
src/main/java/cn/timer/api/dao/spmk/SpmkMbMapper.java
+0
-17
src/main/java/cn/timer/api/dao/spmk/SpmkSpczMapper.java
+0
-17
src/main/java/cn/timer/api/dao/spmk/SpmkSpglMapper.java
+0
-24
src/main/java/cn/timer/api/dao/spmk/SpmkSpnrMapper.java
+0
-17
src/main/java/cn/timer/api/dao/spmk/SpmkSpzMapper.java
+0
-25
src/main/java/cn/timer/api/dao/spmk/SpmkSxpzMapper.java
+0
-17
src/main/java/cn/timer/api/dao/spmk/SpmkXzxMapper.java
+0
-17
src/main/java/cn/timer/api/dto/spmk/ApprovingDto.java
+4
-11
src/main/java/cn/timer/api/dto/spmk/SpmkApproveSummaryDto.java
+7
-9
src/main/java/cn/timer/api/dto/spmk/SpmkCustomApprovalDto.java
+1
-1
src/main/java/cn/timer/api/dto/spmk/SpmkMbKjDto.java
+0
-27
src/main/java/cn/timer/api/dto/spmk/SpmkSpglDto.java
+0
-88
src/main/java/cn/timer/api/dto/spmk/SpmkSpglLcjdDto.java
+0
-82
src/main/java/cn/timer/api/dto/spmk/SpmkSpglMoveDto.java
+0
-21
src/main/java/cn/timer/api/dto/spmk/SpmkSpglSortDto.java
+0
-21
src/main/java/cn/timer/api/dto/spmk/SpmkSpzDto.java
+0
-21
src/main/java/cn/timer/api/dto/spmk/SpmkSpzSortDto.java
+0
-21
src/main/java/cn/timer/api/dto/spmk/SpmkSpzSpglDto.java
+0
-35
src/main/java/cn/timer/api/utils/router/RouterUtils.java
+0
-4
src/main/resources/mapping/spmk/SpmkClrMapper.xml
+0
-138
src/main/resources/mapping/spmk/SpmkJqgzMapper.xml
+0
-141
src/main/resources/mapping/spmk/SpmkKjMapper.xml
+0
-81
src/main/resources/mapping/spmk/SpmkKjMkMapper.xml
+0
-91
src/main/resources/mapping/spmk/SpmkKjpzMapper.xml
+0
-241
src/main/resources/mapping/spmk/SpmkLcjdEmpAssoMapper.xml
+0
-101
src/main/resources/mapping/spmk/SpmkLcjdMapper.xml
+0
-161
src/main/resources/mapping/spmk/SpmkMbMapper.xml
+0
-81
src/main/resources/mapping/spmk/SpmkSpczMapper.xml
+0
-144
src/main/resources/mapping/spmk/SpmkSpglMapper.xml
+0
-0
src/main/resources/mapping/spmk/SpmkSpnrMapper.xml
+0
-121
src/main/resources/mapping/spmk/SpmkSpzMapper.xml
+0
-158
src/main/resources/mapping/spmk/SpmkSxpzMapper.xml
+0
-141
src/main/resources/mapping/spmk/SpmkXzxMapper.xml
+0
-91
No files found.
pom.xml
View file @
dbf92aee
...
...
@@ -430,7 +430,6 @@
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
org.mybatis.generator
</groupId>
<artifactId>
mybatis-generator-maven-plugin
</artifactId>
...
...
src/main/java/cn/timer/api/bean/spmk/SpmkClr.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
bean
.
spmk
;
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
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author Tang 2019-11-27
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"spmk_clr"
)
@ApiModel
(
"处理人"
)
public
class
SpmkClr
extends
Model
<
SpmkClr
>
{
private
static
final
long
serialVersionUID
=
2999549121813628489L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号 编号"
,
example
=
"101"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"流程节点id 流程节点id"
,
example
=
"101"
)
private
Integer
lcjdId
;
@ApiModelProperty
(
value
=
"审批操作id 审批操作id"
,
example
=
"101"
)
private
Integer
spczId
;
@ApiModelProperty
(
value
=
"员工工号 员工工号"
,
example
=
"101"
)
private
Integer
empNum
;
@ApiModelProperty
(
value
=
"类型 0审批人 1抄送人"
,
example
=
"101"
)
private
Integer
type
;
@ApiModelProperty
(
value
=
"操作 0同意 1拒绝"
,
example
=
"101"
)
private
Integer
operation
;
@ApiModelProperty
(
value
=
"状态 0待审批 1审批中 2已审批"
,
example
=
"101"
)
private
Integer
sts
;
@ApiModelProperty
(
value
=
"审批意见 "
,
example
=
"审批意见"
)
private
String
spyj
;
}
\ No newline at end of file
src/main/java/cn/timer/api/bean/spmk/SpmkInitiatorConfig.java
View file @
dbf92aee
package
cn
.
timer
.
api
.
bean
.
spmk
;
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
;
...
...
@@ -12,42 +16,35 @@ import lombok.Data;
import
lombok.NoArgsConstructor
;
/**
* 审批发起人配置
*
* @author Tang 2020-04-17
* @author Tang 2020-04-28
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"spmk_
approve_execute_record
"
)
@ApiModel
(
"审批
执行记录
"
)
@Table
(
name
=
"spmk_
initiator_config
"
)
@ApiModel
(
"审批
发起人配置
"
)
public
class
SpmkInitiatorConfig
extends
Model
<
SpmkInitiatorConfig
>
{
private
static
final
long
serialVersionUID
=
1L
;
/**
*
编号
*
*/
@ApiModelProperty
(
value
=
"编号 "
,
example
=
"1"
)
private
static
final
long
serialVersionUID
=
1L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号 编号"
,
example
=
"101"
)
private
Integer
id
;
/**
* 自定义审批id
*/
@ApiModelProperty
(
value
=
"自定义审批id"
,
example
=
"100"
)
@ApiModelProperty
(
value
=
"自定义审批id 自定义审批id"
,
example
=
"101"
)
private
Integer
customApprovalId
;
/**
* 关联id
*/
@ApiModelProperty
(
value
=
"关联id"
,
example
=
"100"
)
@ApiModelProperty
(
value
=
"关联id 关联id"
,
example
=
"101"
)
private
Integer
assoId
;
/**
* 类型
*/
@ApiModelProperty
(
value
=
"类型"
,
example
=
"100"
)
@ApiModelProperty
(
value
=
"类型 1员工 2部门 3岗位"
,
example
=
"101"
)
private
Integer
type
;
}
\ No newline at end of file
src/main/java/cn/timer/api/bean/spmk/SpmkJqgz.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.Date
;
import
javax.persistence.*
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.extension.activerecord.Model
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author Tang 2019-12-09
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"spmk_jqgz"
)
@ApiModel
(
"假勤规则"
)
public
class
SpmkJqgz
extends
Model
<
SpmkJqgz
>
{
private
static
final
long
serialVersionUID
=
3806274737897793795L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号 编号"
,
example
=
"101"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"员工状态请假规则"
,
example
=
"101"
)
private
Integer
ygztqjgz
;
@ApiModelProperty
(
value
=
"假期名称 "
,
example
=
"假期名称"
)
private
String
name
;
@ApiModelProperty
(
value
=
"组织代码"
,
example
=
"101"
)
private
Integer
orgCode
;
@ApiModelProperty
(
value
=
"最小请假单位 0按天请假 1按半天请假 2按小时请假"
,
example
=
"101"
)
private
Integer
zxqjdwType
;
@ApiModelProperty
(
value
=
"请假时长核算方式 0按工作日算请假时长 1按自然日计算请假时长"
,
example
=
"101"
)
private
Integer
qjschsfsType
;
@ApiModelProperty
(
value
=
"适用范围 适用范围"
,
example
=
"101"
)
private
Integer
syfw
;
@ApiModelProperty
(
value
=
"计入薪酬 0是 1否"
,
example
=
"101"
)
private
Integer
isJrxc
;
@ApiModelProperty
(
value
=
"创建时间 "
,
example
=
"创建时间"
)
private
Date
createTime
;
}
\ No newline at end of file
src/main/java/cn/timer/api/bean/spmk/SpmkKj.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
bean
.
spmk
;
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
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author Tang 2019-11-25
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"spmk_kj"
)
@ApiModel
(
"控件"
)
public
class
SpmkKj
extends
Model
<
SpmkKj
>
{
private
static
final
long
serialVersionUID
=
-
1463389256002459795L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号"
,
example
=
"101"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"名称"
,
example
=
"101"
)
private
String
name
;
@ApiModelProperty
(
value
=
"类型"
,
example
=
"101"
)
private
Integer
type
;
}
\ No newline at end of file
src/main/java/cn/timer/api/bean/spmk/SpmkKjMk.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
bean
.
spmk
;
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
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author Tang 2019-11-25
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"spmk_kj_mk"
)
@ApiModel
(
"控件模版关联"
)
public
class
SpmkKjMk
extends
Model
<
SpmkKjMk
>
{
private
static
final
long
serialVersionUID
=
7826285133719947956L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号"
,
example
=
"101"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"控件配置id"
,
example
=
"101"
)
private
Integer
kjpzId
;
@ApiModelProperty
(
value
=
"模版id"
,
example
=
"101"
)
private
Integer
mbId
;
@ApiModelProperty
(
value
=
"排序"
,
example
=
"101"
)
private
Integer
sort
;
}
\ No newline at end of file
src/main/java/cn/timer/api/bean/spmk/SpmkKjpz.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.List
;
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
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author Tang 2019-11-25
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"spmk_kjpz"
)
@ApiModel
(
"控件配置"
)
public
class
SpmkKjpz
extends
Model
<
SpmkKjpz
>
{
private
static
final
long
serialVersionUID
=
4471227872317103666L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号"
,
example
=
"101"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"控件id"
,
example
=
"101"
)
private
Integer
kjId
;
@ApiModelProperty
(
value
=
"控件标题"
,
example
=
"控件标题"
)
private
String
title
;
@ApiModelProperty
(
value
=
"控件标题2"
,
example
=
"控件标题2"
)
private
String
titletwo
;
@ApiModelProperty
(
value
=
"类型 1 2 3 4 5 6"
,
example
=
"101"
)
private
Integer
type
;
@ApiModelProperty
(
value
=
"提示文字"
,
example
=
"提示文字"
)
private
String
tswz
;
@ApiModelProperty
(
value
=
"动作名称"
,
example
=
"动作名称"
)
private
String
dzmc
;
@ApiModelProperty
(
value
=
"验证 0是 1否"
,
example
=
"101"
)
private
Integer
isYz
;
@ApiModelProperty
(
value
=
"打印 0是 1否"
,
example
=
"101"
)
private
Integer
isDy
;
@ApiModelProperty
(
value
=
"日期类型 0年-月-日 时:分 1年-月-日"
,
example
=
"101"
)
private
Integer
timeType
;
@ApiModelProperty
(
value
=
"水印照片 0是 1否"
,
example
=
"101"
)
private
Integer
isSyzp
;
@ApiModelProperty
(
value
=
"打印格式 0横向打印 1纵向打印"
,
example
=
"101"
)
private
Integer
dygsType
;
@ApiModelProperty
(
value
=
"显示 0是 1否 在审批页显示"
,
example
=
"101"
)
private
Integer
isShow
;
@ApiModelProperty
(
value
=
"链接跳转地址 "
,
example
=
"链接跳转地址"
)
private
String
ljtzUrl
;
@ApiModelProperty
(
value
=
"显示大写 0是 1否"
,
example
=
"101"
)
private
Integer
isShowup
;
@ApiModelProperty
(
value
=
"选项 0只能选择一 1可同时选择多"
,
example
=
"101"
)
private
Integer
xxType
;
@ApiModelProperty
(
value
=
"计算公式 "
,
example
=
"计算公式"
)
private
String
jsgs
;
@ApiModelProperty
(
value
=
"关联审批单类型id 关联审批单类型id"
,
example
=
"101"
)
private
Integer
glspdId
;
@ApiModelProperty
(
value
=
"说明 "
,
example
=
"说明"
)
private
String
description
;
@Transient
@TableField
(
exist
=
false
)
private
List
<
SpmkXzx
>
spmkXzxs
;
}
\ No newline at end of file
src/main/java/cn/timer/api/bean/spmk/SpmkLcjd.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.List
;
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
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author Tang 2019-11-25
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"spmk_lcjd"
)
@ApiModel
(
"流程节点"
)
public
class
SpmkLcjd
extends
Model
<
SpmkLcjd
>
{
private
static
final
long
serialVersionUID
=
-
7718951890425087486L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号"
,
example
=
"101"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"审批管理id"
,
example
=
"101"
)
private
Integer
spglId
;
@ApiModelProperty
(
value
=
"名称 "
,
example
=
"名称"
)
private
String
name
;
@ApiModelProperty
(
value
=
"类型 0发起人 1审批人 2抄送人 3 条件"
,
example
=
"101"
)
private
Integer
type
;
@ApiModelProperty
(
value
=
"上级节点"
,
example
=
"101"
)
private
Integer
upId
;
@ApiModelProperty
(
value
=
"下级节点"
,
example
=
"101"
)
private
Integer
dowmId
;
@ApiModelProperty
(
value
=
"优先级 1 2 3 4 5"
,
example
=
"101"
)
private
Integer
yxj
;
@ApiModelProperty
(
value
=
"审批人设置类型 0指定成员 1主管 2角色 3发起人自选 4发起人自己 5表单里的联系人 6连续多级主管"
,
example
=
"101"
)
private
Integer
sprszType
;
@ApiModelProperty
(
value
=
"是否 代审批 找不到主管时,由上级主管代审批"
,
example
=
"101"
)
private
Integer
isDsp
;
@ApiModelProperty
(
value
=
"审批方式 0依次审批 1会签(须所有审批人同意)2或签(一名审批人同意或拒绝即可)"
,
example
=
"101"
)
private
Integer
spfsType
;
@ApiModelProperty
(
value
=
"审批人为空时 0自动通过 1自动转交管理员"
,
example
=
"101"
)
private
Integer
sprwkType
;
@Transient
@TableField
(
exist
=
false
)
private
List
<
SpmkSxpz
>
spmkSxpzs
;
@Transient
@TableField
(
exist
=
false
)
private
List
<
SpmkLcjdEmpAsso
>
spmkLcjdEmpAssos
;
@Transient
@TableField
(
exist
=
false
)
private
List
<
SpmkLcjd
>
SpmkLcjds
;
}
\ No newline at end of file
src/main/java/cn/timer/api/bean/spmk/SpmkLcjdEmpAsso.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
bean
.
spmk
;
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
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author Tang 2019-11-25
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"spmk_lcjd_emp_asso"
)
@ApiModel
(
"流程节点员工关联"
)
public
class
SpmkLcjdEmpAsso
extends
Model
<
SpmkLcjdEmpAsso
>
{
private
static
final
long
serialVersionUID
=
-
781283259033327552L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号"
,
example
=
"101"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"流程节点id"
,
example
=
"101"
)
private
Integer
lcjdId
;
@ApiModelProperty
(
value
=
"员工工号"
,
example
=
"101"
)
private
Integer
empNum
;
@ApiModelProperty
(
value
=
"部门岗位id"
,
example
=
"101"
)
private
Integer
bmgwId
;
@ApiModelProperty
(
value
=
"是否可编辑 0是 1否"
,
example
=
"101"
)
private
Integer
isEditable
;
}
\ No newline at end of file
src/main/java/cn/timer/api/bean/spmk/SpmkMb.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
bean
.
spmk
;
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
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author Tang 2019-11-25
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"spmk_mb"
)
@ApiModel
(
"审批模版"
)
public
class
SpmkMb
extends
Model
<
SpmkMb
>
{
private
static
final
long
serialVersionUID
=
-
3347983303738594498L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号"
,
example
=
"101"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"名称"
,
example
=
"名称"
)
private
String
name
;
@ApiModelProperty
(
value
=
"类型"
,
example
=
"101"
)
private
Integer
type
;
@ApiModelProperty
(
value
=
"控件"
,
example
=
"101"
)
private
byte
[]
kj
;
}
\ No newline at end of file
src/main/java/cn/timer/api/bean/spmk/SpmkSpcz.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.Date
;
import
java.util.List
;
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
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author Tang 2019-11-26
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"spmk_spcz"
)
@ApiModel
(
"审批操作"
)
public
class
SpmkSpcz
extends
Model
<
SpmkSpcz
>
{
private
static
final
long
serialVersionUID
=
3566026137671837723L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号"
,
example
=
"101"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"审批管理id"
,
example
=
"101"
)
private
Integer
spglId
;
@ApiModelProperty
(
value
=
"标题"
,
example
=
"标题"
)
private
String
title
;
@ApiModelProperty
(
value
=
"摘要"
,
example
=
"摘要"
)
private
String
digest
;
@ApiModelProperty
(
value
=
"当前审批人"
,
example
=
"101"
)
private
Integer
sprEmpNum
;
@ApiModelProperty
(
value
=
"当前状态 0审批中 1已撤回 2已拒绝 3已审批 4草稿箱"
,
example
=
"101"
)
private
Integer
sts
;
@ApiModelProperty
(
value
=
"流程名称 "
,
example
=
"流程名称"
)
private
String
lcmc
;
@ApiModelProperty
(
value
=
"发起时间 "
,
example
=
"2019-10-10 10:10:10"
)
private
Date
createTime
;
@ApiModelProperty
(
value
=
"结束时间 "
,
example
=
"2019-10-10 10:10:10"
)
private
Date
endTime
;
@ApiModelProperty
(
value
=
"内容 "
,
example
=
""
)
private
byte
[]
nr
;
/**
* 审批内容
*/
@Transient
@TableField
(
exist
=
false
)
private
List
<
SpmkSpnr
>
spmkSpnrs
;
/**
* 处理人
*/
@Transient
@TableField
(
exist
=
false
)
private
List
<
SpmkClr
>
spmkClrs
;
}
\ No newline at end of file
src/main/java/cn/timer/api/bean/spmk/SpmkSpgl.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
bean
.
spmk
;
import
java.util.Date
;
import
javax.persistence.*
;
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
com.baomidou.mybatisplus.extension.activerecord.Model
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author Tang 2019-11-22
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"spmk_spgl"
)
@ApiModel
(
"审批管理"
)
public
class
SpmkSpgl
extends
Model
<
SpmkSpgl
>
{
private
static
final
long
serialVersionUID
=
-
4266670348589252169L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号"
,
example
=
"1"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"审批组id"
,
example
=
"10"
)
private
Integer
spzId
;
@ApiModelProperty
(
value
=
"企业id"
,
example
=
"10"
)
private
Integer
orgCode
;
@ApiModelProperty
(
value
=
"审批模版_id"
,
example
=
"10"
)
private
Integer
mbId
;
@ApiModelProperty
(
value
=
"审批图标地址 "
,
example
=
"审批图标地址"
)
private
String
iconAddress
;
@ApiModelProperty
(
value
=
"审批名称 "
,
example
=
"审批名称"
)
private
String
name
;
@ApiModelProperty
(
value
=
"审批说明 "
,
example
=
"审批说明"
)
private
String
description
;
@ApiModelProperty
(
value
=
"审批开关 0启用 1停用"
,
example
=
"0"
)
private
Integer
isOpen
;
@ApiModelProperty
(
value
=
"排序 排序"
,
example
=
"1"
)
private
Integer
sort
;
@ApiModelProperty
(
value
=
"审批人去重 0不启用自动去重 1同一个审批人在流程中出现多次时,仅保留第一个 2同一个审批人仅在连续出现时,自动去重"
,
example
=
"0"
)
private
Integer
sprqcType
;
@ApiModelProperty
(
value
=
"填写提示 "
,
example
=
"填写提示"
)
private
String
txts
;
@ApiModelProperty
(
value
=
"审批意见 "
,
example
=
"1,2,3"
)
private
String
spyj
;
@ApiModelProperty
(
value
=
"自动通过 发起人审批时自动通过 0是 1否"
,
example
=
"0"
)
private
Integer
isZdtg
;
@ApiModelProperty
(
value
=
"打印模板 0默认模版 1自定义模版"
,
example
=
"0"
)
private
Integer
dymbType
;
@ApiModelProperty
(
value
=
"必须签名 是否 同意时必须签名 0是 1否"
,
example
=
"0"
)
private
Integer
isBxqm
;
@ApiModelProperty
(
value
=
"使用上次签名 0是 1否"
,
example
=
"0"
)
private
Integer
isSyscqm
;
@ApiModelProperty
(
value
=
"每次重新签名 0是 1否"
,
example
=
"0"
)
private
Integer
isMccxqm
;
@ApiModelProperty
(
value
=
"流程节点"
,
example
=
"0"
)
private
byte
[]
lcjd
;
@TableField
(
fill
=
FieldFill
.
UPDATE
)
@ApiModelProperty
(
value
=
"更新时间 "
,
example
=
"更新时间"
)
private
Date
updateTime
;
@TableField
(
fill
=
FieldFill
.
INSERT
)
@ApiModelProperty
(
value
=
"创建时间 "
,
example
=
"创建时间"
)
private
Date
createTime
;
@Transient
@TableField
(
exist
=
false
)
private
SpmkMb
spmkMb
;
}
\ No newline at end of file
src/main/java/cn/timer/api/bean/spmk/SpmkSpnr.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
bean
.
spmk
;
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
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author Tang 2019-11-26
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"spmk_spnr"
)
@ApiModel
(
"审批内容"
)
public
class
SpmkSpnr
extends
Model
<
SpmkSpnr
>
{
private
static
final
long
serialVersionUID
=
-
1940496608397785345L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号"
,
example
=
"101"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"审批操作id"
,
example
=
"101"
)
private
Integer
spczId
;
@ApiModelProperty
(
value
=
"控件配置id"
,
example
=
"101"
)
private
Integer
kjpzId
;
@ApiModelProperty
(
value
=
"输入值1"
,
example
=
"输入值1"
)
private
String
srz1
;
@ApiModelProperty
(
value
=
"输入值2"
,
example
=
"输入值2"
)
private
String
srz2
;
@ApiModelProperty
(
value
=
"输入值3"
,
example
=
"输入值3"
)
private
String
srz3
;
@ApiModelProperty
(
value
=
"输入值4"
,
example
=
"输入值4"
)
private
String
srz4
;
}
\ No newline at end of file
src/main/java/cn/timer/api/bean/spmk/SpmkSpz.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
bean
.
spmk
;
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
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author Tang 2019-11-22
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"spmk_spz"
)
@ApiModel
(
"审批组"
)
public
class
SpmkSpz
extends
Model
<
SpmkSpz
>
{
private
static
final
long
serialVersionUID
=
3386197134163815550L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号"
,
example
=
"1"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"企业id"
,
example
=
"10"
)
private
Integer
orgCode
;
@ApiModelProperty
(
value
=
"组名"
,
example
=
"人事"
)
private
String
name
;
@ApiModelProperty
(
value
=
"排序"
,
example
=
"1"
)
private
Integer
sort
;
@ApiModelProperty
(
value
=
"是否可编辑 0是 1否"
,
example
=
"0"
)
private
Integer
isEditable
;
}
\ No newline at end of file
src/main/java/cn/timer/api/bean/spmk/SpmkSxpz.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
bean
.
spmk
;
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
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author Tang 2019-11-25
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"spmk_sxpz"
)
@ApiModel
(
"属性配置"
)
public
class
SpmkSxpz
extends
Model
<
SpmkSxpz
>
{
private
static
final
long
serialVersionUID
=
1780544983489999335L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号"
,
example
=
"101"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"流程节点id"
,
example
=
"101"
)
private
Integer
lcjdId
;
@ApiModelProperty
(
value
=
"控件配置id"
,
example
=
"101"
)
private
Integer
kjpzId
;
@ApiModelProperty
(
value
=
"键"
,
example
=
"键"
)
private
String
keyz
;
@ApiModelProperty
(
value
=
"运算符 0 小于 1大于 2小于等于 3等于 4 大于等于 5介于()"
,
example
=
"101"
)
private
Integer
ysfType
;
@ApiModelProperty
(
value
=
"值 "
,
example
=
"值"
)
private
String
val
;
@ApiModelProperty
(
value
=
"名称 "
,
example
=
"名称"
)
private
String
name
;
@ApiModelProperty
(
value
=
"有效 0是 1否"
,
example
=
"101"
)
private
Integer
isValid
;
@ApiModelProperty
(
value
=
"类型 "
,
example
=
"10"
)
private
Integer
type
;
}
\ No newline at end of file
src/main/java/cn/timer/api/bean/spmk/SpmkXzx.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
bean
.
spmk
;
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
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author Tang 2019-11-25
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"spmk_xzx"
)
@ApiModel
(
"选择项"
)
public
class
SpmkXzx
extends
Model
<
SpmkXzx
>
{
private
static
final
long
serialVersionUID
=
4721522728897877974L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号"
,
example
=
"101"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"控件配置id"
,
example
=
"101"
)
private
Integer
kjpzId
;
@ApiModelProperty
(
value
=
"值"
,
example
=
"值"
)
private
String
value
;
@ApiModelProperty
(
value
=
"排序"
,
example
=
"排序"
)
private
String
sort
;
}
\ No newline at end of file
src/main/java/cn/timer/api/controller/spmk/SpmkServiceImpl.java
View file @
dbf92aee
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/dao/spmk/SpmkClrMapper.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.spmk.SpmkClr
;
/**
* 处理人
* @author Tang 2019-11-26
*/
@Repository
public
interface
SpmkClrMapper
extends
BaseMapper
<
SpmkClr
>
{
}
src/main/java/cn/timer/api/dao/spmk/SpmkJqgzMapper.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.spmk.SpmkJqgz
;
/**
* 假勤规则
* @author Tang 2019-12-09
*/
@Repository
public
interface
SpmkJqgzMapper
extends
BaseMapper
<
SpmkJqgz
>
{
}
src/main/java/cn/timer/api/dao/spmk/SpmkKjMapper.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.spmk.SpmkKj
;
/**
* 控件
* @author Tang 2019-11-25
*/
@Repository
public
interface
SpmkKjMapper
extends
BaseMapper
<
SpmkKj
>
{
}
src/main/java/cn/timer/api/dao/spmk/SpmkKjMkMapper.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.spmk.SpmkKjMk
;
/**
* 控件模版关联
* @author Tang 2019-11-25
*/
@Repository
public
interface
SpmkKjMkMapper
extends
BaseMapper
<
SpmkKjMk
>
{
}
src/main/java/cn/timer/api/dao/spmk/SpmkKjpzMapper.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.spmk.SpmkKjpz
;
/**
* 控件配置
* @author Tang 2019-11-25
*/
@Repository
public
interface
SpmkKjpzMapper
extends
BaseMapper
<
SpmkKjpz
>
{
}
src/main/java/cn/timer/api/dao/spmk/SpmkLcjdEmpAssoMapper.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.spmk.SpmkLcjdEmpAsso
;
/**
* 流程节点员工关联
* @author Tang 2019-11-25
*/
@Repository
public
interface
SpmkLcjdEmpAssoMapper
extends
BaseMapper
<
SpmkLcjdEmpAsso
>
{
}
src/main/java/cn/timer/api/dao/spmk/SpmkLcjdMapper.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.spmk.SpmkLcjd
;
/**
* 流程节点
* @author Tang 2019-11-22
*/
@Repository
public
interface
SpmkLcjdMapper
extends
BaseMapper
<
SpmkLcjd
>
{
}
src/main/java/cn/timer/api/dao/spmk/SpmkMbMapper.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.spmk.SpmkMb
;
/**
* 审批模版
* @author Tang 2019-11-25
*/
@Repository
public
interface
SpmkMbMapper
extends
BaseMapper
<
SpmkMb
>
{
}
src/main/java/cn/timer/api/dao/spmk/SpmkSpczMapper.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.spmk.SpmkSpcz
;
/**
* 审批操作
* @author Tang 2019-11-26
*/
@Repository
public
interface
SpmkSpczMapper
extends
BaseMapper
<
SpmkSpcz
>
{
}
src/main/java/cn/timer/api/dao/spmk/SpmkSpglMapper.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.spmk.SpmkSpgl
;
import
cn.timer.api.dto.spmk.SpmkSpglSortDto
;
/**
* 审批管理
* @author Tang 2019-11-22
*/
@Repository
public
interface
SpmkSpglMapper
extends
BaseMapper
<
SpmkSpgl
>
{
Integer
updateListSortById
(
List
<
SpmkSpglSortDto
>
spmkSpglSortDtos
);
/* SpmkSpglDto selectSpglById(Integer id); */
SpmkSpgl
selectSpglById2
(
Integer
id
);
}
src/main/java/cn/timer/api/dao/spmk/SpmkSpnrMapper.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.spmk.SpmkSpnr
;
/**
* 审批内容
* @author Tang 2019-11-26
*/
@Repository
public
interface
SpmkSpnrMapper
extends
BaseMapper
<
SpmkSpnr
>
{
}
src/main/java/cn/timer/api/dao/spmk/SpmkSpzMapper.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
java.util.List
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.spmk.SpmkSpz
;
import
cn.timer.api.dto.spmk.SpmkSpzSortDto
;
import
cn.timer.api.dto.spmk.SpmkSpzSpglDto
;
/**
* 审批组
* @author Tang 2019-11-22
*/
@Repository
public
interface
SpmkSpzMapper
extends
BaseMapper
<
SpmkSpz
>
{
List
<
SpmkSpzSpglDto
>
selectSpglListByOrgCode
(
Integer
orgCode
);
Integer
updateListSortById
(
List
<
SpmkSpzSortDto
>
spmkSpzSortDtos
);
}
src/main/java/cn/timer/api/dao/spmk/SpmkSxpzMapper.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.spmk.SpmkSxpz
;
/**
* 属性配置
* @author Tang 2019-11-25
*/
@Repository
public
interface
SpmkSxpzMapper
extends
BaseMapper
<
SpmkSxpz
>
{
}
src/main/java/cn/timer/api/dao/spmk/SpmkXzxMapper.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dao
.
spmk
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.spmk.SpmkXzx
;
/**
* 选择项
* @author Tang 2019-11-25
*/
@Repository
public
interface
SpmkXzxMapper
extends
BaseMapper
<
SpmkXzx
>
{
}
src/main/java/cn/timer/api/dto/spmk/ApprovingDto.java
View file @
dbf92aee
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
java.util.Date
;
import
java.util.List
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
cn.hutool.json.JSONObject
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
...
...
@@ -19,19 +12,19 @@ import lombok.NoArgsConstructor;
@AllArgsConstructor
public
class
ApprovingDto
{
@ApiModelProperty
(
value
=
"审批汇总id"
,
example
=
"2"
)
@ApiModelProperty
(
value
=
"审批汇总id"
,
example
=
"2"
,
required
=
true
)
private
Integer
asId
;
@ApiModelProperty
(
value
=
"审批执行记录id"
,
example
=
"10"
)
@ApiModelProperty
(
value
=
"审批执行记录id"
,
example
=
"10"
,
required
=
true
)
private
Integer
executeRecordId
;
@ApiModelProperty
(
value
=
"执行人记录id"
,
example
=
"10"
)
@ApiModelProperty
(
value
=
"执行人记录id"
,
example
=
"10"
,
required
=
true
)
private
Integer
executorId
;
@ApiModelProperty
(
value
=
"意见"
,
example
=
"MMMMMMMM"
)
private
String
opinion
;
@ApiModelProperty
(
value
=
"状态 2同意 3拒绝"
,
example
=
"2"
)
@ApiModelProperty
(
value
=
"状态 2同意 3拒绝"
,
example
=
"2"
,
required
=
true
)
private
Integer
sts
;
}
src/main/java/cn/timer/api/dto/spmk/SpmkApproveSummaryDto.java
View file @
dbf92aee
...
...
@@ -24,27 +24,25 @@ public class SpmkApproveSummaryDto{
/*
* 审批汇总
*/
@ApiModelProperty
(
value
=
"标题 "
,
example
=
"标题"
)
@ApiModelProperty
(
value
=
"标题 "
,
example
=
"标题"
,
required
=
true
)
private
String
title
;
@ApiModelProperty
(
value
=
"审批名称 "
,
example
=
"审批名称"
)
@ApiModelProperty
(
value
=
"审批名称 "
,
example
=
"审批名称"
,
required
=
true
)
private
String
approveName
;
@ApiModelProperty
(
value
=
"发起人名称 "
,
example
=
"发起人名称"
)
@ApiModelProperty
(
value
=
"发起人名称 "
,
example
=
"发起人名称"
,
required
=
true
)
private
String
initiator
;
@ApiModelProperty
(
value
=
"关联类型 1转正 2离职 3调薪 4调岗 5加班 6请假 7出差 8外出 9补卡"
,
example
=
"5"
)
@ApiModelProperty
(
value
=
"关联类型 1转正 2离职 3调薪 4调岗 5加班 6请假 7出差 8外出 9补卡
"
,
example
=
"5"
)
private
Integer
assoType
;
@ApiModelProperty
(
value
=
"申请数据 "
,
example
=
"申请数据"
)
@ApiModelProperty
(
value
=
"申请数据 "
,
example
=
"申请数据"
,
required
=
true
)
private
JSONObject
requestData
;
@ApiModelProperty
(
value
=
"审批表单 "
,
example
=
"数组"
)
@ApiModelProperty
(
value
=
"审批表单 "
,
example
=
"数组"
,
required
=
true
)
private
List
<
JSONObject
>
froms
;
@ApiModelProperty
(
value
=
"审批流程 "
,
example
=
"审批流程"
)
@ApiModelProperty
(
value
=
"审批流程 "
,
example
=
"审批流程"
,
required
=
true
)
private
Router
router
;
}
src/main/java/cn/timer/api/dto/spmk/SpmkCustomApprovalDto.java
View file @
dbf92aee
...
...
@@ -59,7 +59,7 @@ public class SpmkCustomApprovalDto {
@ApiModelProperty
(
value
=
"审批流程 "
,
example
=
"审批流程"
)
private
Router
router
;
@ApiModelProperty
(
value
=
"可见发起人配置 "
,
example
=
"
可见发起人配置
"
)
@ApiModelProperty
(
value
=
"可见发起人配置 "
,
example
=
"
数组类型
"
)
private
List
<
SpmkInitiatorConfig
>
initiatorConfigs
;
}
src/main/java/cn/timer/api/dto/spmk/SpmkMbKjDto.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public
class
SpmkMbKjDto
{
@ApiModelProperty
(
value
=
"编号"
,
example
=
"101"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"名称"
,
example
=
"名称"
)
private
String
name
;
@ApiModelProperty
(
value
=
"类型"
,
example
=
"101"
)
private
Integer
type
;
@ApiModelProperty
(
value
=
"控件"
,
example
=
"101"
)
private
Object
kj
;
}
src/main/java/cn/timer/api/dto/spmk/SpmkSpglDto.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
java.util.Date
;
import
javax.persistence.Transient
;
import
com.baomidou.mybatisplus.annotation.FieldFill
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public
class
SpmkSpglDto
{
@ApiModelProperty
(
value
=
"编号"
,
example
=
"1"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"审批组id"
,
example
=
"10"
)
private
Integer
spzId
;
@ApiModelProperty
(
value
=
"企业id"
,
example
=
"10"
)
private
Integer
orgCode
;
@ApiModelProperty
(
value
=
"审批模版_id"
,
example
=
"10"
)
private
Integer
mbId
;
@ApiModelProperty
(
value
=
"审批图标地址 "
,
example
=
"审批图标地址"
)
private
String
iconAddress
;
@ApiModelProperty
(
value
=
"审批名称 "
,
example
=
"审批名称"
)
private
String
name
;
@ApiModelProperty
(
value
=
"审批说明 "
,
example
=
"审批说明"
)
private
String
description
;
@ApiModelProperty
(
value
=
"审批开关 0启用 1停用"
,
example
=
"0"
)
private
Integer
isOpen
;
@ApiModelProperty
(
value
=
"排序 排序"
,
example
=
"1"
)
private
Integer
sort
;
@ApiModelProperty
(
value
=
"审批人去重 0不启用自动去重 1同一个审批人在流程中出现多次时,仅保留第一个 2同一个审批人仅在连续出现时,自动去重"
,
example
=
"0"
)
private
Integer
sprqcType
;
@ApiModelProperty
(
value
=
"填写提示 "
,
example
=
"填写提示"
)
private
String
txts
;
@ApiModelProperty
(
value
=
"审批意见 "
,
example
=
"审批意见"
)
private
int
[]
spyj
;
@ApiModelProperty
(
value
=
"自动通过 发起人审批时自动通过 0是 1否"
,
example
=
"0"
)
private
Integer
isZdtg
;
@ApiModelProperty
(
value
=
"打印模板 0默认模版 1自定义模版"
,
example
=
"0"
)
private
Integer
dymbType
;
@ApiModelProperty
(
value
=
"必须签名 是否 同意时必须签名 0是 1否"
,
example
=
"0"
)
private
Integer
isBxqm
;
@ApiModelProperty
(
value
=
"使用上次签名 0是 1否"
,
example
=
"0"
)
private
Integer
isSyscqm
;
@ApiModelProperty
(
value
=
"每次重新签名 0是 1否"
,
example
=
"0"
)
private
Integer
isMccxqm
;
@ApiModelProperty
(
value
=
"流程节点"
,
example
=
"0"
)
private
Object
lcjd
;
@TableField
(
fill
=
FieldFill
.
UPDATE
)
@ApiModelProperty
(
value
=
"更新时间 "
,
example
=
"更新时间"
)
private
Date
updateTime
;
@TableField
(
fill
=
FieldFill
.
INSERT
)
@ApiModelProperty
(
value
=
"创建时间 "
,
example
=
"创建时间"
)
private
Date
createTime
;
@Transient
@TableField
(
exist
=
false
)
private
SpmkMbKjDto
spmkMbKjDto
;
}
src/main/java/cn/timer/api/dto/spmk/SpmkSpglLcjdDto.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.FieldFill
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public
class
SpmkSpglLcjdDto
{
@ApiModelProperty
(
value
=
"编号"
,
example
=
"1"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"审批组id"
,
example
=
"10"
)
private
Integer
spzId
;
@ApiModelProperty
(
value
=
"企业id"
,
example
=
"10"
)
private
Integer
orgCode
;
@ApiModelProperty
(
value
=
"审批模版_id"
,
example
=
"10"
)
private
Integer
mbId
;
@ApiModelProperty
(
value
=
"审批图标地址 "
,
example
=
"审批图标地址"
)
private
String
iconAddress
;
@ApiModelProperty
(
value
=
"审批名称 "
,
example
=
"审批名称"
)
private
String
name
;
@ApiModelProperty
(
value
=
"审批说明 "
,
example
=
"审批说明"
)
private
String
description
;
@ApiModelProperty
(
value
=
"审批开关 0启用 1停用"
,
example
=
"0"
)
private
Integer
isOpen
;
@ApiModelProperty
(
value
=
"排序 排序"
,
example
=
"1"
)
private
Integer
sort
;
@ApiModelProperty
(
value
=
"审批人去重 0不启用自动去重 1同一个审批人在流程中出现多次时,仅保留第一个 2同一个审批人仅在连续出现时,自动去重"
,
example
=
"0"
)
private
Integer
sprqcType
;
@ApiModelProperty
(
value
=
"填写提示 "
,
example
=
"填写提示"
)
private
String
txts
;
@ApiModelProperty
(
value
=
"审批意见 "
,
example
=
"1,2,3"
)
private
String
spyj
;
@ApiModelProperty
(
value
=
"自动通过 发起人审批时自动通过 0是 1否"
,
example
=
"0"
)
private
Integer
isZdtg
;
@ApiModelProperty
(
value
=
"打印模板 0默认模版 1自定义模版"
,
example
=
"0"
)
private
Integer
dymbType
;
@ApiModelProperty
(
value
=
"必须签名 是否 同意时必须签名 0是 1否"
,
example
=
"0"
)
private
Integer
isBxqm
;
@ApiModelProperty
(
value
=
"使用上次签名 0是 1否"
,
example
=
"0"
)
private
Integer
isSyscqm
;
@ApiModelProperty
(
value
=
"每次重新签名 0是 1否"
,
example
=
"0"
)
private
Integer
isMccxqm
;
@ApiModelProperty
(
value
=
"流程节点"
,
example
=
"0"
)
private
Object
lcjd
;
@TableField
(
fill
=
FieldFill
.
UPDATE
)
@ApiModelProperty
(
value
=
"更新时间 "
,
example
=
"更新时间"
)
private
Date
updateTime
;
@TableField
(
fill
=
FieldFill
.
INSERT
)
@ApiModelProperty
(
value
=
"创建时间 "
,
example
=
"创建时间"
)
private
Date
createTime
;
}
src/main/java/cn/timer/api/dto/spmk/SpmkSpglMoveDto.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public
class
SpmkSpglMoveDto
{
@ApiModelProperty
(
value
=
"编号"
,
example
=
"1"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"审批组id"
,
example
=
"10"
)
private
Integer
spzId
;
}
src/main/java/cn/timer/api/dto/spmk/SpmkSpglSortDto.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public
class
SpmkSpglSortDto
{
@ApiModelProperty
(
value
=
"编号"
,
example
=
"1"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"排序"
,
example
=
"1"
)
private
Integer
sort
;
}
src/main/java/cn/timer/api/dto/spmk/SpmkSpzDto.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public
class
SpmkSpzDto
{
@ApiModelProperty
(
value
=
"编号"
,
example
=
"1"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"组名"
,
example
=
"人事"
)
private
String
name
;
}
src/main/java/cn/timer/api/dto/spmk/SpmkSpzSortDto.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public
class
SpmkSpzSortDto
{
@ApiModelProperty
(
value
=
"编号"
,
example
=
"1"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"排序"
,
example
=
"1"
)
private
Integer
sort
;
}
src/main/java/cn/timer/api/dto/spmk/SpmkSpzSpglDto.java
deleted
100644 → 0
View file @
fce27486
package
cn
.
timer
.
api
.
dto
.
spmk
;
import
java.util.List
;
import
cn.timer.api.bean.spmk.SpmkSpgl
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public
class
SpmkSpzSpglDto
{
@ApiModelProperty
(
value
=
"编号 编号"
,
example
=
"1"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"企业id"
,
example
=
"117"
)
private
Integer
orgCode
;
@ApiModelProperty
(
value
=
"组名 "
,
example
=
"人事"
)
private
String
name
;
@ApiModelProperty
(
value
=
"排序 排序"
,
example
=
"1"
)
private
Integer
sort
;
@ApiModelProperty
(
value
=
"是否可编辑 0是 1否"
,
example
=
"0"
)
private
Integer
isEditable
;
private
List
<
SpmkSpgl
>
spmkSpgls
;
}
src/main/java/cn/timer/api/utils/router/RouterUtils.java
View file @
dbf92aee
...
...
@@ -418,8 +418,6 @@ public class RouterUtils {
}
else
if
(
EXECUTING
.
equals
(
listFlowChildren
.
get
(
i
).
getExecute
()))
{
// 新增 执行人
// listUser = flowChildren.getRelation().get(0).getUsers();
for
(
int
i_user
=
0
,
n_user
=
listUser
.
size
();
i_user
<
n_user
;
i_user
++)
{
if
(
EXECUTED
.
equals
(
listUser
.
get
(
i_user
).
getExecute
()))
{
...
...
@@ -518,8 +516,6 @@ public class RouterUtils {
// 新增 审批执行记录
aer2
.
insert
();
// 新增 执行人
// listUser = flowChildren.getRelation().get(0).getUsers();
for
(
int
i_user2
=
0
,
n_user2
=
listUser
.
size
();
i_user2
<
n_user2
;
i_user2
++)
{
User
u
=
listUser
.
get
(
i_user2
);
SpmkExecutor
executor
=
SpmkExecutor
.
builder
()
...
...
src/main/resources/mapping/spmk/SpmkClrMapper.xml
deleted
100644 → 0
View file @
fce27486
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.timer.api.dao.spmk.SpmkClrMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.timer.api.bean.spmk.SpmkClr"
>
<result
column=
"Id"
property=
"id"
/>
<result
column=
"lcjd_id"
property=
"lcjdId"
/>
<result
column=
"spcz_id"
property=
"spczId"
/>
<result
column=
"emp_num"
property=
"empNum"
/>
<result
column=
"type"
property=
"type"
/>
<result
column=
"operation"
property=
"operation"
/>
<result
column=
"sts"
property=
"sts"
/>
<result
column=
"spyj"
property=
"spyj"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
Id,
lcjd_id,
spcz_id,
emp_num,
type,
operation,
sts,
spyj
</sql>
<sql
id=
"Base_Column_List_Alias"
>
Id SpmkClr_Id,
lcjd_id SpmkClr_lcjd_id,
spcz_id SpmkClr_spcz_id,
emp_num SpmkClr_emp_num,
type SpmkClr_type,
operation SpmkClr_operation,
sts SpmkClr_sts,
spyj SpmkClr_spyj
</sql>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.spmk.SpmkClr">
INSERT INTO spmk_clr
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != id'>
Id,
</if>
<if test ='null != lcjdId'>
lcjd_id,
</if>
<if test ='null != spczId'>
spcz_id,
</if>
<if test ='null != empNum'>
emp_num,
</if>
<if test ='null != type'>
type,
</if>
<if test ='null != operation'>
operation,
</if>
<if test ='null != sts'>
sts,
</if>
<if test ='null != spyj'>
spyj
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != id'>
#{id},
</if>
<if test ='null != lcjdId'>
#{lcjdId},
</if>
<if test ='null != spczId'>
#{spczId},
</if>
<if test ='null != empNum'>
#{empNum},
</if>
<if test ='null != type'>
#{type},
</if>
<if test ='null != operation'>
#{operation},
</if>
<if test ='null != sts'>
#{sts},
</if>
<if test ='null != spyj'>
#{spyj}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM spmk_clr
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.spmk.SpmkClr">
UPDATE spmk_clr
<set>
<if test ='null != id'>Id = #{id},</if>
<if test ='null != lcjdId'>lcjd_id = #{lcjdId},</if>
<if test ='null != spczId'>spcz_id = #{spczId},</if>
<if test ='null != empNum'>emp_num = #{empNum},</if>
<if test ='null != type'>type = #{type},</if>
<if test ='null != operation'>operation = #{operation},</if>
<if test ='null != sts'>sts = #{sts},</if>
<if test ='null != spyj'>spyj = #{spyj}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_clr
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_clr
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM spmk_clr
</select>
-->
</mapper>
\ No newline at end of file
src/main/resources/mapping/spmk/SpmkJqgzMapper.xml
deleted
100644 → 0
View file @
fce27486
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.timer.api.dao.spmk.SpmkJqgzMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.timer.api.bean.spmk.SpmkJqgz"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"org_code"
property=
"orgCode"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"ygztqjgz"
property=
"ygztqjgz"
/>
<result
column=
"zxqjdw_type"
property=
"zxqjdwType"
/>
<result
column=
"qjschsfs_type"
property=
"qjschsfsType"
/>
<result
column=
"syfw"
property=
"syfw"
/>
<result
column=
"is_jrxc"
property=
"isJrxc"
/>
<result
column=
"create_time"
property=
"createTime"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,
org_code,
name,
ygztqjgz,
zxqjdw_type,
qjschsfs_type,
syfw,
is_jrxc,
create_time
</sql>
<sql
id=
"Base_Column_List_Alias"
>
id SpmkJqgz_id,
org_code SpmkJqgz_org_code,
name SpmkJqgz_name,
ygztqjgz SpmkJqgz_ygztqjgz,
zxqjdw_type SpmkJqgz_zxqjdw_type,
qjschsfs_type SpmkJqgz_qjschsfs_type,
syfw SpmkJqgz_syfw,
is_jrxc SpmkJqgz_is_jrxc,
create_time SpmkJqgz_create_time
</sql>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.spmk.SpmkJqgz">
INSERT INTO spmk_jqgz
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != orgCode'>
org_code,
</if>
<if test ='null != name'>
name,
</if>
<if test ='null != ygztqjgz'>
ygztqjgz,
</if>
<if test ='null != zxqjdwType'>
zxqjdw_type,
</if>
<if test ='null != qjschsfsType'>
qjschsfs_type,
</if>
<if test ='null != syfw'>
syfw,
</if>
<if test ='null != isJrxc'>
is_jrxc,
</if>
<if test ='null != createTime'>
create_time
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != orgCode'>
#{orgCode},
</if>
<if test ='null != name'>
#{name},
</if>
<if test ='null != ygztqjgz'>
#{ygztqjgz},
</if>
<if test ='null != zxqjdwType'>
#{zxqjdwType},
</if>
<if test ='null != qjschsfsType'>
#{qjschsfsType},
</if>
<if test ='null != syfw'>
#{syfw},
</if>
<if test ='null != isJrxc'>
#{isJrxc},
</if>
<if test ='null != createTime'>
#{createTime}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM spmk_jqgz
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.spmk.SpmkJqgz">
UPDATE spmk_jqgz
<set>
<if test ='null != orgCode'>org_code = #{orgCode},</if>
<if test ='null != name'>name = #{name},</if>
<if test ='null != ygztqjgz'>ygztqjgz = #{ygztqjgz},</if>
<if test ='null != zxqjdwType'>zxqjdw_type = #{zxqjdwType},</if>
<if test ='null != qjschsfsType'>qjschsfs_type = #{qjschsfsType},</if>
<if test ='null != syfw'>syfw = #{syfw},</if>
<if test ='null != isJrxc'>is_jrxc = #{isJrxc},</if>
<if test ='null != createTime'>create_time = #{createTime}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_jqgz
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_jqgz
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM spmk_jqgz
</select>
-->
</mapper>
\ No newline at end of file
src/main/resources/mapping/spmk/SpmkKjMapper.xml
deleted
100644 → 0
View file @
fce27486
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.timer.api.dao.spmk.SpmkKjMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.timer.api.bean.spmk.SpmkKj"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"type"
property=
"type"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,
name,
type
</sql>
<sql
id=
"Base_Column_List_Alias"
>
id SpmkKj_id,
name SpmkKj_name,
type SpmkKj_type
</sql>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.spmk.SpmkKj">
INSERT INTO spmk_kj
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != name'>
name,
</if>
<if test ='null != type'>
type
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != name'>
#{name},
</if>
<if test ='null != type'>
#{type}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM spmk_kj
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.spmk.SpmkKj">
UPDATE spmk_kj
<set>
<if test ='null != name'>name = #{name},</if>
<if test ='null != type'>type = #{type}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_kj
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_kj
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM spmk_kj
</select>
-->
</mapper>
\ No newline at end of file
src/main/resources/mapping/spmk/SpmkKjMkMapper.xml
deleted
100644 → 0
View file @
fce27486
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.timer.api.dao.spmk.SpmkKjMkMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.timer.api.bean.spmk.SpmkKjMk"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"kjpz_id"
property=
"kjpzId"
/>
<result
column=
"mb_id"
property=
"mbId"
/>
<result
column=
"sort"
property=
"sort"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,
kjpz_id,
mb_id,
sort
</sql>
<sql
id=
"Base_Column_List_Alias"
>
id SpmkKjMk_id,
kjpz_id SpmkKjMk_kjpz_id,
mb_id SpmkKjMk_mb_id,
sort SpmkKjMk_sort
</sql>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.spmk.SpmkKjMk">
INSERT INTO spmk_kj_mk
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != kjpzId'>
kjpz_id,
</if>
<if test ='null != mbId'>
mb_id,
</if>
<if test ='null != sort'>
sort
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != kjpzId'>
#{kjpzId},
</if>
<if test ='null != mbId'>
#{mbId},
</if>
<if test ='null != sort'>
#{sort}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM spmk_kj_mk
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.spmk.SpmkKjMk">
UPDATE spmk_kj_mk
<set>
<if test ='null != kjpzId'>kjpz_id = #{kjpzId},</if>
<if test ='null != mbId'>mb_id = #{mbId},</if>
<if test ='null != sort'>sort = #{sort}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_kj_mk
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_kj_mk
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM spmk_kj_mk
</select>
-->
</mapper>
\ No newline at end of file
src/main/resources/mapping/spmk/SpmkKjpzMapper.xml
deleted
100644 → 0
View file @
fce27486
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.timer.api.dao.spmk.SpmkKjpzMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.timer.api.bean.spmk.SpmkKjpz"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"kj_id"
property=
"kjId"
/>
<result
column=
"title"
property=
"title"
/>
<result
column=
"titletwo"
property=
"titletwo"
/>
<result
column=
"type"
property=
"type"
/>
<result
column=
"tswz"
property=
"tswz"
/>
<result
column=
"dzmc"
property=
"dzmc"
/>
<result
column=
"is_yz"
property=
"isYz"
/>
<result
column=
"is_dy"
property=
"isDy"
/>
<result
column=
"time_type"
property=
"timeType"
/>
<result
column=
"is_syzp"
property=
"isSyzp"
/>
<result
column=
"dygs_type"
property=
"dygsType"
/>
<result
column=
"is_show"
property=
"isShow"
/>
<result
column=
"ljtz_url"
property=
"ljtzUrl"
/>
<result
column=
"is_showup"
property=
"isShowup"
/>
<result
column=
"xx_type"
property=
"xxType"
/>
<result
column=
"jsgs"
property=
"jsgs"
/>
<result
column=
"glspd_id"
property=
"glspdId"
/>
<result
column=
"description"
property=
"description"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,
kj_id,
title,
titletwo,
type,
tswz,
dzmc,
is_yz,
is_dy,
time_type,
is_syzp,
dygs_type,
is_show,
ljtz_url,
is_showup,
xx_type,
jsgs,
glspd_id,
description
</sql>
<sql
id=
"Base_Column_List_Alias"
>
id SpmkKjpz_id,
kj_id SpmkKjpz_kj_id,
title SpmkKjpz_title,
titletwo SpmkKjpz_titletwo,
type SpmkKjpz_type,
tswz SpmkKjpz_tswz,
dzmc SpmkKjpz_dzmc,
is_yz SpmkKjpz_is_yz,
is_dy SpmkKjpz_is_dy,
time_type SpmkKjpz_time_type,
is_syzp SpmkKjpz_is_syzp,
dygs_type SpmkKjpz_dygs_type,
is_show SpmkKjpz_is_show,
ljtz_url SpmkKjpz_ljtz_url,
is_showup SpmkKjpz_is_showup,
xx_type SpmkKjpz_xx_type,
jsgs SpmkKjpz_jsgs,
glspd_id SpmkKjpz_glspd_id,
description SpmkKjpz_description
</sql>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.spmk.SpmkKjpz">
INSERT INTO spmk_kjpz
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != kjId'>
kj_id,
</if>
<if test ='null != title'>
title,
</if>
<if test ='null != titletwo'>
titletwo,
</if>
<if test ='null != type'>
type,
</if>
<if test ='null != tswz'>
tswz,
</if>
<if test ='null != dzmc'>
dzmc,
</if>
<if test ='null != isYz'>
is_yz,
</if>
<if test ='null != isDy'>
is_dy,
</if>
<if test ='null != timeType'>
time_type,
</if>
<if test ='null != isSyzp'>
is_syzp,
</if>
<if test ='null != dygsType'>
dygs_type,
</if>
<if test ='null != isShow'>
is_show,
</if>
<if test ='null != ljtzUrl'>
ljtz_url,
</if>
<if test ='null != isShowup'>
is_showup,
</if>
<if test ='null != xxType'>
xx_type,
</if>
<if test ='null != jsgs'>
jsgs,
</if>
<if test ='null != glspdId'>
glspd_id,
</if>
<if test ='null != description'>
description
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != kjId'>
#{kjId},
</if>
<if test ='null != title'>
#{title},
</if>
<if test ='null != titletwo'>
#{titletwo},
</if>
<if test ='null != type'>
#{type},
</if>
<if test ='null != tswz'>
#{tswz},
</if>
<if test ='null != dzmc'>
#{dzmc},
</if>
<if test ='null != isYz'>
#{isYz},
</if>
<if test ='null != isDy'>
#{isDy},
</if>
<if test ='null != timeType'>
#{timeType},
</if>
<if test ='null != isSyzp'>
#{isSyzp},
</if>
<if test ='null != dygsType'>
#{dygsType},
</if>
<if test ='null != isShow'>
#{isShow},
</if>
<if test ='null != ljtzUrl'>
#{ljtzUrl},
</if>
<if test ='null != isShowup'>
#{isShowup},
</if>
<if test ='null != xxType'>
#{xxType},
</if>
<if test ='null != jsgs'>
#{jsgs},
</if>
<if test ='null != glspdId'>
#{glspdId},
</if>
<if test ='null != description'>
#{description}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM spmk_kjpz
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.spmk.SpmkKjpz">
UPDATE spmk_kjpz
<set>
<if test ='null != kjId'>kj_id = #{kjId},</if>
<if test ='null != title'>title = #{title},</if>
<if test ='null != titletwo'>titletwo = #{titletwo},</if>
<if test ='null != type'>type = #{type},</if>
<if test ='null != tswz'>tswz = #{tswz},</if>
<if test ='null != dzmc'>dzmc = #{dzmc},</if>
<if test ='null != isYz'>is_yz = #{isYz},</if>
<if test ='null != isDy'>is_dy = #{isDy},</if>
<if test ='null != timeType'>time_type = #{timeType},</if>
<if test ='null != isSyzp'>is_syzp = #{isSyzp},</if>
<if test ='null != dygsType'>dygs_type = #{dygsType},</if>
<if test ='null != isShow'>is_show = #{isShow},</if>
<if test ='null != ljtzUrl'>ljtz_url = #{ljtzUrl},</if>
<if test ='null != isShowup'>is_showup = #{isShowup},</if>
<if test ='null != xxType'>xx_type = #{xxType},</if>
<if test ='null != jsgs'>jsgs = #{jsgs},</if>
<if test ='null != glspdId'>glspd_id = #{glspdId},</if>
<if test ='null != description'>description = #{description}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_kjpz
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_kjpz
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM spmk_kjpz
</select>
-->
</mapper>
\ No newline at end of file
src/main/resources/mapping/spmk/SpmkLcjdEmpAssoMapper.xml
deleted
100644 → 0
View file @
fce27486
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.timer.api.dao.spmk.SpmkLcjdEmpAssoMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.timer.api.bean.spmk.SpmkLcjdEmpAsso"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"lcjd_id"
property=
"lcjdId"
/>
<result
column=
"emp_num"
property=
"empNum"
/>
<result
column=
"bmgw_id"
property=
"bmgwId"
/>
<result
column=
"is_editable"
property=
"isEditable"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,
lcjd_id,
emp_num,
bmgw_id,
is_editable
</sql>
<sql
id=
"Base_Column_List_Alias"
>
id SpmkLcjdEmpAsso_id,
lcjd_id SpmkLcjdEmpAsso_lcjd_id,
emp_num SpmkLcjdEmpAsso_emp_num,
bmgw_id SpmkLcjdEmpAsso_bmgw_id,
is_editable SpmkLcjdEmpAsso_is_editable
</sql>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.spmk.SpmkLcjdEmpAsso">
INSERT INTO spmk_lcjd_emp_asso
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != lcjdId'>
lcjd_id,
</if>
<if test ='null != empNum'>
emp_num,
</if>
<if test ='null != bmgwId'>
bmgw_id,
</if>
<if test ='null != isEditable'>
is_editable
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != lcjdId'>
#{lcjdId},
</if>
<if test ='null != empNum'>
#{empNum},
</if>
<if test ='null != bmgwId'>
#{bmgwId},
</if>
<if test ='null != isEditable'>
#{isEditable}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM spmk_lcjd_emp_asso
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.spmk.SpmkLcjdEmpAsso">
UPDATE spmk_lcjd_emp_asso
<set>
<if test ='null != lcjdId'>lcjd_id = #{lcjdId},</if>
<if test ='null != empNum'>emp_num = #{empNum},</if>
<if test ='null != bmgwId'>bmgw_id = #{bmgwId},</if>
<if test ='null != isEditable'>is_editable = #{isEditable}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_lcjd_emp_asso
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_lcjd_emp_asso
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM spmk_lcjd_emp_asso
</select>
-->
</mapper>
\ No newline at end of file
src/main/resources/mapping/spmk/SpmkLcjdMapper.xml
deleted
100644 → 0
View file @
fce27486
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.timer.api.dao.spmk.SpmkLcjdMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.timer.api.bean.spmk.SpmkLcjd"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"spgl_id"
property=
"spglId"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"type"
property=
"type"
/>
<result
column=
"up_id"
property=
"upId"
/>
<result
column=
"dowm_id"
property=
"dowmId"
/>
<result
column=
"yxj"
property=
"yxj"
/>
<result
column=
"sprsz_type"
property=
"sprszType"
/>
<result
column=
"is_dsp"
property=
"isDsp"
/>
<result
column=
"spfs_type"
property=
"spfsType"
/>
<result
column=
"sprwk_type"
property=
"sprwkType"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,
spgl_id,
name,
type,
up_id,
dowm_id,
yxj,
sprsz_type,
is_dsp,
spfs_type,
sprwk_type
</sql>
<sql
id=
"Base_Column_List_Alias"
>
id SpmkLcjd_id,
spgl_id SpmkLcjd_spgl_id,
name SpmkLcjd_name,
type SpmkLcjd_type,
up_id SpmkLcjd_up_id,
dowm_id SpmkLcjd_dowm_id,
yxj SpmkLcjd_yxj,
sprsz_type SpmkLcjd_sprsz_type,
is_dsp SpmkLcjd_is_dsp,
spfs_type SpmkLcjd_spfs_type,
sprwk_type SpmkLcjd_sprwk_type
</sql>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.spmk.SpmkLcjd">
INSERT INTO spmk_lcjd
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != spglId'>
spgl_id,
</if>
<if test ='null != name'>
name,
</if>
<if test ='null != type'>
type,
</if>
<if test ='null != upId'>
up_id,
</if>
<if test ='null != dowmId'>
dowm_id,
</if>
<if test ='null != yxj'>
yxj,
</if>
<if test ='null != sprszType'>
sprsz_type,
</if>
<if test ='null != isDsp'>
is_dsp,
</if>
<if test ='null != spfsType'>
spfs_type,
</if>
<if test ='null != sprwkType'>
sprwk_type
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != spglId'>
#{spglId},
</if>
<if test ='null != name'>
#{name},
</if>
<if test ='null != type'>
#{type},
</if>
<if test ='null != upId'>
#{upId},
</if>
<if test ='null != dowmId'>
#{dowmId},
</if>
<if test ='null != yxj'>
#{yxj},
</if>
<if test ='null != sprszType'>
#{sprszType},
</if>
<if test ='null != isDsp'>
#{isDsp},
</if>
<if test ='null != spfsType'>
#{spfsType},
</if>
<if test ='null != sprwkType'>
#{sprwkType}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM spmk_lcjd
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.spmk.SpmkLcjd">
UPDATE spmk_lcjd
<set>
<if test ='null != spglId'>spgl_id = #{spglId},</if>
<if test ='null != name'>name = #{name},</if>
<if test ='null != type'>type = #{type},</if>
<if test ='null != upId'>up_id = #{upId},</if>
<if test ='null != dowmId'>dowm_id = #{dowmId},</if>
<if test ='null != yxj'>yxj = #{yxj},</if>
<if test ='null != sprszType'>sprsz_type = #{sprszType},</if>
<if test ='null != isDsp'>is_dsp = #{isDsp},</if>
<if test ='null != spfsType'>spfs_type = #{spfsType},</if>
<if test ='null != sprwkType'>sprwk_type = #{sprwkType}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_lcjd
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_lcjd
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM spmk_lcjd
</select>
-->
</mapper>
\ No newline at end of file
src/main/resources/mapping/spmk/SpmkMbMapper.xml
deleted
100644 → 0
View file @
fce27486
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.timer.api.dao.spmk.SpmkMbMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.timer.api.bean.spmk.SpmkMb"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"type"
property=
"type"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,
name,
type
</sql>
<sql
id=
"Base_Column_List_Alias"
>
id SpmkMb_id,
name SpmkMb_name,
type SpmkMb_type
</sql>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.spmk.SpmkMb">
INSERT INTO spmk_mb
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != name'>
name,
</if>
<if test ='null != type'>
type
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != name'>
#{name},
</if>
<if test ='null != type'>
#{type}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM spmk_mb
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.spmk.SpmkMb">
UPDATE spmk_mb
<set>
<if test ='null != name'>name = #{name},</if>
<if test ='null != type'>type = #{type}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_mb
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_mb
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM spmk_mb
</select>
-->
</mapper>
\ No newline at end of file
src/main/resources/mapping/spmk/SpmkSpczMapper.xml
deleted
100644 → 0
View file @
fce27486
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.timer.api.dao.spmk.SpmkSpczMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.timer.api.bean.spmk.SpmkSpcz"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"spgl_id"
property=
"spglId"
/>
<result
column=
"title"
property=
"title"
/>
<result
column=
"digest"
property=
"digest"
/>
<result
column=
"spr_emp_num"
property=
"sprEmpNum"
/>
<result
column=
"sts"
property=
"sts"
/>
<result
column=
"lcmc"
property=
"lcmc"
/>
<result
column=
"create_time"
property=
"createTime"
/>
<result
column=
"end_time"
property=
"endTime"
/>
<result
column=
"nr"
property=
"nr"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,
spgl_id,
title,
digest,
spr_emp_num,
sts,
lcmc,
create_time,
end_time,
nr
</sql>
<sql
id=
"Base_Column_List_Alias"
>
id SpmkSpcz_id,
spgl_id SpmkSpcz_spgl_id,
title SpmkSpcz_title,
digest SpmkSpcz_digest,
spr_emp_num SpmkSpcz_spr_emp_num,
sts SpmkSpcz_sts,
lcmc SpmkSpcz_lcmc,
create_time SpmkSpcz_create_time,
end_time SpmkSpcz_end_time,
nr SpmkSpcz_nr
</sql>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.spmk.SpmkSpcz">
INSERT INTO spmk_spcz
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != spglId'>
spgl_id,
</if>
<if test ='null != title'>
title,
</if>
<if test ='null != digest'>
digest,
</if>
<if test ='null != sprEmpNum'>
spr_emp_num,
</if>
<if test ='null != sts'>
sts,
</if>
<if test ='null != lcmc'>
lcmc,
</if>
<if test ='null != createTime'>
create_time,
</if>
<if test ='null != endTime'>
end_time
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != spglId'>
#{spglId},
</if>
<if test ='null != title'>
#{title},
</if>
<if test ='null != digest'>
#{digest},
</if>
<if test ='null != sprEmpNum'>
#{sprEmpNum},
</if>
<if test ='null != sts'>
#{sts},
</if>
<if test ='null != lcmc'>
#{lcmc},
</if>
<if test ='null != createTime'>
#{createTime},
</if>
<if test ='null != endTime'>
#{endTime}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM spmk_spcz
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.spmk.SpmkSpcz">
UPDATE spmk_spcz
<set>
<if test ='null != spglId'>spgl_id = #{spglId},</if>
<if test ='null != title'>title = #{title},</if>
<if test ='null != digest'>digest = #{digest},</if>
<if test ='null != sprEmpNum'>spr_emp_num = #{sprEmpNum},</if>
<if test ='null != sts'>sts = #{sts},</if>
<if test ='null != lcmc'>lcmc = #{lcmc},</if>
<if test ='null != createTime'>create_time = #{createTime},</if>
<if test ='null != endTime'>end_time = #{endTime}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_spcz
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_spcz
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM spmk_spcz
</select>
-->
</mapper>
\ No newline at end of file
src/main/resources/mapping/spmk/SpmkSpglMapper.xml
deleted
100644 → 0
View file @
fce27486
This diff is collapsed.
Click to expand it.
src/main/resources/mapping/spmk/SpmkSpnrMapper.xml
deleted
100644 → 0
View file @
fce27486
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.timer.api.dao.spmk.SpmkSpnrMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.timer.api.bean.spmk.SpmkSpnr"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"spcz_id"
property=
"spczId"
/>
<result
column=
"kjpz_id"
property=
"kjpzId"
/>
<result
column=
"srz1"
property=
"srz1"
/>
<result
column=
"srz2"
property=
"srz2"
/>
<result
column=
"srz3"
property=
"srz3"
/>
<result
column=
"srz4"
property=
"srz4"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,
spcz_id,
kjpz_id,
srz1,
srz2,
srz3,
srz4
</sql>
<sql
id=
"Base_Column_List_Alias"
>
id SpmkSpnr_id,
spcz_id SpmkSpnr_spcz_id,
kjpz_id SpmkSpnr_kjpz_id,
srz1 SpmkSpnr_srz1,
srz2 SpmkSpnr_srz2,
srz3 SpmkSpnr_srz3,
srz4 SpmkSpnr_srz4
</sql>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.spmk.SpmkSpnr">
INSERT INTO spmk_spnr
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != spczId'>
spcz_id,
</if>
<if test ='null != kjpzId'>
kjpz_id,
</if>
<if test ='null != srz1'>
srz1,
</if>
<if test ='null != srz2'>
srz2,
</if>
<if test ='null != srz3'>
srz3,
</if>
<if test ='null != srz4'>
srz4
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != spczId'>
#{spczId},
</if>
<if test ='null != kjpzId'>
#{kjpzId},
</if>
<if test ='null != srz1'>
#{srz1},
</if>
<if test ='null != srz2'>
#{srz2},
</if>
<if test ='null != srz3'>
#{srz3},
</if>
<if test ='null != srz4'>
#{srz4}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM spmk_spnr
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.spmk.SpmkSpnr">
UPDATE spmk_spnr
<set>
<if test ='null != spczId'>spcz_id = #{spczId},</if>
<if test ='null != kjpzId'>kjpz_id = #{kjpzId},</if>
<if test ='null != srz1'>srz1 = #{srz1},</if>
<if test ='null != srz2'>srz2 = #{srz2},</if>
<if test ='null != srz3'>srz3 = #{srz3},</if>
<if test ='null != srz4'>srz4 = #{srz4}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_spnr
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_spnr
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM spmk_spnr
</select>
-->
</mapper>
\ No newline at end of file
src/main/resources/mapping/spmk/SpmkSpzMapper.xml
deleted
100644 → 0
View file @
fce27486
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.timer.api.dao.spmk.SpmkSpzMapper"
>
<resultMap
id=
"SpmkSpzSpglDto"
type=
"cn.timer.api.dto.spmk.SpmkSpzSpglDto"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"org_code"
property=
"orgCode"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"sort"
property=
"sort"
/>
<result
column=
"is_editable"
property=
"isEditable"
/>
<collection
column=
"SpmkSpgl_id"
property=
"spmkSpgls"
ofType=
"cn.timer.api.bean.spmk.SpmkSpgl"
resultMap=
"cn.timer.api.dao.spmk.SpmkSpglMapper.BaseResultMap"
columnPrefix=
"SpmkSpgl_"
>
</collection>
</resultMap>
<resultMap
id=
"BaseResultMap"
type=
"cn.timer.api.bean.spmk.SpmkSpz"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"org_code"
property=
"orgCode"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"sort"
property=
"sort"
/>
<result
column=
"is_editable"
property=
"isEditable"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.org_code,
a.name,
a.sort,
a.is_editable
</sql>
<sql
id=
"Base_Column_List_Alias"
>
id SpmkSpz_id,
org_code SpmkSpz_org_code,
name SpmkSpz_name,
sort SpmkSpz_sort,
is_editable SpmkSpz_is_editable
</sql>
<sql
id=
"Base_Column_List_SpmkSpgl_Alias"
>
b.id SpmkSpgl_id,
b.org_code SpmkSpgl_org_code,
b.spz_id SpmkSpgl_spz_id,
b.mb_id SpmkSpgl_mb_id,
b.icon_address SpmkSpgl_icon_address,
b.name SpmkSpgl_name,
b.description SpmkSpgl_description,
b.is_open SpmkSpgl_is_open,
b.sort SpmkSpgl_sort,
b.sprqc_type SpmkSpgl_sprqc_type,
b.txts SpmkSpgl_txts,
b.spyj SpmkSpgl_spyj,
b.is_zdtg SpmkSpgl_is_zdtg,
b.dymb_type SpmkSpgl_dymb_type,
b.is_bxqm SpmkSpgl_is_bxqm,
b.is_syscqm SpmkSpgl_is_syscqm,
b.is_mccxqm SpmkSpgl_is_mccxqm,
b.update_time SpmkSpgl_update_time,
b.create_time SpmkSpgl_create_time
</sql>
<select
id=
"selectSpglListByOrgCode"
resultMap=
"SpmkSpzSpglDto"
>
SELECT
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Base_Column_List_SpmkSpgl_Alias"
/>
FROM
spmk_spz a
LEFT JOIN
spmk_spgl b ON a.id = b.spz_id
WHERE
a.org_code = #{orgCode}
ORDER BY a.sort ASC,b.sort ASC
</select>
<update
id=
"updateListSortById"
parameterType=
"list"
>
<foreach
item=
"item"
index=
"index"
collection=
"list"
open=
""
separator=
";"
close=
""
>
UPDATE spmk_spz
<set>
<if
test =
'null != item.sort'
>
sort = #{item.sort},
</if>
</set>
WHERE id = #{item.id}
</foreach>
</update>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.spmk.SpmkSpz">
INSERT INTO spmk_spz
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != orgCode'>
org_code,
</if>
<if test ='null != name'>
name,
</if>
<if test ='null != sort'>
sort,
</if>
<if test ='null != isEditable'>
is_editable
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != orgCode'>
#{orgCode},
</if>
<if test ='null != name'>
#{name},
</if>
<if test ='null != sort'>
#{sort},
</if>
<if test ='null != isEditable'>
#{isEditable}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM spmk_spz
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.spmk.SpmkSpz">
UPDATE spmk_spz
<set>
<if test ='null != orgCode'>org_code = #{orgCode},</if>
<if test ='null != name'>name = #{name},</if>
<if test ='null != sort'>sort = #{sort},</if>
<if test ='null != isEditable'>is_editable = #{isEditable}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_spz
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_spz
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM spmk_spz
</select>
-->
</mapper>
\ No newline at end of file
src/main/resources/mapping/spmk/SpmkSxpzMapper.xml
deleted
100644 → 0
View file @
fce27486
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.timer.api.dao.spmk.SpmkSxpzMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.timer.api.bean.spmk.SpmkSxpz"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"lcjd_id"
property=
"lcjdId"
/>
<result
column=
"kjpz_id"
property=
"kjpzId"
/>
<result
column=
"keyz"
property=
"keyz"
/>
<result
column=
"ysf_type"
property=
"ysfType"
/>
<result
column=
"val"
property=
"val"
/>
<result
column=
"name"
property=
"name"
/>
<result
column=
"is_valid"
property=
"isValid"
/>
<result
column=
"type"
property=
"type"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,
lcjd_id,
kjpz_id,
keyz,
ysf_type,
val,
name,
is_valid,
type
</sql>
<sql
id=
"Base_Column_List_Alias"
>
id SpmkSxpz_id,
lcjd_id SpmkSxpz_lcjd_id,
kjpz_id SpmkSxpz_kjpz_id,
keyz SpmkSxpz_keyz,
ysf_type SpmkSxpz_ysf_type,
val SpmkSxpz_val,
name SpmkSxpz_name,
is_valid SpmkSxpz_is_valid,
type SpmkSxpz_type
</sql>
<!--
<insert id="insert" useGeneratedkeyss="true" keysColumn="id" parameterType="cn.timer.api.bean.spmk.SpmkSxpz">
INSERT INTO spmk_sxpz
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != lcjdId'>
lcjd_id,
</if>
<if test ='null != kjpzId'>
kjpz_id,
</if>
<if test ='null != keyz'>
keyz,
</if>
<if test ='null != ysfType'>
ysf_type,
</if>
<if test ='null != val'>
val,
</if>
<if test ='null != name'>
name,
</if>
<if test ='null != isValid'>
is_valid,
</if>
<if test ='null != type'>
type
</if>
</trim>
<trim prefix="vals (" suffix=")" suffixOverrides=",">
<if test ='null != lcjdId'>
#{lcjdId},
</if>
<if test ='null != kjpzId'>
#{kjpzId},
</if>
<if test ='null != keyz'>
#{keyz},
</if>
<if test ='null != ysfType'>
#{ysfType},
</if>
<if test ='null != val'>
#{val},
</if>
<if test ='null != name'>
#{name},
</if>
<if test ='null != isValid'>
#{isValid},
</if>
<if test ='null != type'>
#{type}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM spmk_sxpz
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.spmk.SpmkSxpz">
UPDATE spmk_sxpz
<set>
<if test ='null != lcjdId'>lcjd_id = #{lcjdId},</if>
<if test ='null != kjpzId'>kjpz_id = #{kjpzId},</if>
<if test ='null != keyz'>keyz = #{keyz},</if>
<if test ='null != ysfType'>ysf_type = #{ysfType},</if>
<if test ='null != val'>val = #{val},</if>
<if test ='null != name'>name = #{name},</if>
<if test ='null != isValid'>is_valid = #{isValid},</if>
<if test ='null != type'>type = #{type}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_sxpz
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_sxpz
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM spmk_sxpz
</select>
-->
</mapper>
\ No newline at end of file
src/main/resources/mapping/spmk/SpmkXzxMapper.xml
deleted
100644 → 0
View file @
fce27486
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"cn.timer.api.dao.spmk.SpmkXzxMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"cn.timer.api.bean.spmk.SpmkXzx"
>
<id
column=
"id"
property=
"id"
/>
<result
column=
"kjpz_id"
property=
"kjpzId"
/>
<result
column=
"value"
property=
"value"
/>
<result
column=
"sort"
property=
"sort"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,
kjpz_id,
value,
sort
</sql>
<sql
id=
"Base_Column_List_Alias"
>
id SpmkXzx_id,
kjpz_id SpmkXzx_kjpz_id,
value SpmkXzx_value,
sort SpmkXzx_sort
</sql>
<!--
<insert id="insert" useGeneratedKeys="true" keyColumn="id" parameterType="cn.timer.api.bean.spmk.SpmkXzx">
INSERT INTO spmk_xzx
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test ='null != kjpzId'>
kjpz_id,
</if>
<if test ='null != value'>
value,
</if>
<if test ='null != sort'>
sort
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test ='null != kjpzId'>
#{kjpzId},
</if>
<if test ='null != value'>
#{value},
</if>
<if test ='null != sort'>
#{sort}
</if>
</trim>
</insert>
<delete id="delete" >
DELETE FROM spmk_xzx
WHERE id = #{id}
</delete>
<update id="update" parameterType="cn.timer.api.bean.spmk.SpmkXzx">
UPDATE spmk_xzx
<set>
<if test ='null != kjpzId'>kjpz_id = #{kjpzId},</if>
<if test ='null != value'>value = #{value},</if>
<if test ='null != sort'>sort = #{sort}</if>
</set>
WHERE id = #{id}
</update>
<select id="load" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_xzx
WHERE id = #{id}
</select>
<select id="pageList" resultMap="BaseResultMap">
SELECT <include refid="Base_Column_List" />
FROM spmk_xzx
LIMIT #{offset}, #{pageSize}
</select>
<select id="pageListCount" resultType="java.lang.Integer">
SELECT count(1)
FROM spmk_xzx
</select>
-->
</mapper>
\ No newline at end of file
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