Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cms-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
cms-ci-test
Commits
07914b13
提交
07914b13
authored
8月 01, 2023
作者:
zhenjie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
加盟优化
上级
96f75725
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
9 行增加
和
2 行删除
+9
-2
CooperationServiceImpl.java
...om/mmc/iuav/user/service/impl/CooperationServiceImpl.java
+7
-0
CooperationDao.xml
...service-user/src/main/resources/mapper/CooperationDao.xml
+2
-2
没有找到文件。
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/service/impl/CooperationServiceImpl.java
浏览文件 @
07914b13
...
...
@@ -20,6 +20,7 @@ import com.mmc.iuav.user.service.UserAccountService;
import
com.mmc.iuav.user.util.SmsUtil
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.RandomStringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
...
...
@@ -250,6 +251,12 @@ public class CooperationServiceImpl implements CooperationService {
if
(!
userApplyTag
.
getApplyStatus
().
equals
(
1
))
{
return
ResultBody
.
error
(
"当前服务商暂未通过审核!"
);
}
if
(
StringUtils
.
isBlank
(
applyTagEditVO
.
getRemark
()))
{
UserApplyTagDO
userApplyTagDO
=
new
UserApplyTagDO
();
userApplyTagDO
.
setId
(
applyTagEditVO
.
getId
());
userApplyTagDO
.
setRemark
(
applyTagEditVO
.
getRemark
());
cooperationDao
.
updateUserApplyTag
(
userApplyTagDO
);
}
if
(!
CollectionUtils
.
isEmpty
(
applyTagEditVO
.
getAttachmentList
()))
{
cooperationDao
.
deleteApplyResource
(
applyTagEditVO
.
getId
());
cooperationDao
.
insertApplyResource
(
applyTagEditVO
.
getAttachmentList
());
...
...
csm-service/cms-service-user/src/main/resources/mapper/CooperationDao.xml
浏览文件 @
07914b13
...
...
@@ -289,7 +289,7 @@
FROM
user_apply_tag uat
INNER JOIN cooperation_tag ct ON uat.cooperation_tag_id = ct.id
WHERE ct.id = #{type}
WHERE ct.id = #{type}
and uat.is_deleted = 0
</select>
<select
id=
"listServiceBitmapData"
resultType=
"com.mmc.iuav.user.entity.WebsiteInfoDO"
>
SELECT
...
...
@@ -307,7 +307,7 @@
INNER JOIN cooperation_tag ct ON uat.cooperation_tag_id = ct.id
INNER JOIN company_member cm ON cm.user_account_id = uat.user_account_id
INNER JOIN company_info ci ON cm.company_info_id = ci.id
WHERE ct.id = #{type}
WHERE ct.id = #{type}
and uat.is_deleted = 0
ORDER BY distance ASC
LIMIT #{pageNo}, #{pageSize}
</select>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论