Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cms
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
cms
Commits
abad8eec
提交
abad8eec
authored
4月 27, 2024
作者:
刘明祎-运维用途
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化--添加字段公司简介
上级
44a89533
流水线
#9234
已通过 于阶段
in 2 分 30 秒
变更
4
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
13 行增加
和
2 行删除
+13
-2
ApplyTagEditVO.java
.../main/java/com/mmc/iuav/user/model/vo/ApplyTagEditVO.java
+2
-0
CompanyInfoVO.java
...c/main/java/com/mmc/iuav/user/model/vo/CompanyInfoVO.java
+2
-0
CompanyInfoDO.java
...src/main/java/com/mmc/iuav/user/entity/CompanyInfoDO.java
+4
-0
CompanyDao.xml
...cms-service-user/src/main/resources/mapper/CompanyDao.xml
+5
-2
没有找到文件。
cms-common/cms-common-model/src/main/java/com/mmc/iuav/user/model/vo/ApplyTagEditVO.java
浏览文件 @
abad8eec
...
...
@@ -57,4 +57,6 @@ public class ApplyTagEditVO implements Serializable {
private
Integer
signStatus
;
@ApiModelProperty
(
value
=
"企业视频"
)
private
String
profileUrl
;
@ApiModelProperty
(
value
=
"企业简介"
)
private
String
profileText
;
}
cms-common/cms-common-model/src/main/java/com/mmc/iuav/user/model/vo/CompanyInfoVO.java
浏览文件 @
abad8eec
...
...
@@ -84,6 +84,8 @@ public class CompanyInfoVO implements Serializable {
@ApiModelProperty
(
value
=
"企业视频"
)
private
String
profileUrl
;
@ApiModelProperty
(
value
=
"企业简介"
)
private
String
profileText
;
@ApiModelProperty
(
value
=
"绑定的客服id"
)
private
Integer
companyBindUserId
;
...
...
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/entity/CompanyInfoDO.java
浏览文件 @
abad8eec
...
...
@@ -55,6 +55,8 @@ public class CompanyInfoDO implements Serializable {
private
Double
distance
;
@ApiModelProperty
(
value
=
"企业视频"
)
private
String
profileUrl
;
@ApiModelProperty
(
value
=
"企业简介"
)
private
String
profileText
;
@ApiModelProperty
(
value
=
"加盟标签id"
)
private
Integer
cooperationTagId
;
public
CompanyInfoDO
(
ApplyTagEditVO
applyTagEditVO
)
{
...
...
@@ -64,6 +66,7 @@ public class CompanyInfoDO implements Serializable {
this
.
content
=
applyTagEditVO
.
getContent
();
this
.
score
=
applyTagEditVO
.
getScore
();
this
.
profileUrl
=
applyTagEditVO
.
getProfileUrl
();
this
.
profileText
=
applyTagEditVO
.
getProfileText
();
}
public
CompanyInfoVO
buildCompanyInfoVO
()
{
...
...
@@ -79,6 +82,7 @@ public class CompanyInfoDO implements Serializable {
.
backImg
(
this
.
backImg
)
.
distance
(
this
.
distance
)
.
profileUrl
(
this
.
profileUrl
)
.
profileText
(
this
.
profileText
)
.
cooperationTagId
(
this
.
cooperationTagId
)
.
build
();
}
...
...
csm-service/cms-service-user/src/main/resources/mapper/CompanyDao.xml
浏览文件 @
abad8eec
...
...
@@ -91,6 +91,9 @@
<if
test=
"profileUrl != null"
>
profile_url = #{profileUrl}
</if>
<if
test=
"profileUrl != null"
>
profile_text = #{profileText}
</if>
</set>
where
id = #{id}
...
...
@@ -135,7 +138,7 @@
<select
id=
"getCompanyInfoById"
resultType=
"com.mmc.iuav.user.entity.CompanyInfoDO"
>
select id, company_type, company_name, full_name, province, city, district, address, company_user_name,
phone_num, remark, create_time, lon, lat, credit_code, license_img, brand_name, brand_logo,content, score, back_img,profile_url
phone_num, remark, create_time, lon, lat, credit_code, license_img, brand_name, brand_logo,content, score, back_img,profile_url
,profile_text
from company_info
where id = #{id} and is_deleted = 0
</select>
...
...
@@ -172,7 +175,7 @@
<select
id=
"getCompanyInfoByBackUserAccountId"
resultType=
"com.mmc.iuav.user.entity.CompanyInfoDO"
>
SELECT ci.id, ci.company_type, ci.company_name, ci.full_name, ci.province, ci.city, ci.district, ci.address, ci.company_user_name,cbu.back_user_account_id,
ci.phone_num, ci.remark, ci.create_time,ci.brand_logo, ci.brand_name, ci.license_img, ci.credit_code, ci.content, ci.score,ci.lon,ci.lat, ci.back_img,cm.user_account_id,ut.cooperation_tag_id,
ci.profile_url
ci.profile_url
,ci.profile_text
FROM company_back_user cbu INNER JOIN company_info ci ON ci.id = cbu.company_info_id
left join company_member cm on cm.company_info_id = ci.id
left outer join user_tag ut on ut.user_account_id = cm.user_account_id
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论