Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
promotion-service
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
promotion
promotion-service
Commits
26b354a7
提交
26b354a7
authored
3月 25, 2025
作者:
李秋林
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
同步勤策门店:系统名称(CVS\KA并且是连锁的店直接用系统名称,否则同步门店类型)
上级
35e451b7
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
27 行增加
和
6 行删除
+27
-6
QinCeClienteleStoreDaoImpl.java
...tion/domain/user/dao/impl/QinCeClienteleStoreDaoImpl.java
+3
-0
QinCeClienteleStoreDO.java
...tion/domain/user/mapper/entity/QinCeClienteleStoreDO.java
+24
-6
没有找到文件。
src/main/java/com/wangxiaolu/promotion/domain/user/dao/impl/QinCeClienteleStoreDaoImpl.java
浏览文件 @
26b354a7
...
@@ -45,6 +45,9 @@ public class QinCeClienteleStoreDaoImpl implements QinCeClienteleStoreDao {
...
@@ -45,6 +45,9 @@ 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"
)){
continue
;
}
// 添加经销商
// 添加经销商
List
<
JSONObject
>
dealers
=
qinCeShopDO
.
getDealers
();
List
<
JSONObject
>
dealers
=
qinCeShopDO
.
getDealers
();
...
...
src/main/java/com/wangxiaolu/promotion/domain/user/mapper/entity/QinCeClienteleStoreDO.java
浏览文件 @
26b354a7
...
@@ -54,6 +54,11 @@ public class QinCeClienteleStoreDO implements Serializable {
...
@@ -54,6 +54,11 @@ public class QinCeClienteleStoreDO implements Serializable {
@JsonProperty
(
"store_code"
)
@JsonProperty
(
"store_code"
)
private
String
storeCode
;
private
String
storeCode
;
/**
* 是否连锁
*/
private
String
chain
;
/**
/**
* 门店经理,多门店经理名称间以“,”分隔
* 门店经理,多门店经理名称间以“,”分隔
*/
*/
...
@@ -68,8 +73,8 @@ public class QinCeClienteleStoreDO implements Serializable {
...
@@ -68,8 +73,8 @@ public class QinCeClienteleStoreDO implements Serializable {
/**
/**
* 门店类型编码
* 门店类型编码
*/
*/
@JsonProperty
(
"store_type_code"
)
//
@JsonProperty("store_type_code")
private
String
storeTypeCode
;
//
private String storeTypeCode;
/**
/**
* 勤策门店所属部门ID
* 勤策门店所属部门ID
...
@@ -236,13 +241,25 @@ public class QinCeClienteleStoreDO implements Serializable {
...
@@ -236,13 +241,25 @@ public class QinCeClienteleStoreDO implements Serializable {
}
}
public
void
setExt
()
{
public
void
setExt
()
{
boolean
isChain
=
false
;
for
(
Exts
e
:
exts
)
{
for
(
Exts
e
:
exts
)
{
if
(
"系统名称"
.
equals
(
e
.
getStoreExtKey
()))
{
String
extKey
=
e
.
getStoreExtKey
();
this
.
lineName
=
e
.
getStoreExtValue
();
String
extValue
=
e
.
getStoreExtValue
();
if
(
"CVS、KA"
.
contains
(
this
.
storeType
)
&&
"是否连锁"
.
equals
(
extKey
)
&&
"是"
.
equals
(
extValue
)){
isChain
=
true
;
}
if
(
"是否连锁"
.
equals
(
extKey
))
{
this
.
chain
=
extValue
;
}
if
(
"系统名称"
.
equals
(
extKey
))
{
this
.
lineName
=
extValue
;
}
if
(
"是否双T门店"
.
equals
(
extKey
))
{
this
.
bothT
=
extValue
;
}
}
if
(
"是否双T门店"
.
equals
(
e
.
getStoreExtKey
()))
{
this
.
bothT
=
e
.
getStoreExtValue
();
}
}
if
(!
isChain
){
this
.
lineName
=
this
.
storeType
;
}
}
}
}
}
}
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论