Browse Source

项目上链修改

anderx 1 year ago
parent
commit
d0878a59e4

+ 23 - 1
ruoyi-system/src/main/java/com/ruoyi/project/domain/ProjectStaffRecord.java

@@ -101,6 +101,11 @@ public class ProjectStaffRecord implements Serializable {
      */
     private Integer checkStatus;
 
+    /**
+     * 天河存证url
+     */
+    private String tianheUrl;
+
     private static final long serialVersionUID = 1L;
 
     /**
@@ -356,6 +361,20 @@ public class ProjectStaffRecord implements Serializable {
         this.checkStatus = checkStatus;
     }
 
+    /**
+     * 天河存证url
+     */
+    public String getTianheUrl() {
+        return tianheUrl;
+    }
+
+    /**
+     * 天河存证url
+     */
+    public void setTianheUrl(String tianheUrl) {
+        this.tianheUrl = tianheUrl;
+    }
+
     @Override
     public boolean equals(Object that) {
         if (this == that) {
@@ -385,7 +404,8 @@ public class ProjectStaffRecord implements Serializable {
             && (this.getExamineContent() == null ? other.getExamineContent() == null : this.getExamineContent().equals(other.getExamineContent()))
             && (this.getInitDuration() == null ? other.getInitDuration() == null : this.getInitDuration().equals(other.getInitDuration()))
             && (this.getCheckDuration() == null ? other.getCheckDuration() == null : this.getCheckDuration().equals(other.getCheckDuration()))
-            && (this.getCheckStatus() == null ? other.getCheckStatus() == null : this.getCheckStatus().equals(other.getCheckStatus()));
+            && (this.getCheckStatus() == null ? other.getCheckStatus() == null : this.getCheckStatus().equals(other.getCheckStatus()))
+            && (this.getTianheUrl() == null ? other.getTianheUrl() == null : this.getTianheUrl().equals(other.getTianheUrl()));
     }
 
     @Override
@@ -410,6 +430,7 @@ public class ProjectStaffRecord implements Serializable {
         result = prime * result + ((getInitDuration() == null) ? 0 : getInitDuration().hashCode());
         result = prime * result + ((getCheckDuration() == null) ? 0 : getCheckDuration().hashCode());
         result = prime * result + ((getCheckStatus() == null) ? 0 : getCheckStatus().hashCode());
+        result = prime * result + ((getTianheUrl() == null) ? 0 : getTianheUrl().hashCode());
         return result;
     }
 
@@ -437,6 +458,7 @@ public class ProjectStaffRecord implements Serializable {
         sb.append(", initDuration=").append(initDuration);
         sb.append(", checkDuration=").append(checkDuration);
         sb.append(", checkStatus=").append(checkStatus);
+        sb.append(", tianheUrl=").append(tianheUrl);
         sb.append(", serialVersionUID=").append(serialVersionUID);
         sb.append("]");
         return sb.toString();

+ 1 - 1
ruoyi-system/src/main/java/com/ruoyi/project/mapper/ProjectStaffRecordMapper.java

@@ -13,7 +13,7 @@ import java.util.List;
 /**
 * @author Administrator
 * @description 针对表【project_staff_record(项目人员记录表)】的数据库操作Mapper
-* @createDate 2024-03-21 15:01:46
+* @createDate 2024-06-26 16:41:31
 * @Entity com.ruoyi.project.domain.ProjectStaffRecord
 */
 public interface ProjectStaffRecordMapper {

+ 12 - 4
ruoyi-system/src/main/resources/mapper/project/ProjectStaffRecordMapper.xml

@@ -23,6 +23,7 @@
             <result property="initDuration" column="init_duration" jdbcType="DOUBLE"/>
             <result property="checkDuration" column="check_duration" jdbcType="DOUBLE"/>
             <result property="checkStatus" column="check_status" jdbcType="INTEGER"/>
+            <result property="tianheUrl" column="tianhe_url" jdbcType="VARCHAR"/>
     </resultMap>
 
     <sql id="Base_Column_List">
@@ -31,7 +32,8 @@
         annex_url,create_time,process_status,
         duration,examine_id,examine_time,
         examine_name,record_time,examine_content,
-        init_duration,check_duration,check_status
+        init_duration,check_duration,check_status,
+        tianhe_url
     </sql>
 
     <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
@@ -53,14 +55,14 @@
         ,duration,examine_id,examine_time
         ,examine_name,record_time,examine_content
         ,init_duration,check_duration,check_status
-        )
+        ,tianhe_url)
         values (#{id,jdbcType=BIGINT},#{pid,jdbcType=BIGINT},#{aid,jdbcType=BIGINT}
         ,#{name,jdbcType=VARCHAR},#{projectStatus,jdbcType=INTEGER},#{content,jdbcType=VARCHAR}
         ,#{annexUrl,jdbcType=VARCHAR},#{createTime,jdbcType=TIMESTAMP},#{processStatus,jdbcType=INTEGER}
         ,#{duration,jdbcType=DOUBLE},#{examineId,jdbcType=BIGINT},#{examineTime,jdbcType=TIMESTAMP}
         ,#{examineName,jdbcType=VARCHAR},#{recordTime,jdbcType=TIMESTAMP},#{examineContent,jdbcType=VARCHAR}
         ,#{initDuration,jdbcType=DOUBLE},#{checkDuration,jdbcType=DOUBLE},#{checkStatus,jdbcType=INTEGER}
-        )
+        ,#{tianheUrl,jdbcType=VARCHAR})
     </insert>
     <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.ruoyi.project.domain.ProjectStaffRecord" useGeneratedKeys="true">
         insert into project_staff_record
@@ -83,6 +85,7 @@
                 <if test="initDuration != null">init_duration,</if>
                 <if test="checkDuration != null">check_duration,</if>
                 <if test="checkStatus != null">check_status,</if>
+                <if test="tianheUrl != null">tianhe_url,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
                 <if test="id != null">#{id,jdbcType=BIGINT},</if>
@@ -103,6 +106,7 @@
                 <if test="initDuration != null">#{initDuration,jdbcType=DOUBLE},</if>
                 <if test="checkDuration != null">#{checkDuration,jdbcType=DOUBLE},</if>
                 <if test="checkStatus != null">#{checkStatus,jdbcType=INTEGER},</if>
+                <if test="tianheUrl != null">#{tianheUrl,jdbcType=VARCHAR},</if>
         </trim>
     </insert>
     <update id="updateByPrimaryKeySelective" parameterType="com.ruoyi.project.domain.ProjectStaffRecord">
@@ -159,6 +163,9 @@
                 <if test="checkStatus != null">
                     check_status = #{checkStatus,jdbcType=INTEGER},
                 </if>
+                <if test="tianheUrl != null">
+                    tianhe_url = #{tianheUrl,jdbcType=VARCHAR},
+                </if>
         </set>
         where   id = #{id,jdbcType=BIGINT} 
     </update>
@@ -181,7 +188,8 @@
             examine_content =  #{examineContent,jdbcType=VARCHAR},
             init_duration =  #{initDuration,jdbcType=DOUBLE},
             check_duration =  #{checkDuration,jdbcType=DOUBLE},
-            check_status =  #{checkStatus,jdbcType=INTEGER}
+            check_status =  #{checkStatus,jdbcType=INTEGER},
+            tianhe_url =  #{tianheUrl,jdbcType=VARCHAR}
         where   id = #{id,jdbcType=BIGINT} 
     </update>
     <select id="selectList" resultType="com.ruoyi.project.bo.ProjectStaffRecordOut">