Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
ims
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
ims
Commits
c5b0f517
提交
c5b0f517
authored
3月 27, 2024
作者:
刘明祎-运维用途
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' into develop
上级
c7298593
424be397
流水线
#8630
已通过 于阶段
in 3 分 2 秒
变更
4
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
22 行增加
和
16 行删除
+22
-16
RedisConstant.java
...ain/java/com/mmc/csf/common/util/redis/RedisConstant.java
+2
-0
kustomization.yaml
kustomization/overlays/prod/kustomization.yaml
+1
-1
DynamicServiceImpl.java
.../com/mmc/csf/release/service/impl/DynamicServiceImpl.java
+5
-1
BackRequirementsDao.xml
...ain/resources/mapper/requirements/BackRequirementsDao.xml
+14
-14
没有找到文件。
csf-common/csf-common-util/src/main/java/com/mmc/csf/common/util/redis/RedisConstant.java
浏览文件 @
c5b0f517
...
...
@@ -110,6 +110,8 @@ public class RedisConstant {
public
final
static
String
UAV_DUMMY_DATA
=
"UAV_DUMMY_DATA_KEY"
;
public
final
static
String
VOTE
=
"VOTE"
;
// 点赞
public
static
final
String
USER_LIKE_DYNAMIC
=
"user_like_dynamic"
;
/**
* tagInfoAllot表的缓存key
*/
...
...
kustomization/overlays/prod/kustomization.yaml
浏览文件 @
c5b0f517
...
...
@@ -18,4 +18,4 @@ patches:
images
:
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/ims
newTag
:
7064818a4b785409a691208dac214465b161e849
newTag
:
fb68823598f8c074562d994f1835290fcebd7040
release-service/src/main/java/com/mmc/csf/release/service/impl/DynamicServiceImpl.java
浏览文件 @
c5b0f517
...
...
@@ -205,8 +205,12 @@ public class DynamicServiceImpl implements DynamicService {
likeDAO
.
insertLike
(
userId
,
dynamicId
);
dynamicDao
.
updateDynamicLikeCount
(
dynamicId
,
forumDynamicDO
.
getVersion
());
dynamicDao
.
forumCount
(
forumDynamicDO
.
getUserAccountId
());
String
s
=
stringRedisTemplate
.
opsForValue
().
get
(
RedisConstant
.
USER_LIKE_DYNAMIC
+
dynamicId
+
":"
+
userId
);
if
(
s
==
null
)
{
stringRedisTemplate
.
opsForValue
().
set
(
RedisConstant
.
USER_LIKE_DYNAMIC
+
dynamicId
+
":"
+
userId
,
"1"
);
userAppApi
.
changeUserPoints
(
request
.
getHeader
(
TokenConstant
.
TOKEN
),
request
,
4
);
}
userAppApi
.
changeUserPoints
(
request
.
getHeader
(
TokenConstant
.
TOKEN
),
request
,
4
);
}
else
{
likeDAO
.
deleteLike
(
userId
,
dynamicId
);
dynamicDao
.
updateSubDynamicLikeCount
(
dynamicId
,
forumDynamicDO
.
getVersion
());
...
...
release-service/src/main/resources/mapper/requirements/BackRequirementsDao.xml
浏览文件 @
c5b0f517
...
...
@@ -85,9 +85,9 @@
and (
<choose>
<when
test=
"isPilotOrder == 0"
>
-- 当时发单的时候要是看到的是总订单
ri.father_require_id = 0
and
ri.user_account_id IN
--
--
当时发单的时候要是看到的是总订单
--
ri.father_require_id = 0
ri.user_account_id IN
</when>
<when
test=
"isPilotOrder == 1"
>
-- 接单接的是子订单就只能看到子订单
...
...
@@ -99,10 +99,10 @@
</foreach>
)
</when>
<otherwise
>
<!-- 剩下就是admin用户就是要查出所用接单发单就行 只要主订单
-->
and ri.father_require_id = 0
</otherwise
>
<!-- <otherwise>--
>
<!-- <!– 剩下就是admin用户就是要查出所用接单发单就行 只要主订单–>
-->
<!-- and ri.father_require_id = 0-->
<!-- </otherwise>--
>
</choose>
<if
test=
"orderStatus != null and orderStatus!='' "
>
and sf.order_status = #{orderStatus}
...
...
@@ -139,9 +139,9 @@
and (
<choose>
<when
test=
"isPilotOrder == 0"
>
-- 当时发单的时候要是看到的是总订单
ri.father_require_id = 0
and
ri.user_account_id IN
--
-- 当时发单的时候要是看到的是总订单
--
ri.father_require_id = 0
ri.user_account_id IN
</when>
<when
test=
"isPilotOrder == 1"
>
-- 接单接的是子订单就只能看到子订单
...
...
@@ -153,10 +153,10 @@
</foreach>
)
</when>
<otherwise
>
<!-- 剩下就是admin用户就是要查出所用接单发单就行 只要主订单
-->
and ri.father_require_id = 0
</otherwise
>
<!-- <otherwise>--
>
<!-- <!– 剩下就是admin用户就是要查出所用接单发单就行 只要主订单–>
-->
<!-- and ri.father_require_id = 0-->
<!-- </otherwise>--
>
</choose>
<if
test=
"orderStatus != null and orderStatus!='' "
>
and sf.order_status = #{orderStatus}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论