Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
promotion-service
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
promotion
promotion-service
Commits
d0c8c592
提交
d0c8c592
authored
1月 23, 2026
作者:
000516
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
门店信息添加:门店类型/渠道大类/渠道小类
上级
d73c4e29
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
20 行增加
和
11 行删除
+20
-11
QinCeClienteleStoreDaoImpl.java
...tion/domain/user/dao/impl/QinCeClienteleStoreDaoImpl.java
+0
-5
QinCeClienteleStoreDO.java
...tion/domain/user/mapper/entity/QinCeClienteleStoreDO.java
+20
-6
没有找到文件。
src/main/java/com/wangxiaolu/promotion/domain/user/dao/impl/QinCeClienteleStoreDaoImpl.java
浏览文件 @
d0c8c592
...
@@ -45,11 +45,6 @@ public class QinCeClienteleStoreDaoImpl implements QinCeClienteleStoreDao {
...
@@ -45,11 +45,6 @@ public class QinCeClienteleStoreDaoImpl implements QinCeClienteleStoreDao {
try
{
try
{
QinCeClienteleStoreDO
qinCeShopDO
=
JSONObject
.
parseObject
(
responseData
.
toString
(),
QinCeClienteleStoreDO
.
class
);
QinCeClienteleStoreDO
qinCeShopDO
=
JSONObject
.
parseObject
(
responseData
.
toString
(),
QinCeClienteleStoreDO
.
class
);
// if (qinCeShopDO.getStoreStatus().equals("0") && Objects.nonNull(qinCeShopDO.getQcId())){
// qinCeClienteleStoreMapper.updateStatusById(qinCeShopDO.getQcId());
// continue;
// }
// 添加经销商
// 添加经销商
List
<
JSONObject
>
dealers
=
qinCeShopDO
.
getDealers
();
List
<
JSONObject
>
dealers
=
qinCeShopDO
.
getDealers
();
if
(!
CollectionUtils
.
isEmpty
(
dealers
)){
if
(!
CollectionUtils
.
isEmpty
(
dealers
)){
...
...
src/main/java/com/wangxiaolu/promotion/domain/user/mapper/entity/QinCeClienteleStoreDO.java
浏览文件 @
d0c8c592
...
@@ -13,9 +13,10 @@ import java.util.List;
...
@@ -13,9 +13,10 @@ import java.util.List;
/**
/**
* 勤策-客户管理-终端
* 勤策-客户管理-终端
*
* @TableName qc_clientele_shop
* @TableName qc_clientele_shop
*/
*/
@TableName
(
value
=
"qince_clientele_store"
)
@TableName
(
value
=
"qince_clientele_store"
)
@Data
@Data
public
class
QinCeClienteleStoreDO
implements
Serializable
{
public
class
QinCeClienteleStoreDO
implements
Serializable
{
/**
/**
...
@@ -229,11 +230,18 @@ public class QinCeClienteleStoreDO implements Serializable {
...
@@ -229,11 +230,18 @@ public class QinCeClienteleStoreDO implements Serializable {
@JsonProperty
(
"create_time"
)
@JsonProperty
(
"create_time"
)
private
String
createTime
;
private
String
createTime
;
// 门店类型 -->> 不变
private
String
storeTypeExt
;
// 渠道大类 -->> 合作模式
private
String
cooperationModeExt
;
// 渠道小类 -->> 渠道类型
private
String
channelTypeExt
;
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@Data
@Data
public
class
Exts
{
public
class
Exts
{
@JsonProperty
(
"store_ext_key"
)
@JsonProperty
(
"store_ext_key"
)
private
String
storeExtKey
;
private
String
storeExtKey
;
@JsonProperty
(
"store_ext_value"
)
@JsonProperty
(
"store_ext_value"
)
...
@@ -245,7 +253,7 @@ public class QinCeClienteleStoreDO implements Serializable {
...
@@ -245,7 +253,7 @@ public class QinCeClienteleStoreDO implements Serializable {
for
(
Exts
e
:
exts
)
{
for
(
Exts
e
:
exts
)
{
String
extKey
=
e
.
getStoreExtKey
();
String
extKey
=
e
.
getStoreExtKey
();
String
extValue
=
e
.
getStoreExtValue
();
String
extValue
=
e
.
getStoreExtValue
();
if
(
"CVS、KA"
.
contains
(
this
.
storeType
)
&&
"是否连锁"
.
equals
(
extKey
)
&&
"是"
.
equals
(
extValue
)){
if
(
"CVS、KA"
.
contains
(
this
.
storeType
)
&&
"是否连锁"
.
equals
(
extKey
)
&&
"是"
.
equals
(
extValue
))
{
isChain
=
true
;
isChain
=
true
;
}
}
if
(
"是否连锁"
.
equals
(
extKey
))
{
if
(
"是否连锁"
.
equals
(
extKey
))
{
...
@@ -254,11 +262,17 @@ public class QinCeClienteleStoreDO implements Serializable {
...
@@ -254,11 +262,17 @@ public class QinCeClienteleStoreDO implements Serializable {
if
(
"系统名称"
.
equals
(
extKey
))
{
if
(
"系统名称"
.
equals
(
extKey
))
{
this
.
lineName
=
extValue
;
this
.
lineName
=
extValue
;
}
}
if
(
"是否双T门店"
.
equals
(
extKey
))
{
if
(
"渠道小类"
.
equals
(
extKey
))
{
this
.
bothT
=
extValue
;
this
.
channelTypeExt
=
extValue
;
}
if
(
"渠道大类"
.
equals
(
extKey
))
{
this
.
cooperationModeExt
=
extValue
;
}
if
(
"门店类型"
.
equals
(
extKey
))
{
this
.
storeTypeExt
=
extValue
;
}
}
}
}
if
(!
isChain
){
if
(!
isChain
)
{
this
.
lineName
=
this
.
storeType
;
this
.
lineName
=
this
.
storeType
;
}
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论