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
93c9b50b
Commit
93c9b50b
authored
Mar 27, 2020
by
东州 翁
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of 120.24.24.239:8timerv2/8timerapiv200 into wdz
parents
171f0178
ad41a9a4
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
27 additions
and
13 deletions
+27
-13
src/main/java/cn/timer/api/controller/qyxx/CmsController.java
+5
-2
src/main/java/cn/timer/api/controller/yggl/YgglController.java
+0
-1
src/main/java/cn/timer/api/controller/zzgl/ZzglController.java
+9
-1
src/main/java/cn/timer/api/dao/htzz/HtzzAdminZzdaMapper.java
+2
-2
src/main/java/cn/timer/api/dao/htzz/HtzzAssoHtgxMapper.java
+2
-2
src/main/java/cn/timer/api/dao/htzz/HtzzAssoZztxMapper.java
+2
-2
src/main/java/cn/timer/api/utils/RemindUtil.java
+3
-1
src/main/resources/mapping/yggl/YgglMainEmpMapper.xml
+4
-2
No files found.
src/main/java/cn/timer/api/controller/qyxx/CmsController.java
View file @
93c9b50b
...
...
@@ -133,9 +133,12 @@ public class CmsController {
@GetMapping
(
value
=
"/getType"
)
@ApiOperation
(
value
=
"分类内容获取"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
public
Result
<
Object
>
getType
(
@CurrentUser
UserBean
userBean
)
{
// 分类信息
// 分类
模块
信息
List
<
CmsContentModular
>
list
=
CmsContentModular
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
CmsContentModular
>().
eq
(
"organization_id"
,
userBean
.
getOrgCode
()).
eq
(
"is_open"
,
0
));
new
QueryWrapper
<
CmsContentModular
>()
.
eq
(
"is_open"
,
0
)
//是否开启
// .eq("organization_id", userBean.getOrgCode())
);
List
<
List
<
CmsContent
>>
o
=
new
ArrayList
<
List
<
CmsContent
>>();
for
(
CmsContentModular
cmsContentModular
:
list
)
{
// 分类模块id
...
...
src/main/java/cn/timer/api/controller/yggl/YgglController.java
View file @
93c9b50b
...
...
@@ -53,7 +53,6 @@ import cn.timer.api.bean.yggl.YgglAttaZcxxb;
import
cn.timer.api.bean.yggl.YgglAttaZszjb
;
import
cn.timer.api.bean.yggl.YgglMainEmp
;
import
cn.timer.api.bean.yggl.YgglMainLzb
;
import
cn.timer.api.dto.yggl.YgmzDto
;
import
cn.timer.api.bean.zzgl.ZzglBmgwM
;
import
cn.timer.api.config.annotation.CurrentUser
;
import
cn.timer.api.config.annotation.UserBean
;
...
...
src/main/java/cn/timer/api/controller/zzgl/ZzglController.java
View file @
93c9b50b
...
...
@@ -60,7 +60,15 @@ public class ZzglController {
Integer
orgCode
=
userBean
.
getOrgCode
();
List
<
ZzglBmgwM
>
zzglBmgwMs
=
new
LambdaQueryChainWrapper
<
ZzglBmgwM
>(
zzglBmgwMMapper
)
.
eq
(
ZzglBmgwM:
:
getOrgCode
,
orgCode
).
list
();
// TODO Auto-generated method stub
return
ResultUtil
.
data
(
zzglBmgwMs
);
}
@GetMapping
(
value
=
"/deptlist2"
)
@ApiOperation
(
value
=
"获取部门岗位2"
,
httpMethod
=
"GET"
,
notes
=
"接口发布说明"
)
public
Result
<
List
<
ZzglBmgwM
>>
selectlistdept2
(
@CurrentUser
UserBean
userBean
)
{
Integer
orgCode
=
userBean
.
getOrgCode
();
List
<
ZzglBmgwM
>
zzglBmgwMs
=
new
LambdaQueryChainWrapper
<
ZzglBmgwM
>(
zzglBmgwMMapper
)
.
select
(
ZzglBmgwM:
:
getName
,
ZzglBmgwM:
:
getId
,
ZzglBmgwM:
:
getUpId
).
eq
(
ZzglBmgwM:
:
getOrgCode
,
orgCode
).
list
();
return
ResultUtil
.
data
(
zzglBmgwMs
);
}
...
...
src/main/java/cn/timer/api/dao/htzz/HtzzAdminZzdaMapper.java
View file @
93c9b50b
...
...
@@ -2,7 +2,7 @@ package cn.timer.api.dao.htzz;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.
core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.
extension.service.IService
;
import
cn.timer.api.bean.htzz.HtzzAdminZzda
;
...
...
@@ -12,6 +12,6 @@ import cn.timer.api.bean.htzz.HtzzAdminZzda;
* @author Tang 2019-12-04
*/
@Repository
public
interface
HtzzAdminZzdaMapper
extends
BaseMapper
<
HtzzAdminZzda
>
{
public
interface
HtzzAdminZzdaMapper
extends
IService
<
HtzzAdminZzda
>
{
}
src/main/java/cn/timer/api/dao/htzz/HtzzAssoHtgxMapper.java
View file @
93c9b50b
...
...
@@ -2,7 +2,7 @@ package cn.timer.api.dao.htzz;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.
core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.
extension.service.IService
;
import
cn.timer.api.bean.htzz.HtzzAssoHtgx
;
...
...
@@ -12,6 +12,6 @@ import cn.timer.api.bean.htzz.HtzzAssoHtgx;
* @author Tang 2019-12-18
*/
@Repository
public
interface
HtzzAssoHtgxMapper
extends
BaseMapper
<
HtzzAssoHtgx
>
{
public
interface
HtzzAssoHtgxMapper
extends
IService
<
HtzzAssoHtgx
>
{
}
src/main/java/cn/timer/api/dao/htzz/HtzzAssoZztxMapper.java
View file @
93c9b50b
...
...
@@ -2,7 +2,7 @@ package cn.timer.api.dao.htzz;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.
core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.
extension.service.IService
;
import
cn.timer.api.bean.htzz.HtzzAssoZztx
;
...
...
@@ -12,6 +12,6 @@ import cn.timer.api.bean.htzz.HtzzAssoZztx;
* @author Tang 2019-12-04
*/
@Repository
public
interface
HtzzAssoZztxMapper
extends
BaseMapper
<
HtzzAssoZztx
>
{
public
interface
HtzzAssoZztxMapper
extends
IService
<
HtzzAssoZztx
>
{
}
src/main/java/cn/timer/api/utils/RemindUtil.java
View file @
93c9b50b
...
...
@@ -40,7 +40,8 @@ public class RemindUtil {
/**
* 每天固定时间提醒
*/
@Scheduled
(
cron
=
"0 0 8 * * ?"
)
// 每天8点扫一下看有没要提醒的,有就发一个
// @Scheduled(cron = "0 0 8 * * ?") // 每天8点扫一下看有没要提醒的,有就发一个
@Scheduled
(
cron
=
"0 8 15 * * ?"
)
// 测试合同提醒
public
static
void
reportCurrentTime
()
{
List
<
HtzzAssoHtgx
>
htgxs
=
HtzzAssoHtgx
.
builder
().
build
().
selectAll
();
...
...
@@ -74,6 +75,7 @@ public class RemindUtil {
}
else
{
zzda
.
setTxkgType
(
1
);
// 关闭提醒
zzda
.
updateById
();
}
}
}
...
...
src/main/resources/mapping/yggl/YgglMainEmpMapper.xml
View file @
93c9b50b
...
...
@@ -257,7 +257,7 @@
<!-- 学历及人数查询 -->
<select
id=
"queryEducation"
resultType=
"cn.timer.api.dto.yggl.YgglCartogramDto"
>
SELECT
e.name
education,count(y.edu) educationNum
IFNULL(e.name,'null')
education,count(y.edu) educationNum
FROM
yggl_main_emp y
LEFT JOIN
...
...
@@ -268,6 +268,8 @@
org_code = #{orgCode}
GROUP BY
e.name
ORDER BY
e.id ASC
</select>
<!-- 员工年龄分布查询 -->
...
...
@@ -290,7 +292,7 @@
<!-- 籍贯统计(省份)查询 -->
<select
id=
"queryNativeplace"
resultType=
"cn.timer.api.dto.yggl.YgglCartogramDto"
>
SELECT
c.name
province,count(y.jg) provinceNum
IFNULL(c.name,'null')
province,count(y.jg) provinceNum
FROM
yggl_main_emp y
LEFT JOIN
...
...
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