Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
promotion-service
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
promotion
promotion-service
Commits
19e64410
提交
19e64410
authored
4月 03, 2025
作者:
李秋林
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1、创建稽查任务;2、按ID判断修改/新增;3、按id/分页查询;4、引入db表
上级
360c6350
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
270 行增加
和
0 行删除
+270
-0
ActivityExamineMapper.java
...romotion/domain/examine/mapper/ActivityExamineMapper.java
+23
-0
ActivityExamineDO.java
...otion/domain/examine/mapper/entity/ActivityExamineDO.java
+188
-0
ActivityExamineMapper.xml
src/main/resources/mapper/examine/ActivityExamineMapper.xml
+59
-0
没有找到文件。
src/main/java/com/wangxiaolu/promotion/domain/examine/mapper/ActivityExamineMapper.java
0 → 100644
浏览文件 @
19e64410
package
com
.
wangxiaolu
.
promotion
.
domain
.
examine
.
mapper
;
import
com.wangxiaolu.promotion.domain.examine.mapper.entity.ActivityExamineDO
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
/**
* @author a02200059
* @description 针对表【activity_examine(活动稽查表)】的数据库操作Mapper
* @createDate 2025-04-02 13:55:18
* @Entity com.wangxiaolu.promotion.domain.examine.mapper.entity.ActivityExamineDO
*/
@Mapper
@Repository
public
interface
ActivityExamineMapper
extends
BaseMapper
<
ActivityExamineDO
>
{
ActivityExamineDO
selectByPlanId
(
Long
planId
);
}
src/main/java/com/wangxiaolu/promotion/domain/examine/mapper/entity/ActivityExamineDO.java
0 → 100644
浏览文件 @
19e64410
package
com
.
wangxiaolu
.
promotion
.
domain
.
examine
.
mapper
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 活动稽查表
* @TableName activity_examine
*/
@AllArgsConstructor
@NoArgsConstructor
@TableName
(
value
=
"activity_examine"
)
@Data
public
class
ActivityExamineDO
implements
Serializable
{
/**
* 主键id
*/
@TableId
(
type
=
IdType
.
AUTO
)
private
Long
id
;
/**
* promotion_manage_employee表id
*/
private
Integer
employeeId
;
/**
* 姓名
*/
private
String
employeeName
;
/**
* 员工工号
*/
private
String
employeeNo
;
/**
* 计划ID
*/
private
Long
planId
;
/**
* 上报ID
*/
private
String
reportedIds
;
/**
* 打卡ID
*/
private
String
clockIds
;
/**
* 所属战区名称
*/
private
String
deptQcOrgName
;
/**
* 负责人姓名
*/
private
String
manageName
;
/**
* 执行城市
*/
private
String
city
;
/**
* 计划日期
*/
private
Date
planDate
;
/**
* 系统名称
*/
private
String
lineName
;
/**
* 门店名称
*/
private
String
storeName
;
/**
* 经销商名称
*/
private
String
dealerName
;
/**
* 活动模式
*/
private
String
pattern
;
/**
* 创建日期
*/
private
Date
createDate
;
/**
* 门头照
*/
private
String
storePicture
;
/**
* 促销员人数
*/
private
Integer
temNum
;
/**
* 地堆:是/否
*/
private
String
storeDd
;
/**
* 促销员是否在岗:在岗/离岗
*/
private
String
temOnWork
;
/**
* 话述:达标/未达标
*/
private
String
temHs
;
/**
* 物料:齐全/缺少
*/
private
String
temWl
;
/**
* 着装:达标/未达标
*/
private
String
temZz
;
/**
* 工作取证照片
*/
private
String
temWorkPhotos
;
/**
* 特陈照
*/
private
String
storeTcPhoto
;
/**
* 主货架照
*/
private
String
storeZhjPhoto
;
/**
* POS金额
*/
private
BigDecimal
posRmb
;
/**
* pos照片
*/
private
String
posPhotos
;
/**
*
*/
private
Date
createTime
;
/**
*
*/
private
Date
modifyTime
;
/**
* 创建人
*/
private
String
createBy
;
/**
* 修改人
*/
private
String
modifyBy
;
@TableField
(
exist
=
false
)
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
src/main/resources/mapper/examine/ActivityExamineMapper.xml
0 → 100644
浏览文件 @
19e64410
<?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=
"com.wangxiaolu.promotion.domain.examine.mapper.ActivityExamineMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.wangxiaolu.promotion.domain.examine.mapper.entity.ActivityExamineDO"
>
<id
property=
"id"
column=
"id"
jdbcType=
"BIGINT"
/>
<result
property=
"employeeId"
column=
"employee_id"
jdbcType=
"INTEGER"
/>
<result
property=
"employeeName"
column=
"employee_name"
jdbcType=
"VARCHAR"
/>
<result
property=
"employeeNo"
column=
"employee_no"
jdbcType=
"VARCHAR"
/>
<result
property=
"planId"
column=
"plan_id"
jdbcType=
"BIGINT"
/>
<result
property=
"reportedIds"
column=
"reported_ids"
jdbcType=
"VARCHAR"
/>
<result
property=
"clockIds"
column=
"clock_ids"
jdbcType=
"VARCHAR"
/>
<result
property=
"deptQcOrgName"
column=
"dept_qc_org_name"
jdbcType=
"VARCHAR"
/>
<result
property=
"manageName"
column=
"manage_name"
jdbcType=
"VARCHAR"
/>
<result
property=
"city"
column=
"city"
jdbcType=
"VARCHAR"
/>
<result
property=
"planDate"
column=
"plan_date"
jdbcType=
"DATE"
/>
<result
property=
"lineName"
column=
"line_name"
jdbcType=
"VARCHAR"
/>
<result
property=
"storeName"
column=
"store_name"
jdbcType=
"VARCHAR"
/>
<result
property=
"dealerName"
column=
"dealer_name"
jdbcType=
"VARCHAR"
/>
<result
property=
"pattern"
column=
"pattern"
jdbcType=
"VARCHAR"
/>
<result
property=
"createDate"
column=
"create_date"
jdbcType=
"DATE"
/>
<result
property=
"storePicture"
column=
"store_picture"
jdbcType=
"VARCHAR"
/>
<result
property=
"temNum"
column=
"tem_num"
jdbcType=
"INTEGER"
/>
<result
property=
"storeDd"
column=
"store_dd"
jdbcType=
"CHAR"
/>
<result
property=
"temOnWork"
column=
"tem_on_work"
jdbcType=
"CHAR"
/>
<result
property=
"temHs"
column=
"tem_hs"
jdbcType=
"CHAR"
/>
<result
property=
"temWl"
column=
"tem_wl"
jdbcType=
"CHAR"
/>
<result
property=
"temZz"
column=
"tem_zz"
jdbcType=
"CHAR"
/>
<result
property=
"temWorkPhotos"
column=
"tem_work_photos"
jdbcType=
"VARCHAR"
/>
<result
property=
"storeTcPhoto"
column=
"store_tc_photo"
jdbcType=
"VARCHAR"
/>
<result
property=
"storeZhjPhoto"
column=
"store_zhj_photo"
jdbcType=
"VARCHAR"
/>
<result
property=
"posRmb"
column=
"pos_rmb"
jdbcType=
"DECIMAL"
/>
<result
property=
"posPhotos"
column=
"pos_photos"
jdbcType=
"VARCHAR"
/>
<result
property=
"createTime"
column=
"create_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"modifyTime"
column=
"modify_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"createBy"
column=
"create_by"
jdbcType=
"VARCHAR"
/>
<result
property=
"modifyBy"
column=
"modify_by"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
id,employee_id,employee_name,
employee_no,plan_id,dept_qc_org_name,
manage_name,city,plan_date,
line_name,store_name,dealer_name,
pattern,create_date,store_picture,
tem_num,store_dd,tem_on_work,
tem_hs,tem_wl,tem_zz,
tem_work_photos,store_tc_photo,store_zhj_photo,
pos_rmb,pos_photos,create_time,
modify_time,create_by,modify_by
</sql>
<select
id=
"selectByPlanId"
resultMap=
"BaseResultMap"
>
select
<include
refid=
"Base_Column_List"
/>
from activity_examine
where plan_id = #{planId}
</select>
</mapper>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论