Commit 89b6343c authored by daniel's avatar daniel

feat(richText): 自助服务优化

parent d1d799da
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
, del_flg , del_flg
, create_time , create_time
, create_user , create_user
, cmpt_id) , cmpt_id
, icon_url)
VALUES ( #{userId} VALUES ( #{userId}
, #{type} , #{type}
, #{path} , #{path}
...@@ -42,7 +43,8 @@ ...@@ -42,7 +43,8 @@
, '0' , '0'
, now() , now()
, #{userId} , #{userId}
, #{cmptId}) , #{cmptId}
, #{iconUrl})
</insert> </insert>
<update id="update"> <update id="update">
...@@ -60,6 +62,7 @@ ...@@ -60,6 +62,7 @@
,lat = #{lat} ,lat = #{lat}
,content = #{content} ,content = #{content}
,img_url = #{imgUrl} ,img_url = #{imgUrl}
,icon_url = #{iconUrl}
,remark1 = #{remark1} ,remark1 = #{remark1}
,remark2 = #{remark2} ,remark2 = #{remark2}
,remark3 = #{remark3} ,remark3 = #{remark3}
...@@ -102,6 +105,7 @@ ...@@ -102,6 +105,7 @@
, remark4 , remark4
, status , status
, module_id AS moduleId , module_id AS moduleId
,icon_url AS iconUrl
FROM gksite.gk_rich_text FROM gksite.gk_rich_text
WHERE id = #{id} WHERE id = #{id}
</select> </select>
...@@ -124,6 +128,7 @@ ...@@ -124,6 +128,7 @@
,status ,status
,module_id AS moduleId ,module_id AS moduleId
,content ,content
,icon_url AS iconUrl
FROM FROM
gksite.gk_rich_text gksite.gk_rich_text
WHERE WHERE
......
...@@ -21,6 +21,7 @@ public class RichText { ...@@ -21,6 +21,7 @@ public class RichText {
private Double lat; private Double lat;
private String content; private String content;
private String imgUrl; private String imgUrl;
private String iconUrl;
private String remark1; private String remark1;
private String remark2; private String remark2;
private String remark3; private String remark3;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment