Browse Source

考勤多打卡详情新增项目名称

anderx 1 year ago
parent
commit
8642529828

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

@@ -99,7 +99,7 @@ public class ProjectStaffRecord implements Serializable {
     /**
      * 核算状态 0无需核算 1待核算 2已核算
      */
-    private Double checkStatus;
+    private Integer checkStatus;
 
     private static final long serialVersionUID = 1L;
 
@@ -345,14 +345,14 @@ public class ProjectStaffRecord implements Serializable {
     /**
      * 核算状态 0无需核算 1待核算 2已核算
      */
-    public Double getCheckStatus() {
+    public Integer getCheckStatus() {
         return checkStatus;
     }
 
     /**
      * 核算状态 0无需核算 1待核算 2已核算
      */
-    public void setCheckStatus(Double checkStatus) {
+    public void setCheckStatus(Integer checkStatus) {
         this.checkStatus = checkStatus;
     }
 

+ 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-19 16:33:50
+* @createDate 2024-03-21 15:01:46
 * @Entity com.ruoyi.project.domain.ProjectStaffRecord
 */
 public interface ProjectStaffRecordMapper {

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

@@ -22,7 +22,7 @@
             <result property="examineContent" column="examine_content" jdbcType="VARCHAR"/>
             <result property="initDuration" column="init_duration" jdbcType="DOUBLE"/>
             <result property="checkDuration" column="check_duration" jdbcType="DOUBLE"/>
-            <result property="checkStatus" column="check_status" jdbcType="DOUBLE"/>
+            <result property="checkStatus" column="check_status" jdbcType="INTEGER"/>
     </resultMap>
 
     <sql id="Base_Column_List">
@@ -59,7 +59,7 @@
         ,#{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=DOUBLE}
+        ,#{initDuration,jdbcType=DOUBLE},#{checkDuration,jdbcType=DOUBLE},#{checkStatus,jdbcType=INTEGER}
         )
     </insert>
     <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.ruoyi.project.domain.ProjectStaffRecord" useGeneratedKeys="true">
@@ -102,7 +102,7 @@
                 <if test="examineContent != null">#{examineContent,jdbcType=VARCHAR},</if>
                 <if test="initDuration != null">#{initDuration,jdbcType=DOUBLE},</if>
                 <if test="checkDuration != null">#{checkDuration,jdbcType=DOUBLE},</if>
-                <if test="checkStatus != null">#{checkStatus,jdbcType=DOUBLE},</if>
+                <if test="checkStatus != null">#{checkStatus,jdbcType=INTEGER},</if>
         </trim>
     </insert>
     <update id="updateByPrimaryKeySelective" parameterType="com.ruoyi.project.domain.ProjectStaffRecord">
@@ -157,7 +157,7 @@
                     check_duration = #{checkDuration,jdbcType=DOUBLE},
                 </if>
                 <if test="checkStatus != null">
-                    check_status = #{checkStatus,jdbcType=DOUBLE},
+                    check_status = #{checkStatus,jdbcType=INTEGER},
                 </if>
         </set>
         where   id = #{id,jdbcType=BIGINT} 
@@ -181,7 +181,7 @@
             examine_content =  #{examineContent,jdbcType=VARCHAR},
             init_duration =  #{initDuration,jdbcType=DOUBLE},
             check_duration =  #{checkDuration,jdbcType=DOUBLE},
-            check_status =  #{checkStatus,jdbcType=DOUBLE}
+            check_status =  #{checkStatus,jdbcType=INTEGER}
         where   id = #{id,jdbcType=BIGINT} 
     </update>
     <select id="selectList" resultType="com.ruoyi.project.bo.ProjectStaffRecordOut">