Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
ims
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
ims
Commits
e483d18c
提交
e483d18c
authored
6月 20, 2023
作者:
zhenjie
提交者:
余乾开
7月 01, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化
上级
e1b173e8
显示空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
23 行增加
和
19 行删除
+23
-19
RequirementsInfoVO.java
...in/java/com/mmc/csf/infomation/vo/RequirementsInfoVO.java
+1
-1
IndustryCaseDao.java
...rc/main/java/com/mmc/csf/release/dao/IndustryCaseDao.java
+1
-1
IndustryNewsDao.java
...rc/main/java/com/mmc/csf/release/dao/IndustryNewsDao.java
+1
-2
RequirementsInfoDO.java
...n/java/com/mmc/csf/release/entity/RequirementsInfoDO.java
+2
-1
RequirementsTypeDO.java
...n/java/com/mmc/csf/release/entity/RequirementsTypeDO.java
+1
-0
IndustryCaseDO.java
...om/mmc/csf/release/entity/information/IndustryCaseDO.java
+3
-1
IndustryNewsDO.java
...om/mmc/csf/release/entity/information/IndustryNewsDO.java
+2
-1
IndustryCaseServiceImpl.java
...mmc/csf/release/service/impl/IndustryCaseServiceImpl.java
+1
-1
IndustryNewsServiceImpl.java
...mmc/csf/release/service/impl/IndustryNewsServiceImpl.java
+1
-1
IndustryCaseDao.xml
...ervice/src/main/resources/mapper/case/IndustryCaseDao.xml
+4
-4
IndustryNewsDao.xml
...ervice/src/main/resources/mapper/news/IndustryNewsDao.xml
+6
-6
没有找到文件。
csf-common/csf-common-model/src/main/java/com/mmc/csf/infomation/vo/RequirementsInfoVO.java
浏览文件 @
e483d18c
...
@@ -50,7 +50,7 @@ public class RequirementsInfoVO implements Serializable {
...
@@ -50,7 +50,7 @@ public class RequirementsInfoVO implements Serializable {
@NotNull
(
message
=
"需求描述不能为空"
,
groups
=
{
Insert
.
class
})
@NotNull
(
message
=
"需求描述不能为空"
,
groups
=
{
Insert
.
class
})
private
String
requireDescription
;
private
String
requireDescription
;
@ApiModelProperty
(
value
=
"是否已解决"
)
@ApiModelProperty
(
value
=
"是否已解决"
)
private
Integer
solved
;
private
Boolean
solved
;
@ApiModelProperty
(
value
=
"创建时间"
)
@ApiModelProperty
(
value
=
"创建时间"
)
private
Date
createTime
;
private
Date
createTime
;
@ApiModelProperty
(
value
=
"更新时间"
)
@ApiModelProperty
(
value
=
"更新时间"
)
...
...
release-service/src/main/java/com/mmc/csf/release/dao/IndustryCaseDao.java
浏览文件 @
e483d18c
package
com
.
mmc
.
csf
.
release
.
dao
;
package
com
.
mmc
.
csf
.
release
.
dao
;
import
com.mmc.csf.infomation.qo.IndustryCaseQO
;
import
com.mmc.csf.infomation.qo.IndustryCaseQO
;
import
com.mmc.csf.release.entity.IndustryCaseDO
;
import
com.mmc.csf.release.entity.
information.
IndustryCaseDO
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
java.util.List
;
import
java.util.List
;
...
...
release-service/src/main/java/com/mmc/csf/release/dao/IndustryNewsDao.java
浏览文件 @
e483d18c
...
@@ -2,8 +2,7 @@ package com.mmc.csf.release.dao;
...
@@ -2,8 +2,7 @@ package com.mmc.csf.release.dao;
import
com.mmc.csf.infomation.qo.IndustryCaseQO
;
import
com.mmc.csf.infomation.qo.IndustryCaseQO
;
import
com.mmc.csf.infomation.qo.IndustryNewsQO
;
import
com.mmc.csf.infomation.qo.IndustryNewsQO
;
import
com.mmc.csf.infomation.vo.IndustryNewsVO
;
import
com.mmc.csf.release.entity.information.IndustryNewsDO
;
import
com.mmc.csf.release.entity.IndustryNewsDO
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
java.util.List
;
import
java.util.List
;
...
...
release-service/src/main/java/com/mmc/csf/release/entity/RequirementsInfoDO.java
浏览文件 @
e483d18c
...
@@ -27,7 +27,8 @@ public class RequirementsInfoDO implements Serializable {
...
@@ -27,7 +27,8 @@ public class RequirementsInfoDO implements Serializable {
private
String
publishPhone
;
private
String
publishPhone
;
private
String
requireDescription
;
private
String
requireDescription
;
private
Integer
deleted
;
private
Integer
deleted
;
private
Integer
solved
;
//是否解决
private
Boolean
solved
;
private
Date
createTime
;
private
Date
createTime
;
private
Date
updateTime
;
private
Date
updateTime
;
...
...
release-service/src/main/java/com/mmc/csf/release/entity/RequirementsTypeDO.java
浏览文件 @
e483d18c
...
@@ -9,6 +9,7 @@ import java.io.Serializable;
...
@@ -9,6 +9,7 @@ import java.io.Serializable;
import
java.util.Date
;
import
java.util.Date
;
/**
/**
* @description 需求类型 用枚举
* @author: zj
* @author: zj
* @Date: 2023/5/18 15:02
* @Date: 2023/5/18 15:02
*/
*/
...
...
release-service/src/main/java/com/mmc/csf/release/entity/IndustryCaseDO.java
→
release-service/src/main/java/com/mmc/csf/release/entity/
information/
IndustryCaseDO.java
浏览文件 @
e483d18c
package
com
.
mmc
.
csf
.
release
.
entity
;
package
com
.
mmc
.
csf
.
release
.
entity
.
information
;
import
com.mmc.csf.infomation.vo.IndustryCaseVO
;
import
com.mmc.csf.infomation.vo.IndustryCaseVO
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
...
@@ -9,6 +9,7 @@ import java.io.Serializable;
...
@@ -9,6 +9,7 @@ import java.io.Serializable;
import
java.util.Date
;
import
java.util.Date
;
/**
/**
* @description 项目案例
* @author: zj
* @author: zj
* @Date: 2023/5/19 11:27
* @Date: 2023/5/19 11:27
*/
*/
...
@@ -20,6 +21,7 @@ public class IndustryCaseDO implements Serializable {
...
@@ -20,6 +21,7 @@ public class IndustryCaseDO implements Serializable {
private
Integer
id
;
private
Integer
id
;
private
String
caseTitle
;
private
String
caseTitle
;
private
String
caseAuthor
;
private
String
caseAuthor
;
//发布者id
private
Integer
userAccountId
;
private
Integer
userAccountId
;
private
String
surfaceImg
;
private
String
surfaceImg
;
private
String
caseContents
;
private
String
caseContents
;
...
...
release-service/src/main/java/com/mmc/csf/release/entity/IndustryNewsDO.java
→
release-service/src/main/java/com/mmc/csf/release/entity/
information/
IndustryNewsDO.java
浏览文件 @
e483d18c
package
com
.
mmc
.
csf
.
release
.
entity
;
package
com
.
mmc
.
csf
.
release
.
entity
.
information
;
import
com.mmc.csf.infomation.vo.IndustryNewsDTO
;
import
com.mmc.csf.infomation.vo.IndustryNewsDTO
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
...
@@ -11,6 +11,7 @@ import java.io.Serializable;
...
@@ -11,6 +11,7 @@ import java.io.Serializable;
import
java.util.Date
;
import
java.util.Date
;
/**
/**
* @description 行业新闻
* @author: zj
* @author: zj
* @Date: 2023/5/19 11:20
* @Date: 2023/5/19 11:20
*/
*/
...
...
release-service/src/main/java/com/mmc/csf/release/service/impl/IndustryCaseServiceImpl.java
浏览文件 @
e483d18c
...
@@ -7,7 +7,7 @@ import com.mmc.csf.infomation.vo.IndustryCaseVO;
...
@@ -7,7 +7,7 @@ import com.mmc.csf.infomation.vo.IndustryCaseVO;
import
com.mmc.csf.release.auth.dto.LoginSuccessDTO
;
import
com.mmc.csf.release.auth.dto.LoginSuccessDTO
;
import
com.mmc.csf.release.constant.TokenConstant
;
import
com.mmc.csf.release.constant.TokenConstant
;
import
com.mmc.csf.release.dao.IndustryCaseDao
;
import
com.mmc.csf.release.dao.IndustryCaseDao
;
import
com.mmc.csf.release.entity.IndustryCaseDO
;
import
com.mmc.csf.release.entity.
information.
IndustryCaseDO
;
import
com.mmc.csf.release.feign.UserAppApi
;
import
com.mmc.csf.release.feign.UserAppApi
;
import
com.mmc.csf.release.service.IndustryCaseService
;
import
com.mmc.csf.release.service.IndustryCaseService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
release-service/src/main/java/com/mmc/csf/release/service/impl/IndustryNewsServiceImpl.java
浏览文件 @
e483d18c
...
@@ -9,7 +9,7 @@ import com.mmc.csf.infomation.vo.IndustryNewsDTO;
...
@@ -9,7 +9,7 @@ import com.mmc.csf.infomation.vo.IndustryNewsDTO;
import
com.mmc.csf.infomation.vo.IndustryNewsVO
;
import
com.mmc.csf.infomation.vo.IndustryNewsVO
;
import
com.mmc.csf.release.constant.TokenConstant
;
import
com.mmc.csf.release.constant.TokenConstant
;
import
com.mmc.csf.release.dao.IndustryNewsDao
;
import
com.mmc.csf.release.dao.IndustryNewsDao
;
import
com.mmc.csf.release.entity.IndustryNewsDO
;
import
com.mmc.csf.release.entity.
information.
IndustryNewsDO
;
import
com.mmc.csf.release.feign.UserAppApi
;
import
com.mmc.csf.release.feign.UserAppApi
;
import
com.mmc.csf.release.service.IndustryNewsService
;
import
com.mmc.csf.release.service.IndustryNewsService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
release-service/src/main/resources/mapper/case/IndustryCaseDao.xml
浏览文件 @
e483d18c
...
@@ -3,12 +3,12 @@
...
@@ -3,12 +3,12 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.mmc.csf.release.dao.IndustryCaseDao"
>
<mapper
namespace=
"com.mmc.csf.release.dao.IndustryCaseDao"
>
<insert
id=
"insertIndustryCase"
parameterType=
"com.mmc.csf.release.entity.IndustryCaseDO"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
<insert
id=
"insertIndustryCase"
parameterType=
"com.mmc.csf.release.entity.
information.
IndustryCaseDO"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into industry_case(case_title, case_author, user_account_id, surface_img, case_contents, origin, create_time)
insert into industry_case(case_title, case_author, user_account_id, surface_img, case_contents, origin, create_time)
values(#{caseTitle}, #{caseAuthor}, #{userAccountId}, #{surfaceImg}, #{caseContents}, #{origin}, NOW())
values(#{caseTitle}, #{caseAuthor}, #{userAccountId}, #{surfaceImg}, #{caseContents}, #{origin}, NOW())
</insert>
</insert>
<update
id=
"updateCase"
parameterType=
"com.mmc.csf.release.entity.IndustryCaseDO"
>
<update
id=
"updateCase"
parameterType=
"com.mmc.csf.release.entity.
information.
IndustryCaseDO"
>
update industry_case
update industry_case
<set>
<set>
<if
test=
"caseTitle != null"
>
<if
test=
"caseTitle != null"
>
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</if>
</if>
</select>
</select>
<select
id=
"listCasePage"
resultType=
"com.mmc.csf.release.entity.IndustryCaseDO"
parameterType=
"com.mmc.csf.infomation.qo.IndustryCaseQO"
>
<select
id=
"listCasePage"
resultType=
"com.mmc.csf.release.entity.
information.
IndustryCaseDO"
parameterType=
"com.mmc.csf.infomation.qo.IndustryCaseQO"
>
select id,
select id,
case_title,
case_title,
case_author,
case_author,
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
limit #{pageNo}, #{pageSize}
limit #{pageNo}, #{pageSize}
</select>
</select>
<select
id=
"details"
resultType=
"com.mmc.csf.release.entity.IndustryCaseDO"
>
<select
id=
"details"
resultType=
"com.mmc.csf.release.entity.
information.
IndustryCaseDO"
>
select id,
select id,
case_title,
case_title,
case_author,
case_author,
...
...
release-service/src/main/resources/mapper/news/IndustryNewsDao.xml
浏览文件 @
e483d18c
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
</if>
</if>
</select>
</select>
<select
id=
"listNewsPage"
resultType=
"com.mmc.csf.release.entity.IndustryNewsDO"
<select
id=
"listNewsPage"
resultType=
"com.mmc.csf.release.entity.
information.
IndustryNewsDO"
parameterType=
"com.mmc.csf.infomation.qo.IndustryCaseQO"
>
parameterType=
"com.mmc.csf.infomation.qo.IndustryCaseQO"
>
select id,
select id,
news_title,
news_title,
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
limit #{pageNo}, #{pageSize}
limit #{pageNo}, #{pageSize}
</select>
</select>
<select
id=
"details"
resultType=
"com.mmc.csf.release.entity.IndustryNewsDO"
>
<select
id=
"details"
resultType=
"com.mmc.csf.release.entity.
information.
IndustryNewsDO"
>
select id,
select id,
news_title,
news_title,
news_author,
news_author,
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
where is_deleted = 0
where is_deleted = 0
and id = #{id}
and id = #{id}
</select>
</select>
<select
id=
"count"
resultType=
"java.lang.Integer"
parameterType=
"com.mmc.csf.release.entity.IndustryNewsDO"
>
<select
id=
"count"
resultType=
"java.lang.Integer"
parameterType=
"com.mmc.csf.release.entity.
information.
IndustryNewsDO"
>
select count(*)
select count(*)
from industry_news
from industry_news
<where>
<where>
...
@@ -84,14 +84,14 @@
...
@@ -84,14 +84,14 @@
</where>
</where>
</select>
</select>
<insert
id=
"insert"
parameterType=
"com.mmc.csf.release.entity.IndustryNewsDO"
useGeneratedKeys=
"true"
<insert
id=
"insert"
parameterType=
"com.mmc.csf.release.entity.
information.
IndustryNewsDO"
useGeneratedKeys=
"true"
keyColumn=
"id"
>
keyColumn=
"id"
>
insert into industry_news(news_title, news_author, user_account_id, surface_img, news_contents, origin,
insert into industry_news(news_title, news_author, user_account_id, surface_img, news_contents, origin,
create_time)
create_time)
values (#{newsTitle}, #{newsAuthor}, #{userAccountId}, #{surfaceImg}, #{newsContents}, #{origin}, now())
values (#{newsTitle}, #{newsAuthor}, #{userAccountId}, #{surfaceImg}, #{newsContents}, #{origin}, now())
</insert>
</insert>
<update
id=
"update"
parameterType=
"com.mmc.csf.release.entity.IndustryNewsDO"
>
<update
id=
"update"
parameterType=
"com.mmc.csf.release.entity.
information.
IndustryNewsDO"
>
update industry_news
update industry_news
<set>
<set>
<if
test=
"newsTitle != null and newsTitle != ''"
>
<if
test=
"newsTitle != null and newsTitle != ''"
>
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
</select>
</select>
<select
id=
"backgroundListNewsPage"
parameterType=
"com.mmc.csf.infomation.qo.IndustryNewsQO"
<select
id=
"backgroundListNewsPage"
parameterType=
"com.mmc.csf.infomation.qo.IndustryNewsQO"
resultType=
"com.mmc.csf.release.entity.IndustryNewsDO"
>
resultType=
"com.mmc.csf.release.entity.
information.
IndustryNewsDO"
>
select id,
select id,
news_title,
news_title,
news_author,
news_author,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论