Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
szpt
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
以墨为白
szpt
Commits
e3ee1ff4
Commit
e3ee1ff4
authored
Dec 29, 2024
by
以墨为白
🎧
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.168.218/wcyuee/szpt
parents
6a416f8a
29d98378
Changes
20
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
1831 additions
and
91 deletions
+1831
-91
rest.http
rest.http
+174
-4
src/main/java/com/zksy/szpt/controller/IndexController.java
src/main/java/com/zksy/szpt/controller/IndexController.java
+28
-7
src/main/java/com/zksy/szpt/domain/dto/SzptClockInDTO.java
src/main/java/com/zksy/szpt/domain/dto/SzptClockInDTO.java
+24
-24
src/main/java/com/zksy/szpt/domain/dto/SzptClockInRulesDTO.java
...in/java/com/zksy/szpt/domain/dto/SzptClockInRulesDTO.java
+0
-24
src/main/java/com/zksy/szpt/domain/dto/SzptGdCsyjhldxDTO.java
...main/java/com/zksy/szpt/domain/dto/SzptGdCsyjhldxDTO.java
+101
-0
src/main/java/com/zksy/szpt/domain/dto/SzptGdRyxxDTO.java
src/main/java/com/zksy/szpt/domain/dto/SzptGdRyxxDTO.java
+574
-0
src/main/java/com/zksy/szpt/domain/dto/SzptGdSbxxDTO.java
src/main/java/com/zksy/szpt/domain/dto/SzptGdSbxxDTO.java
+304
-0
src/main/java/com/zksy/szpt/domain/dto/SzptGdXxDTO.java
src/main/java/com/zksy/szpt/domain/dto/SzptGdXxDTO.java
+518
-0
src/main/java/com/zksy/szpt/domain/po/SzptClockIn.java
src/main/java/com/zksy/szpt/domain/po/SzptClockIn.java
+3
-3
src/main/java/com/zksy/szpt/domain/po/SzptClockInRules.java
src/main/java/com/zksy/szpt/domain/po/SzptClockInRules.java
+3
-3
src/main/java/com/zksy/szpt/domain/po/SzptGdCsyjhldx.java
src/main/java/com/zksy/szpt/domain/po/SzptGdCsyjhldx.java
+14
-3
src/main/java/com/zksy/szpt/domain/po/SzptGdRyxx.java
src/main/java/com/zksy/szpt/domain/po/SzptGdRyxx.java
+14
-3
src/main/java/com/zksy/szpt/domain/po/SzptGdSbxx.java
src/main/java/com/zksy/szpt/domain/po/SzptGdSbxx.java
+16
-0
src/main/java/com/zksy/szpt/domain/po/SzptGdXx.java
src/main/java/com/zksy/szpt/domain/po/SzptGdXx.java
+14
-0
src/main/java/com/zksy/szpt/handler/SzptMetaObjectHandler.java
...ain/java/com/zksy/szpt/handler/SzptMetaObjectHandler.java
+1
-0
src/main/java/com/zksy/szpt/mapper/SzptGdCsyjhldxMapper.java
src/main/java/com/zksy/szpt/mapper/SzptGdCsyjhldxMapper.java
+3
-2
src/main/java/com/zksy/szpt/mapper/SzptGdRyxxMapper.java
src/main/java/com/zksy/szpt/mapper/SzptGdRyxxMapper.java
+3
-2
src/main/java/com/zksy/szpt/mapper/SzptGdSbxxMapper.java
src/main/java/com/zksy/szpt/mapper/SzptGdSbxxMapper.java
+3
-2
src/main/java/com/zksy/szpt/mapper/SzptGdXxMapper.java
src/main/java/com/zksy/szpt/mapper/SzptGdXxMapper.java
+3
-2
src/main/java/com/zksy/szpt/service/IndexService.java
src/main/java/com/zksy/szpt/service/IndexService.java
+31
-12
No files found.
rest.http
View file @
e3ee1ff4
...
@@ -29,8 +29,8 @@ x-szpt-sign: cf9292d20f20c3705cabe1f08d07bec7
...
@@ -29,8 +29,8 @@ x-szpt-sign: cf9292d20f20c3705cabe1f08d07bec7
}
}
######
######打卡
######打卡
######2
POST http://localhost:8086/rest/index/addSzptClockIn
POST http://localhost:8086/rest/index/addSzptClockIn
Content-Type: application/json
Content-Type: application/json
x-szpt-appid: 1
x-szpt-appid: 1
...
@@ -43,11 +43,19 @@ x-szpt-sign: cf9292d20f20c3705cabe1f08d07bec7
...
@@ -43,11 +43,19 @@ x-szpt-sign: cf9292d20f20c3705cabe1f08d07bec7
"sbqd":"wer",
"sbqd":"wer",
"xbqt": "1",
"xbqt": "1",
"xcqk": "2",
"xcqk": "2",
"sbsj": "3"
"sbsj": "3",
"sbr":"23",
"qdr":"wer",
"qdrlxdh": "1",
"qddkdd": "2",
"qddkzp": "3",
"qtdkdd":"wer",
"qtdkzp": "1",
"gkdj": "2"
}
}
######
######打卡规则
######打卡规则
######3
POST http://localhost:8086/rest/index/addSzptClockInRules
POST http://localhost:8086/rest/index/addSzptClockInRules
Content-Type: application/json
Content-Type: application/json
x-szpt-appid: 1
x-szpt-appid: 1
...
@@ -60,12 +68,13 @@ x-szpt-sign: cf9292d20f20c3705cabe1f08d07bec7
...
@@ -60,12 +68,13 @@ x-szpt-sign: cf9292d20f20c3705cabe1f08d07bec7
"csid":"23",
"csid":"23",
"chockInTime":"wer",
"chockInTime":"wer",
"clockInScope": "1",
"clockInScope": "1",
"qrCode": "1",
"cslx": "2",
"cslx": "2",
"bz": "3"
"bz": "3"
}
}
######
######房屋信息
######房屋信息
######4
POST http://localhost:8086/rest/index/addSzptFwxx
POST http://localhost:8086/rest/index/addSzptFwxx
Content-Type: application/json
Content-Type: application/json
x-szpt-appid: 1
x-szpt-appid: 1
...
@@ -111,3 +120,164 @@ x-szpt-sign: cf9292d20f20c3705cabe1f08d07bec7
...
@@ -111,3 +120,164 @@ x-szpt-sign: cf9292d20f20c3705cabe1f08d07bec7
"sjgsdwdm": "2",
"sjgsdwdm": "2",
"sjgsdwmc":"1"
"sjgsdwmc":"1"
}
}
######工地场所预警忽略对象
######5
POST http://localhost:8086/rest/index/addSzptGdCsyjhldx
Content-Type: application/json
x-szpt-appid: 1
x-szpt-timestamp: 21
x-szpt-nonce: nonce
x-szpt-sign: cf9292d20f20c3705cabe1f08d07bec7
{
"csid":"1",
"yjlx":"2",
"yjzlx": "3",
"ywid": "4",
"ywms": "5",
"bz": "6",
"zt": "7"
}
######工地人员信息
######6
POST http://localhost:8086/rest/index/addSzptGdRyxx
Content-Type: application/json
x-szpt-appid: 1
x-szpt-timestamp: 21
x-szpt-nonce: nonce
x-szpt-sign: cf9292d20f20c3705cabe1f08d07bec7
{
"rkbm":"1",
"csid":"2",
"cjrlid": "3",
"xm": "4",
"xb": "5",
"lxdh": "6",
"cyzjdm": "7",
"zjhm":"8",
"nl":"9",
"url": "10",
"md5": "11",
"zjcxts": 12,
"zcxts": 13,
"ysrczjts": "14",
"ysrcbz":"1",
"ysrczts":"16",
"ckbz": "1",
"lkbz": "1",
"hjdzDzmc": "19",
"hjdzXzqhdm": "20",
"hjdzPcsmc": "21",
"hjdzPcsdm":"22",
"xzdDzmc":"23",
"xzdXzqhdm": "24",
"xzdPcsmc": "25",
"xzdPcsdm": "26",
"zt": "1",
"jcsj": "2024-12-27 00:00:01",
"tcsj":"2024-12-27 00:00:01",
"yjtcsj":"2024-12-27 00:00:01",
"zjzpsj": "2024-12-27 00:00:01",
"sfglry": "1",
"djzt": "1",
"qyid": "34",
"qymc": "35",
"rylb":"1",
"rylx": "37",
"lkbdsj": "2024-12-27 00:00:01",
"ckbdsj": "2024-12-27 00:00:01",
"datasource": "40",
"orderid": "41",
"sjrzrs": "42"
}
######工地设备信息
######7
POST http://localhost:8086/rest/index/addSzptGdSbxx
Content-Type: application/json
x-szpt-appid: 1
x-szpt-timestamp: 21
x-szpt-nonce: nonce
x-szpt-sign: cf9292d20f20c3705cabe1f08d07bec7
{
"sbsn":"1",
"sbmc":"2",
"sbbh": "3",
"sbms": "4",
"mac": "5",
"ip": "6",
"netmask": "7",
"gw":"8",
"csid":"9",
"yxzt": "10",
"ztgxsj": "2024-12-27 00:00:01",
"cj": 12,
"xh": 13,
"qyid": "14",
"qymc":"1",
"sbcs":"16",
"sblb": "1",
"zt": "1",
"sjgsdwdm": "19",
"sjgsdwmc": "20",
"createGajgjgdm": "21",
"createGajgmc":"22"
}
######工地信息
######8
POST http://localhost:8086/rest/index/addSzptGdXx
Content-Type: application/json
x-szpt-appid: 1
x-szpt-timestamp: 21
x-szpt-nonce: nonce
x-szpt-sign: cf9292d20f20c3705cabe1f08d07bec7
{
"cslx":"1",
"csmc":"2",
"csms": "3",
"lxdz": "4",
"lxr": "5",
"lxdh": "6",
"sgdw": "7",
"sgxkz":"8",
"kgrq":"2024-12-27 00:00:01",
"yjjgrq": "2024-12-27 00:00:01",
"lng": "2024-12-27 00:00:01",
"lat": 12,
"customlng": 13,
"customlat": "14",
"zrrxm":"1",
"zrrlxdh":"16",
"frxm": "1",
"frlxdh": "1",
"shxydm": "19",
"zcdz": "20",
"adminzh": "21",
"sfzcs":"1",
"fcsid": 13,
"bz": "14",
"cjsj":"2024-12-27 00:00:01",
"zt":"1",
"jhsj": "2024-12-27 00:00:01",
"location": "1",
"sjlyXtmc": "19",
"zxsj": "2024-12-27 00:00:01",
"sqdm": "21",
"sqmc":"22",
"mdlx":"1",
"mdjyzt": "1",
"sjgsdwdm": "1",
"sjgsdwmc": "19",
"createGajgjgdm": "20",
"createGajgmc": "21"
}
\ No newline at end of file
src/main/java/com/zksy/szpt/controller/IndexController.java
View file @
e3ee1ff4
package
com
.
zksy
.
szpt
.
controller
;
package
com
.
zksy
.
szpt
.
controller
;
import
com.zksy.szpt.domain.dto.SzptClockInDTO
;
import
com.zksy.szpt.domain.dto.*
;
import
com.zksy.szpt.domain.dto.SzptClockInRulesDTO
;
import
com.zksy.szpt.domain.dto.SzptFwxxDTO
;
import
com.zksy.szpt.domain.dto.XxRwwcqkDTO
;
import
com.zksy.szpt.service.IndexService
;
import
com.zksy.szpt.service.IndexService
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
...
@@ -34,19 +31,43 @@ public class IndexController {
...
@@ -34,19 +31,43 @@ public class IndexController {
@ApiOperation
(
value
=
"新增szpt_clock_in数据"
)
@ApiOperation
(
value
=
"新增szpt_clock_in数据"
)
@PostMapping
(
"/addSzptClockIn"
)
@PostMapping
(
"/addSzptClockIn"
)
public
Integer
addSzptClockIn
(
@RequestBody
@Valid
SzptClockInDTO
szptClockInDTO
){
public
Integer
addSzptClockIn
(
@RequestBody
@Valid
ated
SzptClockInDTO
szptClockInDTO
){
return
indexService
.
addSzptClockIn
(
szptClockInDTO
);
return
indexService
.
addSzptClockIn
(
szptClockInDTO
);
}
}
@ApiOperation
(
value
=
"新增szpt_clock_in_rules数据"
)
@ApiOperation
(
value
=
"新增szpt_clock_in_rules数据"
)
@PostMapping
(
"/addSzptClockInRules"
)
@PostMapping
(
"/addSzptClockInRules"
)
public
Integer
addSzptClockInRules
(
@RequestBody
@Valid
SzptClockInRulesDTO
szptClockInRulesDTO
){
public
Integer
addSzptClockInRules
(
@RequestBody
@Valid
ated
SzptClockInRulesDTO
szptClockInRulesDTO
){
return
indexService
.
addSzptClockInRules
(
szptClockInRulesDTO
);
return
indexService
.
addSzptClockInRules
(
szptClockInRulesDTO
);
}
}
@ApiOperation
(
value
=
"新增
szpt_fwxx
数据"
)
@ApiOperation
(
value
=
"新增
房屋信息
数据"
)
@PostMapping
(
"/addSzptFwxx"
)
@PostMapping
(
"/addSzptFwxx"
)
public
Integer
addSzptFwxx
(
@RequestBody
@Validated
SzptFwxxDTO
szptFwxxDTO
){
public
Integer
addSzptFwxx
(
@RequestBody
@Validated
SzptFwxxDTO
szptFwxxDTO
){
return
indexService
.
addSzptFwxx
(
szptFwxxDTO
);
return
indexService
.
addSzptFwxx
(
szptFwxxDTO
);
}
}
@ApiOperation
(
value
=
"新增场所预警忽略对象数据"
)
@PostMapping
(
"/addSzptGdCsyjhldx"
)
public
Integer
addSzptGdCsyjhldx
(
@RequestBody
@Validated
SzptGdCsyjhldxDTO
szptGdCsyjhldxDTO
){
return
indexService
.
addSzptGdCsyjhldx
(
szptGdCsyjhldxDTO
);
}
@ApiOperation
(
value
=
"新增工地人员信息数据"
)
@PostMapping
(
"/addSzptGdRyxx"
)
public
Integer
addSzptGdRyxx
(
@RequestBody
@Validated
SzptGdRyxxDTO
szptGdRyxxDTO
){
return
indexService
.
addSzptGdRyxx
(
szptGdRyxxDTO
);
}
@ApiOperation
(
value
=
"新增设备信息数据"
)
@PostMapping
(
"/addSzptGdSbxx"
)
public
Integer
addSzptGdSbxx
(
@RequestBody
@Validated
SzptGdSbxxDTO
szptGdSbxxDTO
){
return
indexService
.
addSzptGdSbxx
(
szptGdSbxxDTO
);
}
@ApiOperation
(
value
=
"新增工地信息数据"
)
@PostMapping
(
"/addSzptGdXx"
)
public
Integer
addSzptGdXx
(
@RequestBody
@Validated
SzptGdXxDTO
szptGdXxDTO
){
return
indexService
.
addSzptGdXx
(
szptGdXxDTO
);
}
}
}
src/main/java/com/zksy/szpt/domain/dto/SzptClockInDTO.java
View file @
e3ee1ff4
...
@@ -33,15 +33,15 @@ public class SzptClockInDTO {
...
@@ -33,15 +33,15 @@ public class SzptClockInDTO {
*/
*/
private
String
sbr
;
private
String
sbr
;
/**
//
/**
*
//
*
*/
//
*/
private
Date
createTime
;
//
private Date createTime;
//
/**
//
/**
*
//
*
*/
//
*/
private
Date
updateTime
;
//
private Date updateTime;
/**
/**
* 签到人
* 签到人
...
@@ -126,21 +126,21 @@ public class SzptClockInDTO {
...
@@ -126,21 +126,21 @@ public class SzptClockInDTO {
this
.
sbr
=
sbr
==
null
?
null
:
sbr
.
trim
();
this
.
sbr
=
sbr
==
null
?
null
:
sbr
.
trim
();
}
}
public
Date
getCreateTime
()
{
//
public Date getCreateTime() {
return
createTime
;
//
return createTime;
}
//
}
//
public
void
setCreateTime
(
Date
createTime
)
{
//
public void setCreateTime(Date createTime) {
this
.
createTime
=
createTime
;
//
this.createTime = createTime;
}
//
}
//
public
Date
getUpdateTime
()
{
//
public Date getUpdateTime() {
return
updateTime
;
//
return updateTime;
}
//
}
//
public
void
setUpdateTime
(
Date
updateTime
)
{
//
public void setUpdateTime(Date updateTime) {
this
.
updateTime
=
updateTime
;
//
this.updateTime = updateTime;
}
//
}
public
String
getQdr
()
{
public
String
getQdr
()
{
return
qdr
;
return
qdr
;
...
...
src/main/java/com/zksy/szpt/domain/dto/SzptClockInRulesDTO.java
View file @
e3ee1ff4
...
@@ -39,15 +39,6 @@ public class SzptClockInRulesDTO {
...
@@ -39,15 +39,6 @@ public class SzptClockInRulesDTO {
*/
*/
private
String
bz
;
private
String
bz
;
/**
* 创建时间
*/
private
Date
createTime
;
/**
* 更新时间
*/
private
Date
updateTime
;
public
String
getName
()
{
public
String
getName
()
{
return
name
;
return
name
;
...
@@ -105,19 +96,4 @@ public class SzptClockInRulesDTO {
...
@@ -105,19 +96,4 @@ public class SzptClockInRulesDTO {
this
.
bz
=
bz
==
null
?
null
:
bz
.
trim
();
this
.
bz
=
bz
==
null
?
null
:
bz
.
trim
();
}
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
public
Date
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
Date
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
}
}
src/main/java/com/zksy/szpt/domain/dto/SzptGdCsyjhldxDTO.java
0 → 100644
View file @
e3ee1ff4
package
com
.
zksy
.
szpt
.
domain
.
dto
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Date
;
public
class
SzptGdCsyjhldxDTO
{
/**
* 场所id
*/
@NotBlank
(
message
=
"场所id不能为空"
)
private
String
csid
;
/**
* 预警类型;cslb=3106
*/
@NotBlank
(
message
=
"场所类别不能为空"
)
private
String
yjlx
;
/**
* 预警子类型;cslb=3139
*/
private
String
yjzlx
;
/**
* 业务ID
*/
private
String
ywid
;
/**
* 业务描述
*/
private
String
ywms
;
/**
* 备注
*/
@NotBlank
(
message
=
"备注不能为空"
)
private
String
bz
;
/**
* 状态;cslb=3101
*/
private
String
zt
;
public
String
getCsid
()
{
return
csid
;
}
public
void
setCsid
(
String
csid
)
{
this
.
csid
=
csid
==
null
?
null
:
csid
.
trim
();
}
public
String
getYjlx
()
{
return
yjlx
;
}
public
void
setYjlx
(
String
yjlx
)
{
this
.
yjlx
=
yjlx
==
null
?
null
:
yjlx
.
trim
();
}
public
String
getYjzlx
()
{
return
yjzlx
;
}
public
void
setYjzlx
(
String
yjzlx
)
{
this
.
yjzlx
=
yjzlx
==
null
?
null
:
yjzlx
.
trim
();
}
public
String
getYwid
()
{
return
ywid
;
}
public
void
setYwid
(
String
ywid
)
{
this
.
ywid
=
ywid
==
null
?
null
:
ywid
.
trim
();
}
public
String
getYwms
()
{
return
ywms
;
}
public
void
setYwms
(
String
ywms
)
{
this
.
ywms
=
ywms
==
null
?
null
:
ywms
.
trim
();
}
public
String
getBz
()
{
return
bz
;
}
public
void
setBz
(
String
bz
)
{
this
.
bz
=
bz
==
null
?
null
:
bz
.
trim
();
}
public
String
getZt
()
{
return
zt
;
}
public
void
setZt
(
String
zt
)
{
this
.
zt
=
zt
==
null
?
null
:
zt
.
trim
();
}
}
src/main/java/com/zksy/szpt/domain/dto/SzptGdRyxxDTO.java
0 → 100644
View file @
e3ee1ff4
This diff is collapsed.
Click to expand it.
src/main/java/com/zksy/szpt/domain/dto/SzptGdSbxxDTO.java
0 → 100644
View file @
e3ee1ff4
package
com
.
zksy
.
szpt
.
domain
.
dto
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Date
;
public
class
SzptGdSbxxDTO
{
/**
* 设备序列号
*/
private
String
sbsn
;
/**
* 设备名称
*/
private
String
sbmc
;
/**
* 设备编号
*/
private
String
sbbh
;
/**
* 设备描述
*/
private
String
sbms
;
/**
* mac地址
*/
private
String
mac
;
/**
* ip地址
*/
private
String
ip
;
/**
* 子网掩码
*/
private
String
netmask
;
/**
* 网关
*/
private
String
gw
;
/**
* 场所id
*/
private
String
csid
;
/**
* 运行状态 cslb=1053
*/
@NotBlank
(
message
=
"运行状态不能为空"
)
private
String
yxzt
;
/**
* 状态更新时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
ztgxsj
;
/**
* 厂家
*/
private
String
cj
;
/**
* 型号
*/
private
String
xh
;
/**
* 区域ID
*/
private
String
qyid
;
/**
* 区域名称
*/
private
String
qymc
;
/**
* 设备参数,json
*/
private
String
sbcs
;
/**
* 设备类别;cslb=3112
*/
@NotBlank
(
message
=
"设备类别不能为空"
)
private
String
sblb
;
/**
* 状态;cslb=3101
*/
@NotBlank
(
message
=
"状态不能为空"
)
private
String
zt
;
/**
* 数据归属单位代码
*/
@NotBlank
(
message
=
"数据归属单位代码不能为空"
)
private
String
sjgsdwdm
;
/**
* 数据归属单位名称
*/
private
String
sjgsdwmc
;
/**
* 登记公安机关机构代码
*/
@NotBlank
(
message
=
"登记公安机关机构代码不能为空"
)
private
String
createGajgjgdm
;
/**
* 登记公安机关名称
*/
@NotBlank
(
message
=
"登记公安机关名称不能为空"
)
private
String
createGajgmc
;
public
String
getSbsn
()
{
return
sbsn
;
}
public
void
setSbsn
(
String
sbsn
)
{
this
.
sbsn
=
sbsn
==
null
?
null
:
sbsn
.
trim
();
}
public
String
getSbmc
()
{
return
sbmc
;
}
public
void
setSbmc
(
String
sbmc
)
{
this
.
sbmc
=
sbmc
==
null
?
null
:
sbmc
.
trim
();
}
public
String
getSbbh
()
{
return
sbbh
;
}
public
void
setSbbh
(
String
sbbh
)
{
this
.
sbbh
=
sbbh
==
null
?
null
:
sbbh
.
trim
();
}
public
String
getSbms
()
{
return
sbms
;
}
public
void
setSbms
(
String
sbms
)
{
this
.
sbms
=
sbms
==
null
?
null
:
sbms
.
trim
();
}
public
String
getMac
()
{
return
mac
;
}
public
void
setMac
(
String
mac
)
{
this
.
mac
=
mac
==
null
?
null
:
mac
.
trim
();
}
public
String
getIp
()
{
return
ip
;
}
public
void
setIp
(
String
ip
)
{
this
.
ip
=
ip
==
null
?
null
:
ip
.
trim
();
}
public
String
getNetmask
()
{
return
netmask
;
}
public
void
setNetmask
(
String
netmask
)
{
this
.
netmask
=
netmask
==
null
?
null
:
netmask
.
trim
();
}
public
String
getGw
()
{
return
gw
;
}
public
void
setGw
(
String
gw
)
{
this
.
gw
=
gw
==
null
?
null
:
gw
.
trim
();
}
public
String
getCsid
()
{
return
csid
;
}
public
void
setCsid
(
String
csid
)
{
this
.
csid
=
csid
==
null
?
null
:
csid
.
trim
();
}
public
String
getYxzt
()
{
return
yxzt
;
}
public
void
setYxzt
(
String
yxzt
)
{
this
.
yxzt
=
yxzt
==
null
?
null
:
yxzt
.
trim
();
}
public
Date
getZtgxsj
()
{
return
ztgxsj
;
}
public
void
setZtgxsj
(
Date
ztgxsj
)
{
this
.
ztgxsj
=
ztgxsj
;
}
public
String
getCj
()
{
return
cj
;
}
public
void
setCj
(
String
cj
)
{
this
.
cj
=
cj
==
null
?
null
:
cj
.
trim
();
}
public
String
getXh
()
{
return
xh
;
}
public
void
setXh
(
String
xh
)
{
this
.
xh
=
xh
==
null
?
null
:
xh
.
trim
();
}
public
String
getQyid
()
{
return
qyid
;
}
public
void
setQyid
(
String
qyid
)
{
this
.
qyid
=
qyid
==
null
?
null
:
qyid
.
trim
();
}
public
String
getQymc
()
{
return
qymc
;
}
public
void
setQymc
(
String
qymc
)
{
this
.
qymc
=
qymc
==
null
?
null
:
qymc
.
trim
();
}
public
String
getSbcs
()
{
return
sbcs
;
}
public
void
setSbcs
(
String
sbcs
)
{
this
.
sbcs
=
sbcs
==
null
?
null
:
sbcs
.
trim
();
}
public
String
getSblb
()
{
return
sblb
;
}
public
void
setSblb
(
String
sblb
)
{
this
.
sblb
=
sblb
==
null
?
null
:
sblb
.
trim
();
}
public
String
getZt
()
{
return
zt
;
}
public
void
setZt
(
String
zt
)
{
this
.
zt
=
zt
==
null
?
null
:
zt
.
trim
();
}
public
String
getSjgsdwdm
()
{
return
sjgsdwdm
;
}
public
void
setSjgsdwdm
(
String
sjgsdwdm
)
{
this
.
sjgsdwdm
=
sjgsdwdm
==
null
?
null
:
sjgsdwdm
.
trim
();
}
public
String
getSjgsdwmc
()
{
return
sjgsdwmc
;
}
public
void
setSjgsdwmc
(
String
sjgsdwmc
)
{
this
.
sjgsdwmc
=
sjgsdwmc
==
null
?
null
:
sjgsdwmc
.
trim
();
}
public
String
getCreateGajgjgdm
()
{
return
createGajgjgdm
;
}
public
void
setCreateGajgjgdm
(
String
createGajgjgdm
)
{
this
.
createGajgjgdm
=
createGajgjgdm
==
null
?
null
:
createGajgjgdm
.
trim
();
}
public
String
getCreateGajgmc
()
{
return
createGajgmc
;
}
public
void
setCreateGajgmc
(
String
createGajgmc
)
{
this
.
createGajgmc
=
createGajgmc
==
null
?
null
:
createGajgmc
.
trim
();
}
}
src/main/java/com/zksy/szpt/domain/dto/SzptGdXxDTO.java
0 → 100644
View file @
e3ee1ff4
This diff is collapsed.
Click to expand it.
src/main/java/com/zksy/szpt/domain/po/SzptClockIn.java
View file @
e3ee1ff4
package
com
.
zksy
.
szpt
.
domain
.
po
;
package
com
.
zksy
.
szpt
.
domain
.
po
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -47,11 +45,13 @@ public class SzptClockIn {
...
@@ -47,11 +45,13 @@ public class SzptClockIn {
/**
/**
*
*
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
private
Date
createTime
;
/**
/**
*
*
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Date
updateTime
;
private
Date
updateTime
;
/**
/**
...
...
src/main/java/com/zksy/szpt/domain/po/SzptClockInRules.java
View file @
e3ee1ff4
package
com
.
zksy
.
szpt
.
domain
.
po
;
package
com
.
zksy
.
szpt
.
domain
.
po
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -52,11 +50,13 @@ public class SzptClockInRules {
...
@@ -52,11 +50,13 @@ public class SzptClockInRules {
/**
/**
* 创建时间
* 创建时间
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
private
Date
createTime
;
/**
/**
* 更新时间
* 更新时间
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Date
updateTime
;
private
Date
updateTime
;
public
Integer
getId
()
{
public
Integer
getId
()
{
...
...
src/main/java/com/zksy/szpt/domain/po/SzptGdCsyjhldx.java
View file @
e3ee1ff4
package
com
.
zksy
.
szpt
.
domain
.
po
;
package
com
.
zksy
.
szpt
.
domain
.
po
;
import
com.baomidou.mybatisplus.annotation.*
;
import
java.util.Date
;
import
java.util.Date
;
@TableName
public
class
SzptGdCsyjhldx
{
public
class
SzptGdCsyjhldx
{
/**
/**
* 流水IID
* 流水IID
...
@@ -11,6 +14,7 @@ public class SzptGdCsyjhldx {
...
@@ -11,6 +14,7 @@ public class SzptGdCsyjhldx {
/**
/**
* 流水ID
* 流水ID
*/
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
private
String
id
;
/**
/**
...
@@ -51,37 +55,44 @@ public class SzptGdCsyjhldx {
...
@@ -51,37 +55,44 @@ public class SzptGdCsyjhldx {
/**
/**
* 创建人id
* 创建人id
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
createId
;
private
String
createId
;
/**
/**
* 创建人
* 创建人
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
createBy
;
private
String
createBy
;
/**
/**
* 创建日期
* 创建日期
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
private
Date
createTime
;
/**
/**
* 创建操作终端: web,app,import
* 创建操作终端: web,app,import
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
createTerminal
;
private
String
createTerminal
;
/**
/**
* 创建操作ip
* 创建操作ip
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
createIp
;
private
String
createIp
;
/**
/**
* 更新日期
* 更新日期
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Date
updateTime
;
private
Date
updateTime
;
/**
/**
* 删除状态(0-正常,1-删除至回收站)
* 删除状态(0-正常,1-删除至回收站)
*/
*/
private
Boolean
delFlag
;
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Integer
delFlag
;
public
Long
getIid
()
{
public
Long
getIid
()
{
return
iid
;
return
iid
;
...
@@ -203,11 +214,11 @@ public class SzptGdCsyjhldx {
...
@@ -203,11 +214,11 @@ public class SzptGdCsyjhldx {
this
.
updateTime
=
updateTime
;
this
.
updateTime
=
updateTime
;
}
}
public
Boolean
getDelFlag
()
{
public
Integer
getDelFlag
()
{
return
delFlag
;
return
delFlag
;
}
}
public
void
setDelFlag
(
Boolean
delFlag
)
{
public
void
setDelFlag
(
Integer
delFlag
)
{
this
.
delFlag
=
delFlag
;
this
.
delFlag
=
delFlag
;
}
}
}
}
\ No newline at end of file
src/main/java/com/zksy/szpt/domain/po/SzptGdRyxx.java
View file @
e3ee1ff4
package
com
.
zksy
.
szpt
.
domain
.
po
;
package
com
.
zksy
.
szpt
.
domain
.
po
;
import
com.baomidou.mybatisplus.annotation.*
;
import
java.util.Date
;
import
java.util.Date
;
@TableName
public
class
SzptGdRyxx
{
public
class
SzptGdRyxx
{
/**
/**
* IID
* IID
...
@@ -11,6 +14,7 @@ public class SzptGdRyxx {
...
@@ -11,6 +14,7 @@ public class SzptGdRyxx {
/**
/**
* 人员ID
* 人员ID
*/
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
private
String
id
;
/**
/**
...
@@ -176,7 +180,7 @@ public class SzptGdRyxx {
...
@@ -176,7 +180,7 @@ public class SzptGdRyxx {
/**
/**
* 登记状态, 0-未登记,1-登记
* 登记状态, 0-未登记,1-登记
*/
*/
private
Boolean
djzt
;
private
Integer
djzt
;
/**
/**
* 区域ID
* 区域ID
...
@@ -201,36 +205,43 @@ public class SzptGdRyxx {
...
@@ -201,36 +205,43 @@ public class SzptGdRyxx {
/**
/**
* 创建人id
* 创建人id
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
createId
;
private
String
createId
;
/**
/**
* 创建人
* 创建人
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
createBy
;
private
String
createBy
;
/**
/**
* 创建日期
* 创建日期
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
private
Date
createTime
;
/**
/**
* 更新人id
* 更新人id
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
updateId
;
private
String
updateId
;
/**
/**
* 更新人
* 更新人
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
updateBy
;
private
String
updateBy
;
/**
/**
* 更新日期
* 更新日期
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Date
updateTime
;
private
Date
updateTime
;
/**
/**
* 删除状态(0-正常,1-删除至回收站)
* 删除状态(0-正常,1-删除至回收站)
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Integer
delFlag
;
private
Integer
delFlag
;
/**
/**
...
@@ -530,11 +541,11 @@ public class SzptGdRyxx {
...
@@ -530,11 +541,11 @@ public class SzptGdRyxx {
this
.
sfglry
=
sfglry
==
null
?
null
:
sfglry
.
trim
();
this
.
sfglry
=
sfglry
==
null
?
null
:
sfglry
.
trim
();
}
}
public
Boolean
getDjzt
()
{
public
Integer
getDjzt
()
{
return
djzt
;
return
djzt
;
}
}
public
void
setDjzt
(
Boolean
djzt
)
{
public
void
setDjzt
(
Integer
djzt
)
{
this
.
djzt
=
djzt
;
this
.
djzt
=
djzt
;
}
}
...
...
src/main/java/com/zksy/szpt/domain/po/SzptGdSbxx.java
View file @
e3ee1ff4
package
com
.
zksy
.
szpt
.
domain
.
po
;
package
com
.
zksy
.
szpt
.
domain
.
po
;
import
com.baomidou.mybatisplus.annotation.*
;
import
java.util.Date
;
import
java.util.Date
;
@TableName
public
class
SzptGdSbxx
{
public
class
SzptGdSbxx
{
/**
/**
* 设备IID
* 设备IID
...
@@ -11,6 +14,7 @@ public class SzptGdSbxx {
...
@@ -11,6 +14,7 @@ public class SzptGdSbxx {
/**
/**
* 设备ID
* 设备ID
*/
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
private
String
id
;
/**
/**
...
@@ -96,16 +100,19 @@ public class SzptGdSbxx {
...
@@ -96,16 +100,19 @@ public class SzptGdSbxx {
/**
/**
* 设备类别;cslb=3112
* 设备类别;cslb=3112
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
sblb
;
private
String
sblb
;
/**
/**
* 状态;cslb=3101
* 状态;cslb=3101
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
zt
;
private
String
zt
;
/**
/**
* 数据归属单位代码
* 数据归属单位代码
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
sjgsdwdm
;
private
String
sjgsdwdm
;
/**
/**
...
@@ -116,46 +123,55 @@ public class SzptGdSbxx {
...
@@ -116,46 +123,55 @@ public class SzptGdSbxx {
/**
/**
* 登记公安机关机构代码
* 登记公安机关机构代码
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
createGajgjgdm
;
private
String
createGajgjgdm
;
/**
/**
* 登记公安机关名称
* 登记公安机关名称
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
createGajgmc
;
private
String
createGajgmc
;
/**
/**
* 创建人id
* 创建人id
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
createId
;
private
String
createId
;
/**
/**
* 创建人
* 创建人
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
createBy
;
private
String
createBy
;
/**
/**
* 创建日期
* 创建日期
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
private
Date
createTime
;
/**
/**
* 更新人id
* 更新人id
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
updateId
;
private
String
updateId
;
/**
/**
* 更新人
* 更新人
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
updateBy
;
private
String
updateBy
;
/**
/**
* 更新日期
* 更新日期
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Date
updateTime
;
private
Date
updateTime
;
/**
/**
* 删除状态(0-正常,1-删除至回收站)
* 删除状态(0-正常,1-删除至回收站)
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Integer
delFlag
;
private
Integer
delFlag
;
public
Long
getIid
()
{
public
Long
getIid
()
{
...
...
src/main/java/com/zksy/szpt/domain/po/SzptGdXx.java
View file @
e3ee1ff4
package
com
.
zksy
.
szpt
.
domain
.
po
;
package
com
.
zksy
.
szpt
.
domain
.
po
;
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.fasterxml.jackson.annotation.JsonFormat
;
import
java.util.Date
;
import
java.util.Date
;
public
class
SzptGdXx
{
public
class
SzptGdXx
{
...
@@ -11,6 +17,7 @@ public class SzptGdXx {
...
@@ -11,6 +17,7 @@ public class SzptGdXx {
/**
/**
* 场所ID
* 场所ID
*/
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
private
String
id
;
/**
/**
...
@@ -206,36 +213,43 @@ public class SzptGdXx {
...
@@ -206,36 +213,43 @@ public class SzptGdXx {
/**
/**
* 创建人id
* 创建人id
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
createId
;
private
String
createId
;
/**
/**
* 创建人
* 创建人
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
createBy
;
private
String
createBy
;
/**
/**
* 创建日期
* 创建日期
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Date
createTime
;
private
Date
createTime
;
/**
/**
* 更新人id
* 更新人id
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
updateId
;
private
String
updateId
;
/**
/**
* 更新人
* 更新人
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
updateBy
;
private
String
updateBy
;
/**
/**
* 更新日期
* 更新日期
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Date
updateTime
;
private
Date
updateTime
;
/**
/**
* 删除状态(0-正常,1-删除至回收站)
* 删除状态(0-正常,1-删除至回收站)
*/
*/
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
Integer
delFlag
;
private
Integer
delFlag
;
public
Long
getIid
()
{
public
Long
getIid
()
{
...
...
src/main/java/com/zksy/szpt/handler/SzptMetaObjectHandler.java
View file @
e3ee1ff4
...
@@ -22,6 +22,7 @@ public class SzptMetaObjectHandler implements MetaObjectHandler {
...
@@ -22,6 +22,7 @@ public class SzptMetaObjectHandler implements MetaObjectHandler {
List
<
StrictFill
>
fields
=
Arrays
.
asList
(
List
<
StrictFill
>
fields
=
Arrays
.
asList
(
StrictFill
.
of
(
"createTime"
,
Date
.
class
,
new
Date
()),
StrictFill
.
of
(
"createTime"
,
Date
.
class
,
new
Date
()),
StrictFill
.
of
(
"cjsj"
,
Date
.
class
,
new
Date
()),
StrictFill
.
of
(
"cjsj"
,
Date
.
class
,
new
Date
()),
StrictFill
.
of
(
"updateTime"
,
Date
.
class
,
new
Date
()),
StrictFill
.
of
(
"sjgsdwdm"
,
String
.
class
,
"1"
),
StrictFill
.
of
(
"sjgsdwdm"
,
String
.
class
,
"1"
),
StrictFill
.
of
(
"sjgsdwmc"
,
String
.
class
,
"1"
),
StrictFill
.
of
(
"sjgsdwmc"
,
String
.
class
,
"1"
),
StrictFill
.
of
(
"createGajgjgdm"
,
String
.
class
,
"1"
),
StrictFill
.
of
(
"createGajgjgdm"
,
String
.
class
,
"1"
),
...
...
src/main/java/com/zksy/szpt/mapper/SzptGdCsyjhldxMapper.java
View file @
e3ee1ff4
package
com
.
zksy
.
szpt
.
mapper
;
package
com
.
zksy
.
szpt
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.zksy.szpt.domain.po.SzptGdCsyjhldx
;
import
com.zksy.szpt.domain.po.SzptGdCsyjhldx
;
import
com.zksy.szpt.domain.po.SzptGdCsyjhldxExample
;
import
com.zksy.szpt.domain.po.SzptGdCsyjhldxExample
;
import
java.util.List
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
SzptGdCsyjhldxMapper
{
public
interface
SzptGdCsyjhldxMapper
extends
BaseMapper
<
SzptGdCsyjhldx
>
{
long
countByExample
(
SzptGdCsyjhldxExample
example
);
long
countByExample
(
SzptGdCsyjhldxExample
example
);
int
deleteByExample
(
SzptGdCsyjhldxExample
example
);
int
deleteByExample
(
SzptGdCsyjhldxExample
example
);
int
deleteByPrimaryKey
(
Long
iid
);
int
deleteByPrimaryKey
(
Long
iid
);
int
insert
(
SzptGdCsyjhldx
record
);
//
int insert(SzptGdCsyjhldx record);
int
insertSelective
(
SzptGdCsyjhldx
record
);
int
insertSelective
(
SzptGdCsyjhldx
record
);
...
...
src/main/java/com/zksy/szpt/mapper/SzptGdRyxxMapper.java
View file @
e3ee1ff4
package
com
.
zksy
.
szpt
.
mapper
;
package
com
.
zksy
.
szpt
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.zksy.szpt.domain.po.SzptGdRyxx
;
import
com.zksy.szpt.domain.po.SzptGdRyxx
;
import
com.zksy.szpt.domain.po.SzptGdRyxxExample
;
import
com.zksy.szpt.domain.po.SzptGdRyxxExample
;
import
java.util.List
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
SzptGdRyxxMapper
{
public
interface
SzptGdRyxxMapper
extends
BaseMapper
<
SzptGdRyxx
>
{
long
countByExample
(
SzptGdRyxxExample
example
);
long
countByExample
(
SzptGdRyxxExample
example
);
int
deleteByExample
(
SzptGdRyxxExample
example
);
int
deleteByExample
(
SzptGdRyxxExample
example
);
int
deleteByPrimaryKey
(
Long
iid
);
int
deleteByPrimaryKey
(
Long
iid
);
int
insert
(
SzptGdRyxx
record
);
//
int insert(SzptGdRyxx record);
int
insertSelective
(
SzptGdRyxx
record
);
int
insertSelective
(
SzptGdRyxx
record
);
...
...
src/main/java/com/zksy/szpt/mapper/SzptGdSbxxMapper.java
View file @
e3ee1ff4
package
com
.
zksy
.
szpt
.
mapper
;
package
com
.
zksy
.
szpt
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.zksy.szpt.domain.po.SzptGdSbxx
;
import
com.zksy.szpt.domain.po.SzptGdSbxx
;
import
com.zksy.szpt.domain.po.SzptGdSbxxExample
;
import
com.zksy.szpt.domain.po.SzptGdSbxxExample
;
import
java.util.List
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
SzptGdSbxxMapper
{
public
interface
SzptGdSbxxMapper
extends
BaseMapper
<
SzptGdSbxx
>
{
long
countByExample
(
SzptGdSbxxExample
example
);
long
countByExample
(
SzptGdSbxxExample
example
);
int
deleteByExample
(
SzptGdSbxxExample
example
);
int
deleteByExample
(
SzptGdSbxxExample
example
);
int
deleteByPrimaryKey
(
Long
iid
);
int
deleteByPrimaryKey
(
Long
iid
);
int
insert
(
SzptGdSbxx
record
);
//
int insert(SzptGdSbxx record);
int
insertSelective
(
SzptGdSbxx
record
);
int
insertSelective
(
SzptGdSbxx
record
);
...
...
src/main/java/com/zksy/szpt/mapper/SzptGdXxMapper.java
View file @
e3ee1ff4
package
com
.
zksy
.
szpt
.
mapper
;
package
com
.
zksy
.
szpt
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.zksy.szpt.domain.po.SzptGdXx
;
import
com.zksy.szpt.domain.po.SzptGdXx
;
import
com.zksy.szpt.domain.po.SzptGdXxExample
;
import
com.zksy.szpt.domain.po.SzptGdXxExample
;
import
java.util.List
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
SzptGdXxMapper
{
public
interface
SzptGdXxMapper
extends
BaseMapper
<
SzptGdXx
>
{
long
countByExample
(
SzptGdXxExample
example
);
long
countByExample
(
SzptGdXxExample
example
);
int
deleteByExample
(
SzptGdXxExample
example
);
int
deleteByExample
(
SzptGdXxExample
example
);
int
deleteByPrimaryKey
(
Long
iid
);
int
deleteByPrimaryKey
(
Long
iid
);
int
insert
(
SzptGdXx
record
);
//
int insert(SzptGdXx record);
int
insertSelective
(
SzptGdXx
record
);
int
insertSelective
(
SzptGdXx
record
);
...
...
src/main/java/com/zksy/szpt/service/IndexService.java
View file @
e3ee1ff4
package
com
.
zksy
.
szpt
.
service
;
package
com
.
zksy
.
szpt
.
service
;
import
com.zksy.szpt.domain.dto.SzptClockInDTO
;
import
com.zksy.szpt.domain.dto.*
;
import
com.zksy.szpt.domain.dto.SzptClockInRulesDTO
;
import
com.zksy.szpt.domain.po.*
;
import
com.zksy.szpt.domain.dto.SzptFwxxDTO
;
import
com.zksy.szpt.mapper.*
;
import
com.zksy.szpt.domain.dto.XxRwwcqkDTO
;
import
com.zksy.szpt.domain.po.SzptClockIn
;
import
com.zksy.szpt.domain.po.SzptClockInRules
;
import
com.zksy.szpt.domain.po.SzptFwxx
;
import
com.zksy.szpt.domain.po.XxRwwcqk
;
import
com.zksy.szpt.mapper.SzptClockInMapper
;
import
com.zksy.szpt.mapper.SzptClockInRulesMapper
;
import
com.zksy.szpt.mapper.SzptFwxxMapper
;
import
com.zksy.szpt.mapper.XxRwwcqkMapper
;
import
com.zksy.szpt.util.BeanMapperUtil
;
import
com.zksy.szpt.util.BeanMapperUtil
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -48,4 +39,32 @@ public class IndexService {
...
@@ -48,4 +39,32 @@ public class IndexService {
SzptFwxx
szptFwxx
=
BeanMapperUtil
.
map
(
szptFwxxDTO
,
SzptFwxx
.
class
);
SzptFwxx
szptFwxx
=
BeanMapperUtil
.
map
(
szptFwxxDTO
,
SzptFwxx
.
class
);
return
szptFwxxMapper
.
insert
(
szptFwxx
);
return
szptFwxxMapper
.
insert
(
szptFwxx
);
}
}
@Resource
private
SzptGdCsyjhldxMapper
szptGdCsyjhldxMapper
;
public
Integer
addSzptGdCsyjhldx
(
SzptGdCsyjhldxDTO
szptGdCsyjhldxDTO
){
SzptGdCsyjhldx
szptGdCsyjhldx
=
BeanMapperUtil
.
map
(
szptGdCsyjhldxDTO
,
SzptGdCsyjhldx
.
class
);
return
szptGdCsyjhldxMapper
.
insert
(
szptGdCsyjhldx
);
}
@Resource
private
SzptGdRyxxMapper
szptGdRyxxMapper
;
public
Integer
addSzptGdRyxx
(
SzptGdRyxxDTO
szptGdRyxxDTO
){
SzptGdRyxx
szptGdRyxx
=
BeanMapperUtil
.
map
(
szptGdRyxxDTO
,
SzptGdRyxx
.
class
);
return
szptGdRyxxMapper
.
insert
(
szptGdRyxx
);
}
@Resource
private
SzptGdSbxxMapper
szptGdSbxxMapper
;
public
Integer
addSzptGdSbxx
(
SzptGdSbxxDTO
szptGdSbxxDTO
){
SzptGdSbxx
szptGdSbxx
=
BeanMapperUtil
.
map
(
szptGdSbxxDTO
,
SzptGdSbxx
.
class
);
return
szptGdSbxxMapper
.
insert
(
szptGdSbxx
);
}
@Resource
private
SzptGdXxMapper
szptGdXxMapper
;
public
Integer
addSzptGdXx
(
SzptGdXxDTO
szptGdXxDTO
){
SzptGdXx
szptGdXx
=
BeanMapperUtil
.
map
(
szptGdXxDTO
,
SzptGdXx
.
class
);
return
szptGdXxMapper
.
insert
(
szptGdXx
);
}
}
}
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