浏览代码

后台管理界面实体类及接口修改

zhanghao 2 月之前
父节点
当前提交
7c3a0af220

+ 12 - 0
project-zcustom/src/main/java/com/project/zcustom/domain/addional/LargeIssue.java

@@ -35,6 +35,12 @@ public class LargeIssue extends CustomBaseEntity {
     private Long id;
 
     /**
+     * 问题标题
+     */
+    @ApiModelProperty("问题标题")
+    private String title;
+
+    /**
      * 问题描述
      */
     @Excel(name = "问题描述")
@@ -42,6 +48,12 @@ public class LargeIssue extends CustomBaseEntity {
     private String description;
 
     /**
+     * 整改要求
+     */
+    @ApiModelProperty("整改要求")
+    private String need;
+
+    /**
      * 所属项目id
      */
     @Excel(name = "所属项目id")

+ 1 - 0
project-zcustom/src/main/resources/mapper/zcustom/unit/LargeIssueMapper.xml

@@ -31,6 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="projectId != null "> and a.project_id = #{projectId}</if>
             <if test="status != null  and status != ''"> and status = #{status}</if>
         </where>
+        order by a.create_time desc
     </select>
 
     <select id="selectLargeIssueById" parameterType="Long" resultMap="LargeIssueResult">