Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
promotion-service
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
promotion
promotion-service
Commits
4feafa85
提交
4feafa85
authored
8月 15, 2024
作者:
000516
提交者:
Coding
8月 15, 2024
浏览文件
操作
浏览文件
下载
差异文件
管理后台-打卡页面新增打卡地址展示;添加条件查询功能
管理后台-打卡页面新增打卡地址展示;添加条件查询功能
上级
6ecb530a
e7917521
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
25 行增加
和
5 行删除
+25
-5
TemporaryActivityClockCoreController.java
...ivity/temporary/TemporaryActivityClockCoreController.java
+1
-1
TemporaryClockWrapper.java
...tion/domain/activity/wrapperQo/TemporaryClockWrapper.java
+4
-0
TemporaryActivityClockMapper.xml
src/main/resources/mapper/TemporaryActivityClockMapper.xml
+20
-4
没有找到文件。
src/main/java/com/wangxiaolu/promotion/controller/activity/temporary/TemporaryActivityClockCoreController.java
浏览文件 @
4feafa85
...
@@ -88,7 +88,7 @@ public class TemporaryActivityClockCoreController {
...
@@ -88,7 +88,7 @@ public class TemporaryActivityClockCoreController {
}
}
if
(
StringUtils
.
isBlank
(
clockVo
.
getClockPhoto
())){
if
(
StringUtils
.
isBlank
(
clockVo
.
getClockPhoto
())){
throw
new
ParamException
(
RCode
.
PHOTO_IS_NULL
_ERROR
,
null
);
throw
new
ParamException
(
RCode
.
NOT_CLOCK_PHOTO
_ERROR
,
null
);
}
}
long
minuteBetween
=
DateUtil
.
between
(
clockVo
.
getLastClockTime
(),
new
Date
(),
DateUnit
.
MINUTE
);
long
minuteBetween
=
DateUtil
.
between
(
clockVo
.
getLastClockTime
(),
new
Date
(),
DateUnit
.
MINUTE
);
...
...
src/main/java/com/wangxiaolu/promotion/domain/activity/wrapperQo/TemporaryClockWrapper.java
浏览文件 @
4feafa85
...
@@ -45,4 +45,8 @@ public class TemporaryClockWrapper {
...
@@ -45,4 +45,8 @@ public class TemporaryClockWrapper {
private
List
<
Long
>
reportedIds
;
private
List
<
Long
>
reportedIds
;
private
Long
reportedId
;
private
Long
reportedId
;
private
String
createDateStart
;
private
String
createDateEnd
;
private
String
nameLike
;
}
}
src/main/resources/mapper/TemporaryActivityClockMapper.xml
浏览文件 @
4feafa85
...
@@ -12,12 +12,15 @@
...
@@ -12,12 +12,15 @@
<result
property=
"noonClockOutTime"
column=
"noon_clock_out_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"noonClockOutTime"
column=
"noon_clock_out_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"noonClockInTime"
column=
"noon_clock_in_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"noonClockInTime"
column=
"noon_clock_in_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"clockOutTime"
column=
"clock_out_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"clockOutTime"
column=
"clock_out_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"createDate"
column=
"create_date"
jdbcType=
"CHAR"
/>
<result
property=
"clockProvince"
column=
"clock_province"
jdbcType=
"VARCHAR"
/>
<result
property=
"clockProvince"
column=
"clock_province"
jdbcType=
"VARCHAR"
/>
<result
property=
"clockCity"
column=
"clock_city"
jdbcType=
"VARCHAR"
/>
<result
property=
"clockCity"
column=
"clock_city"
jdbcType=
"VARCHAR"
/>
<result
property=
"createDate"
column=
"create_date"
jdbcType=
"VARCHAR"
/>
<result
property=
"createDate"
column=
"create_date"
jdbcType=
"VARCHAR"
/>
<result
property=
"activityPatternId"
column=
"activity_pattern_id"
jdbcType=
"INTEGER"
/>
<result
property=
"activityPatternId"
column=
"activity_pattern_id"
jdbcType=
"INTEGER"
/>
<result
property=
"activityPattern"
column=
"activity_pattern"
jdbcType=
"VARCHAR"
/>
<result
property=
"activityPattern"
column=
"activity_pattern"
jdbcType=
"VARCHAR"
/>
<result
property=
"clockInAddress"
column=
"clock_in_address"
jdbcType=
"VARCHAR"
/>
<result
property=
"noonClockOutAddress"
column=
"noon_clock_out_address"
jdbcType=
"VARCHAR"
/>
<result
property=
"noonClockInAddress"
column=
"noon_clock_in_address"
jdbcType=
"VARCHAR"
/>
<result
property=
"clockOutAddress"
column=
"clock_out_address"
jdbcType=
"VARCHAR"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
...
@@ -46,17 +49,30 @@
...
@@ -46,17 +49,30 @@
tc.clock_out_time,
tc.clock_out_time,
tc.clock_province,
tc.clock_province,
tc.clock_city,
tc.clock_city,
tc.create_date,
tc.clock_in_address,
tc.noon_clock_out_address,
tc.noon_clock_in_address,
tc.clock_out_address,
tc.activity_pattern_id,
tc.activity_pattern_id,
tc.activity_pattern,
tc.activity_pattern,
ti.dept_qc_org_name,
ti.dept_qc_org_name,
ti.charger_name
ti.charger_name
from temporary_info ti
from temporary_info ti
inner join temporary_activity_clock tc on ti.id = tc.temporary_id
inner join temporary_activity_clock tc on ti.id = tc.temporary_id
where tc.is_delete = 1
<where>
<if
test=
"tcw != null and tcw.clockOutTimeIsNull != null and tcw.clockOutTimeIsNull == true"
>
<if
test=
"tcw != null"
>
<if
test=
"tcw.clockOutTimeIsNull != null and tcw.clockOutTimeIsNull == true"
>
and tc.clock_out_time is null
and tc.clock_out_time is null
</if>
</if>
<if
test=
"tcw.createDateStart != null and tcw.createDateEnd != null"
>
and (tc.create_date between #{tcw.createDateStart} and #{tcw.createDateEnd})
</if>
<if
test=
"tcw.nameLike != null"
>
and ti.name like concat('%',#{tcw.nameLike},'%')
</if>
</if>
and tc.is_delete = 1
</where>
order by id desc
order by id desc
limit #{skipNum}, #{pageSize};
limit #{skipNum}, #{pageSize};
</select>
</select>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论