ソースを参照

咨询客户详情开发

anderx 1 年間 前
コミット
a95995c6f6

+ 85 - 0
src/main/java/com/goafanti/common/dao/TaskDetailsExtendMapper.java

@@ -0,0 +1,85 @@
+package com.goafanti.common.dao;
+
+import com.goafanti.common.model.TaskDetailsExtend;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.data.domain.Pageable;
+
+import java.util.List;
+
+/**
+ * 项目申报详情扩展表(TaskDetailsExtend)表数据库访问层
+ *
+ * @author makejava
+ * @since 2024-12-26 17:12:02
+ */
+public interface TaskDetailsExtendMapper {
+
+    /**
+     * 通过ID查询单条数据
+     *
+     * @param id 主键
+     * @return 实例对象
+     */
+    TaskDetailsExtend selectById(Integer id);
+
+
+    /**
+     * 查询指定行数据
+     *
+     * @param taskDetailsExtend 查询条件
+     * @param pageable          分页对象
+     * @return 对象列表
+     */
+    List<TaskDetailsExtend> findTaskDetailsExtendList(TaskDetailsExtend taskDetailsExtend, @Param("pageable") Pageable pageable);
+
+    /**
+     * 统计总行数
+     *
+     * @param taskDetailsExtend 查询条件
+     * @return 总行数
+     */
+    int findTaskDetailsExtendCount(TaskDetailsExtend taskDetailsExtend);
+
+    /**
+     * 新增数据
+     *
+     * @param taskDetailsExtend 实例对象
+     * @return 影响行数
+     */
+    int insert(TaskDetailsExtend taskDetailsExtend);
+
+    /**
+     * 批量新增数据(MyBatis原生foreach方法)
+     *
+     * @param entities List<TaskDetailsExtend> 实例对象列表
+     * @return 影响行数
+     */
+    int insertBatch(@Param("entities") List<TaskDetailsExtend> entities);
+
+    /**
+     * 批量新增或按主键更新数据(MyBatis原生foreach方法)
+     *
+     * @param entities List<TaskDetailsExtend> 实例对象列表
+     * @return 影响行数
+     * @throws org.springframework.jdbc.BadSqlGrammarException 入参是空List的时候会抛SQL语句错误的异常,请自行校验入参
+     */
+    int insertOrUpdateBatch(@Param("entities") List<TaskDetailsExtend> entities);
+
+    /**
+     * 修改数据
+     *
+     * @param taskDetailsExtend 实例对象
+     * @return 影响行数
+     */
+    int update(TaskDetailsExtend taskDetailsExtend);
+
+    /**
+     * 通过主键删除数据
+     *
+     * @param id 主键
+     * @return 影响行数
+     */
+    int deleteById(Integer id);
+
+}
+

+ 85 - 0
src/main/java/com/goafanti/common/dao/TaskDetailsMapper.java

@@ -0,0 +1,85 @@
+package com.goafanti.common.dao;
+
+import com.goafanti.common.model.TaskDetails;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.data.domain.Pageable;
+
+import java.util.List;
+
+/**
+ * 项目申报详情(TaskDetails)表数据库访问层
+ *
+ * @author makejava
+ * @since 2024-12-26 17:11:50
+ */
+public interface TaskDetailsMapper {
+
+    /**
+     * 通过ID查询单条数据
+     *
+     * @param id 主键
+     * @return 实例对象
+     */
+    TaskDetails selectById(Integer id);
+
+
+    /**
+     * 查询指定行数据
+     *
+     * @param taskDetails 查询条件
+     * @param pageable    分页对象
+     * @return 对象列表
+     */
+    List<TaskDetails> findTaskDetailsList(TaskDetails taskDetails, @Param("pageable") Pageable pageable);
+
+    /**
+     * 统计总行数
+     *
+     * @param taskDetails 查询条件
+     * @return 总行数
+     */
+    int findTaskDetailsCount(TaskDetails taskDetails);
+
+    /**
+     * 新增数据
+     *
+     * @param taskDetails 实例对象
+     * @return 影响行数
+     */
+    int insert(TaskDetails taskDetails);
+
+    /**
+     * 批量新增数据(MyBatis原生foreach方法)
+     *
+     * @param entities List<TaskDetails> 实例对象列表
+     * @return 影响行数
+     */
+    int insertBatch(@Param("entities") List<TaskDetails> entities);
+
+    /**
+     * 批量新增或按主键更新数据(MyBatis原生foreach方法)
+     *
+     * @param entities List<TaskDetails> 实例对象列表
+     * @return 影响行数
+     * @throws org.springframework.jdbc.BadSqlGrammarException 入参是空List的时候会抛SQL语句错误的异常,请自行校验入参
+     */
+    int insertOrUpdateBatch(@Param("entities") List<TaskDetails> entities);
+
+    /**
+     * 修改数据
+     *
+     * @param taskDetails 实例对象
+     * @return 影响行数
+     */
+    int update(TaskDetails taskDetails);
+
+    /**
+     * 通过主键删除数据
+     *
+     * @param id 主键
+     * @return 影响行数
+     */
+    int deleteById(Integer id);
+
+}
+

+ 85 - 0
src/main/java/com/goafanti/common/dao/TaskDetailsSupplementMapper.java

@@ -0,0 +1,85 @@
+package com.goafanti.common.dao;
+
+import com.goafanti.common.model.TaskDetailsSupplement;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.data.domain.Pageable;
+
+import java.util.List;
+
+/**
+ * 项目申报详情补充表(TaskDetailsSupplement)表数据库访问层
+ *
+ * @author makejava
+ * @since 2024-12-26 17:12:11
+ */
+public interface TaskDetailsSupplementMapper {
+
+    /**
+     * 通过ID查询单条数据
+     *
+     * @param id 主键
+     * @return 实例对象
+     */
+    TaskDetailsSupplement selectById(Integer id);
+
+
+    /**
+     * 查询指定行数据
+     *
+     * @param taskDetailsSupplement 查询条件
+     * @param pageable              分页对象
+     * @return 对象列表
+     */
+    List<TaskDetailsSupplement> findTaskDetailsSupplementList(TaskDetailsSupplement taskDetailsSupplement, @Param("pageable") Pageable pageable);
+
+    /**
+     * 统计总行数
+     *
+     * @param taskDetailsSupplement 查询条件
+     * @return 总行数
+     */
+    int findTaskDetailsSupplementCount(TaskDetailsSupplement taskDetailsSupplement);
+
+    /**
+     * 新增数据
+     *
+     * @param taskDetailsSupplement 实例对象
+     * @return 影响行数
+     */
+    int insert(TaskDetailsSupplement taskDetailsSupplement);
+
+    /**
+     * 批量新增数据(MyBatis原生foreach方法)
+     *
+     * @param entities List<TaskDetailsSupplement> 实例对象列表
+     * @return 影响行数
+     */
+    int insertBatch(@Param("entities") List<TaskDetailsSupplement> entities);
+
+    /**
+     * 批量新增或按主键更新数据(MyBatis原生foreach方法)
+     *
+     * @param entities List<TaskDetailsSupplement> 实例对象列表
+     * @return 影响行数
+     * @throws org.springframework.jdbc.BadSqlGrammarException 入参是空List的时候会抛SQL语句错误的异常,请自行校验入参
+     */
+    int insertOrUpdateBatch(@Param("entities") List<TaskDetailsSupplement> entities);
+
+    /**
+     * 修改数据
+     *
+     * @param taskDetailsSupplement 实例对象
+     * @return 影响行数
+     */
+    int update(TaskDetailsSupplement taskDetailsSupplement);
+
+    /**
+     * 通过主键删除数据
+     *
+     * @param id 主键
+     * @return 影响行数
+     */
+    int deleteById(Integer id);
+
+}
+

+ 359 - 0
src/main/java/com/goafanti/common/mapper/TaskDetailsExtendMapper.xml

@@ -0,0 +1,359 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.goafanti.common.dao.TaskDetailsExtendMapper">
+
+    <resultMap type="com.goafanti.common.model.TaskDetailsExtend" id="TaskDetailsExtendMap">
+        <result property="id" column="id" jdbcType="INTEGER"/>
+        <result property="rdReservesStatus" column="rd_reserves_status" jdbcType="INTEGER"/>
+        <result property="rdReservesOther" column="rd_reserves_other" jdbcType="VARCHAR"/>
+        <result property="rdAwardCompensationStatus" column="rd_award_compensation_status" jdbcType="INTEGER"/>
+        <result property="rdAwardCompensationOther" column="rd_award_compensation_other" jdbcType="VARCHAR"/>
+        <result property="rdApplicationFee" column="rd_application_fee" jdbcType="VARCHAR"/>
+        <result property="rdAnnouncementAmount" column="rd_announcement_amount" jdbcType="VARCHAR"/>
+        <result property="adDeliverStatus" column="ad_deliver_status" jdbcType="INTEGER"/>
+        <result property="adDeliverOther" column="ad_deliver_other" jdbcType="VARCHAR"/>
+        <result property="adDeliverFinish" column="ad_deliver_finish" jdbcType="INTEGER"/>
+        <result property="htDeliverStatus" column="ht_deliver_status" jdbcType="INTEGER"/>
+        <result property="htDeliverOther" column="ht_deliver_other" jdbcType="VARCHAR"/>
+        <result property="htDeliverFinish" column="ht_deliver_finish" jdbcType="INTEGER"/>
+        <result property="closeMeetingStatus" column="close_meeting_status" jdbcType="INTEGER"/>
+        <result property="closeMeeting_Other" column="close_meeting__other" jdbcType="VARCHAR"/>
+        <result property="phasedType" column="phased_type" jdbcType="INTEGER"/>
+        <result property="phasedContent" column="phased_content" jdbcType="VARCHAR"/>
+        <result property="prjectApprovalWriteNumber" column="prject_approval_write_number" jdbcType="INTEGER"/>
+        <result property="prjectApprovalWriteRate" column="prject_approval_write_rate" jdbcType="NUMERIC"/>
+        <result property="adPrepareJulyStatus" column="ad_prepare_july_status" jdbcType="INTEGER"/>
+        <result property="adPrepareJulyOther" column="ad_prepare_july_other" jdbcType="VARCHAR"/>
+        <result property="adPrepareOctoberStatus" column="ad_prepare_october_status" jdbcType="INTEGER"/>
+        <result property="adPrepareOctoberOther" column="ad_prepare_october_other" jdbcType="VARCHAR"/>
+    </resultMap>
+
+    <sql id="TaskDetailsExtendAllSql">
+        id, rd_reserves_status, rd_reserves_other, rd_award_compensation_status, rd_award_compensation_other, rd_application_fee, rd_announcement_amount, ad_deliver_status, ad_deliver_other, ad_deliver_finish, ht_deliver_status, ht_deliver_other, ht_deliver_finish, close_meeting_status, close_meeting__other, phased_type, phased_content, prject_approval_write_number, prject_approval_write_rate, ad_prepare_july_status, ad_prepare_july_other, ad_prepare_october_status, ad_prepare_october_other
+    </sql>
+
+    <!--查询单个-->
+    <select id="selectById" resultMap="TaskDetailsExtendMap">
+        select
+        <include refid="TaskDetailsExtendAllSql"/>
+        from task_details_extend
+        where id = #{id}
+    </select>
+
+    <!--新增所有列-->
+    <insert id="insert" keyProperty="id" useGeneratedKeys="true">
+        insert into task_details_extend(rd_reserves_status, rd_reserves_other, rd_award_compensation_status,
+                                        rd_award_compensation_other, rd_application_fee, rd_announcement_amount,
+                                        ad_deliver_status, ad_deliver_other, ad_deliver_finish, ht_deliver_status,
+                                        ht_deliver_other, ht_deliver_finish, close_meeting_status, close_meeting__other,
+                                        phased_type, phased_content, prject_approval_write_number,
+                                        prject_approval_write_rate, ad_prepare_july_status, ad_prepare_july_other,
+                                        ad_prepare_october_status, ad_prepare_october_other)
+        values (#{rdReservesStatus}, #{rdReservesOther}, #{rdAwardCompensationStatus}, #{rdAwardCompensationOther},
+                #{rdApplicationFee}, #{rdAnnouncementAmount}, #{adDeliverStatus}, #{adDeliverOther}, #{adDeliverFinish},
+                #{htDeliverStatus}, #{htDeliverOther}, #{htDeliverFinish}, #{closeMeetingStatus}, #{closeMeeting_Other},
+                #{phasedType}, #{phasedContent}, #{prjectApprovalWriteNumber}, #{prjectApprovalWriteRate},
+                #{adPrepareJulyStatus}, #{adPrepareJulyOther}, #{adPrepareOctoberStatus}, #{adPrepareOctoberOther})
+    </insert>
+
+    <insert id="insertBatch">
+        insert into task_details_extend(rd_reserves_status, rd_reserves_other, rd_award_compensation_status,
+        rd_award_compensation_other, rd_application_fee, rd_announcement_amount, ad_deliver_status, ad_deliver_other,
+        ad_deliver_finish, ht_deliver_status, ht_deliver_other, ht_deliver_finish, close_meeting_status,
+        close_meeting__other, phased_type, phased_content, prject_approval_write_number, prject_approval_write_rate,
+        ad_prepare_july_status, ad_prepare_july_other, ad_prepare_october_status, ad_prepare_october_other)
+        values
+        <foreach collection="entities" item="entity" separator=",">
+            (#{entity.rdReservesStatus}, #{entity.rdReservesOther}, #{entity.rdAwardCompensationStatus},
+            #{entity.rdAwardCompensationOther}, #{entity.rdApplicationFee}, #{entity.rdAnnouncementAmount},
+            #{entity.adDeliverStatus}, #{entity.adDeliverOther}, #{entity.adDeliverFinish}, #{entity.htDeliverStatus},
+            #{entity.htDeliverOther}, #{entity.htDeliverFinish}, #{entity.closeMeetingStatus},
+            #{entity.closeMeeting_Other}, #{entity.phasedType}, #{entity.phasedContent},
+            #{entity.prjectApprovalWriteNumber}, #{entity.prjectApprovalWriteRate}, #{entity.adPrepareJulyStatus},
+            #{entity.adPrepareJulyOther}, #{entity.adPrepareOctoberStatus}, #{entity.adPrepareOctoberOther})
+        </foreach>
+    </insert>
+
+    <insert id="insertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
+        insert into task_details_extend(rd_reserves_status, rd_reserves_other, rd_award_compensation_status,
+        rd_award_compensation_other, rd_application_fee, rd_announcement_amount, ad_deliver_status, ad_deliver_other,
+        ad_deliver_finish, ht_deliver_status, ht_deliver_other, ht_deliver_finish, close_meeting_status,
+        close_meeting__other, phased_type, phased_content, prject_approval_write_number, prject_approval_write_rate,
+        ad_prepare_july_status, ad_prepare_july_other, ad_prepare_october_status, ad_prepare_october_other)
+        values
+        <foreach collection="entities" item="entity" separator=",">
+            (#{entity.rdReservesStatus}, #{entity.rdReservesOther}, #{entity.rdAwardCompensationStatus},
+            #{entity.rdAwardCompensationOther}, #{entity.rdApplicationFee}, #{entity.rdAnnouncementAmount},
+            #{entity.adDeliverStatus}, #{entity.adDeliverOther}, #{entity.adDeliverFinish}, #{entity.htDeliverStatus},
+            #{entity.htDeliverOther}, #{entity.htDeliverFinish}, #{entity.closeMeetingStatus},
+            #{entity.closeMeeting_Other}, #{entity.phasedType}, #{entity.phasedContent},
+            #{entity.prjectApprovalWriteNumber}, #{entity.prjectApprovalWriteRate}, #{entity.adPrepareJulyStatus},
+            #{entity.adPrepareJulyOther}, #{entity.adPrepareOctoberStatus}, #{entity.adPrepareOctoberOther})
+        </foreach>
+        on duplicate key update
+        rd_reserves_status = values(rd_reserves_status),
+        rd_reserves_other = values(rd_reserves_other),
+        rd_award_compensation_status = values(rd_award_compensation_status),
+        rd_award_compensation_other = values(rd_award_compensation_other),
+        rd_application_fee = values(rd_application_fee),
+        rd_announcement_amount = values(rd_announcement_amount),
+        ad_deliver_status = values(ad_deliver_status),
+        ad_deliver_other = values(ad_deliver_other),
+        ad_deliver_finish = values(ad_deliver_finish),
+        ht_deliver_status = values(ht_deliver_status),
+        ht_deliver_other = values(ht_deliver_other),
+        ht_deliver_finish = values(ht_deliver_finish),
+        close_meeting_status = values(close_meeting_status),
+        close_meeting__other = values(close_meeting__other),
+        phased_type = values(phased_type),
+        phased_content = values(phased_content),
+        prject_approval_write_number = values(prject_approval_write_number),
+        prject_approval_write_rate = values(prject_approval_write_rate),
+        ad_prepare_july_status = values(ad_prepare_july_status),
+        ad_prepare_july_other = values(ad_prepare_july_other),
+        ad_prepare_october_status = values(ad_prepare_october_status),
+        ad_prepare_october_other = values(ad_prepare_october_other)
+    </insert>
+
+    <!--通过主键修改数据-->
+    <update id="update">
+        update task_details_extend
+        <set>
+            <if test="rdReservesStatus != null">
+                rd_reserves_status = #{rdReservesStatus},
+            </if>
+            <if test="rdReservesOther != null and rdReservesOther != ''">
+                rd_reserves_other = #{rdReservesOther},
+            </if>
+            <if test="rdAwardCompensationStatus != null">
+                rd_award_compensation_status = #{rdAwardCompensationStatus},
+            </if>
+            <if test="rdAwardCompensationOther != null and rdAwardCompensationOther != ''">
+                rd_award_compensation_other = #{rdAwardCompensationOther},
+            </if>
+            <if test="rdApplicationFee != null">
+                rd_application_fee = #{rdApplicationFee},
+            </if>
+            <if test="rdAnnouncementAmount != null">
+                rd_announcement_amount = #{rdAnnouncementAmount},
+            </if>
+            <if test="adDeliverStatus != null">
+                ad_deliver_status = #{adDeliverStatus},
+            </if>
+            <if test="adDeliverOther != null and adDeliverOther != ''">
+                ad_deliver_other = #{adDeliverOther},
+            </if>
+            <if test="adDeliverFinish != null">
+                ad_deliver_finish = #{adDeliverFinish},
+            </if>
+            <if test="htDeliverStatus != null">
+                ht_deliver_status = #{htDeliverStatus},
+            </if>
+            <if test="htDeliverOther != null and htDeliverOther != ''">
+                ht_deliver_other = #{htDeliverOther},
+            </if>
+            <if test="htDeliverFinish != null">
+                ht_deliver_finish = #{htDeliverFinish},
+            </if>
+            <if test="closeMeetingStatus != null">
+                close_meeting_status = #{closeMeetingStatus},
+            </if>
+            <if test="closeMeeting_Other != null and closeMeeting_Other != ''">
+                close_meeting__other = #{closeMeeting_Other},
+            </if>
+            <if test="phasedType != null">
+                phased_type = #{phasedType},
+            </if>
+            <if test="phasedContent != null and phasedContent != ''">
+                phased_content = #{phasedContent},
+            </if>
+            <if test="prjectApprovalWriteNumber != null">
+                prject_approval_write_number = #{prjectApprovalWriteNumber},
+            </if>
+            <if test="prjectApprovalWriteRate != null">
+                prject_approval_write_rate = #{prjectApprovalWriteRate},
+            </if>
+            <if test="adPrepareJulyStatus != null">
+                ad_prepare_july_status = #{adPrepareJulyStatus},
+            </if>
+            <if test="adPrepareJulyOther != null and adPrepareJulyOther != ''">
+                ad_prepare_july_other = #{adPrepareJulyOther},
+            </if>
+            <if test="adPrepareOctoberStatus != null">
+                ad_prepare_october_status = #{adPrepareOctoberStatus},
+            </if>
+            <if test="adPrepareOctoberOther != null and adPrepareOctoberOther != ''">
+                ad_prepare_october_other = #{adPrepareOctoberOther},
+            </if>
+        </set>
+        where id = #{id}
+    </update>
+
+    <!--查询指定行数据-->
+    <select id="findTaskDetailsExtendList" resultMap="TaskDetailsExtendMap">
+        select
+        <include refid="TaskDetailsExtendAllSql"/>
+
+        from task_details_extend
+        <where>
+            <if test="id != null">
+                and id = #{id}
+            </if>
+            <if test="rdReservesStatus != null">
+                and rd_reserves_status = #{rdReservesStatus}
+            </if>
+            <if test="rdReservesOther != null and rdReservesOther != ''">
+                and rd_reserves_other = #{rdReservesOther}
+            </if>
+            <if test="rdAwardCompensationStatus != null">
+                and rd_award_compensation_status = #{rdAwardCompensationStatus}
+            </if>
+            <if test="rdAwardCompensationOther != null and rdAwardCompensationOther != ''">
+                and rd_award_compensation_other = #{rdAwardCompensationOther}
+            </if>
+            <if test="rdApplicationFee != null">
+                and rd_application_fee = #{rdApplicationFee}
+            </if>
+            <if test="rdAnnouncementAmount != null">
+                and rd_announcement_amount = #{rdAnnouncementAmount}
+            </if>
+            <if test="adDeliverStatus != null">
+                and ad_deliver_status = #{adDeliverStatus}
+            </if>
+            <if test="adDeliverOther != null and adDeliverOther != ''">
+                and ad_deliver_other = #{adDeliverOther}
+            </if>
+            <if test="adDeliverFinish != null">
+                and ad_deliver_finish = #{adDeliverFinish}
+            </if>
+            <if test="htDeliverStatus != null">
+                and ht_deliver_status = #{htDeliverStatus}
+            </if>
+            <if test="htDeliverOther != null and htDeliverOther != ''">
+                and ht_deliver_other = #{htDeliverOther}
+            </if>
+            <if test="htDeliverFinish != null">
+                and ht_deliver_finish = #{htDeliverFinish}
+            </if>
+            <if test="closeMeetingStatus != null">
+                and close_meeting_status = #{closeMeetingStatus}
+            </if>
+            <if test="closeMeeting_Other != null and closeMeeting_Other != ''">
+                and close_meeting__other = #{closeMeeting_Other}
+            </if>
+            <if test="phasedType != null">
+                and phased_type = #{phasedType}
+            </if>
+            <if test="phasedContent != null and phasedContent != ''">
+                and phased_content = #{phasedContent}
+            </if>
+            <if test="prjectApprovalWriteNumber != null">
+                and prject_approval_write_number = #{prjectApprovalWriteNumber}
+            </if>
+            <if test="prjectApprovalWriteRate != null">
+                and prject_approval_write_rate = #{prjectApprovalWriteRate}
+            </if>
+            <if test="adPrepareJulyStatus != null">
+                and ad_prepare_july_status = #{adPrepareJulyStatus}
+            </if>
+            <if test="adPrepareJulyOther != null and adPrepareJulyOther != ''">
+                and ad_prepare_july_other = #{adPrepareJulyOther}
+            </if>
+            <if test="adPrepareOctoberStatus != null">
+                and ad_prepare_october_status = #{adPrepareOctoberStatus}
+            </if>
+            <if test="adPrepareOctoberOther != null and adPrepareOctoberOther != ''">
+                and ad_prepare_october_other = #{adPrepareOctoberOther}
+            </if>
+        </where>
+        <if test="page_sql != null">
+            ${page_sql}
+        </if>
+    </select>
+
+    <!--统计总行数-->
+    <select id="findTaskDetailsExtendCount" resultType="java.lang.Integer">
+        select count(1)
+        from task_details_extend
+        <where>
+            <if test="id != null">
+                and id = #{id}
+            </if>
+            <if test="rdReservesStatus != null">
+                and rd_reserves_status = #{rdReservesStatus}
+            </if>
+            <if test="rdReservesOther != null and rdReservesOther != ''">
+                and rd_reserves_other = #{rdReservesOther}
+            </if>
+            <if test="rdAwardCompensationStatus != null">
+                and rd_award_compensation_status = #{rdAwardCompensationStatus}
+            </if>
+            <if test="rdAwardCompensationOther != null and rdAwardCompensationOther != ''">
+                and rd_award_compensation_other = #{rdAwardCompensationOther}
+            </if>
+            <if test="rdApplicationFee != null">
+                and rd_application_fee = #{rdApplicationFee}
+            </if>
+            <if test="rdAnnouncementAmount != null">
+                and rd_announcement_amount = #{rdAnnouncementAmount}
+            </if>
+            <if test="adDeliverStatus != null">
+                and ad_deliver_status = #{adDeliverStatus}
+            </if>
+            <if test="adDeliverOther != null and adDeliverOther != ''">
+                and ad_deliver_other = #{adDeliverOther}
+            </if>
+            <if test="adDeliverFinish != null">
+                and ad_deliver_finish = #{adDeliverFinish}
+            </if>
+            <if test="htDeliverStatus != null">
+                and ht_deliver_status = #{htDeliverStatus}
+            </if>
+            <if test="htDeliverOther != null and htDeliverOther != ''">
+                and ht_deliver_other = #{htDeliverOther}
+            </if>
+            <if test="htDeliverFinish != null">
+                and ht_deliver_finish = #{htDeliverFinish}
+            </if>
+            <if test="closeMeetingStatus != null">
+                and close_meeting_status = #{closeMeetingStatus}
+            </if>
+            <if test="closeMeeting_Other != null and closeMeeting_Other != ''">
+                and close_meeting__other = #{closeMeeting_Other}
+            </if>
+            <if test="phasedType != null">
+                and phased_type = #{phasedType}
+            </if>
+            <if test="phasedContent != null and phasedContent != ''">
+                and phased_content = #{phasedContent}
+            </if>
+            <if test="prjectApprovalWriteNumber != null">
+                and prject_approval_write_number = #{prjectApprovalWriteNumber}
+            </if>
+            <if test="prjectApprovalWriteRate != null">
+                and prject_approval_write_rate = #{prjectApprovalWriteRate}
+            </if>
+            <if test="adPrepareJulyStatus != null">
+                and ad_prepare_july_status = #{adPrepareJulyStatus}
+            </if>
+            <if test="adPrepareJulyOther != null and adPrepareJulyOther != ''">
+                and ad_prepare_july_other = #{adPrepareJulyOther}
+            </if>
+            <if test="adPrepareOctoberStatus != null">
+                and ad_prepare_october_status = #{adPrepareOctoberStatus}
+            </if>
+            <if test="adPrepareOctoberOther != null and adPrepareOctoberOther != ''">
+                and ad_prepare_october_other = #{adPrepareOctoberOther}
+            </if>
+        </where>
+    </select>
+
+    <!--通过主键删除-->
+    <delete id="deleteById">
+        delete
+        from task_details_extend
+        where id = #{id}
+    </delete>
+
+</mapper>
+

+ 437 - 0
src/main/java/com/goafanti/common/mapper/TaskDetailsMapper.xml

@@ -0,0 +1,437 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.goafanti.common.dao.TaskDetailsMapper">
+
+    <resultMap type="com.goafanti.common.model.TaskDetails" id="TaskDetailsMap">
+        <result property="id" column="id" jdbcType="INTEGER"/>
+        <result property="uid" column="uid" jdbcType="VARCHAR"/>
+        <result property="tid" column="tid" jdbcType="INTEGER"/>
+        <result property="salesAmount" column="sales_amount" jdbcType="VARCHAR"/>
+        <result property="researchAmount" column="research_amount" jdbcType="VARCHAR"/>
+        <result property="workersNumber" column="workers_number" jdbcType="INTEGER"/>
+        <result property="technologyNumber" column="technology_number" jdbcType="INTEGER"/>
+        <result property="workersRate" column="workers_rate" jdbcType="NUMERIC"/>
+        <result property="prjectApprovalNumber" column="prject_approval_number" jdbcType="INTEGER"/>
+        <result property="rdBudget" column="rd_budget" jdbcType="VARCHAR"/>
+        <result property="rdBudgetRate" column="rd_budget_rate" jdbcType="INTEGER"/>
+        <result property="threeYearsRdBudgetRate" column="three_years_rd_budget_rate" jdbcType="NUMERIC"/>
+        <result property="rdSalesAmount" column="rd_sales_amount" jdbcType="VARCHAR"/>
+        <result property="dataCycle" column="data_cycle" jdbcType="VARCHAR"/>
+        <result property="actualSalesAmount" column="actual_sales_amount" jdbcType="VARCHAR"/>
+        <result property="actualRdNumber" column="actual_rd_number" jdbcType="INTEGER"/>
+        <result property="actualRdAmount" column="actual_rd_amount" jdbcType="VARCHAR"/>
+        <result property="torchStatus" column="torch_status" jdbcType="INTEGER"/>
+        <result property="chStatus" column="ch_status" jdbcType="INTEGER"/>
+        <result property="statisticsStatus" column="statistics_status" jdbcType="INTEGER"/>
+        <result property="finalSettlementStatus" column="final_settlement_status" jdbcType="INTEGER"/>
+        <result property="torchOther" column="torch_other" jdbcType="VARCHAR"/>
+        <result property="chOther" column="ch_other" jdbcType="VARCHAR"/>
+        <result property="statisticsOther" column="statistics_other" jdbcType="VARCHAR"/>
+        <result property="finalSettlementOther" column="final_settlement_other" jdbcType="VARCHAR"/>
+        <result property="reportFormsRdNumber" column="report_forms_rd_number" jdbcType="INTEGER"/>
+        <result property="intellectualPropertyAmount" column="intellectual_property_amount" jdbcType="VARCHAR"/>
+        <result property="reportRdAmount" column="report_rd_amount" jdbcType="VARCHAR"/>
+        <result property="aid" column="aid" jdbcType="VARCHAR"/>
+        <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
+    </resultMap>
+
+    <sql id="TaskDetailsAllSql">
+        id, uid, tid, sales_amount, research_amount, workers_number, technology_number, workers_rate, prject_approval_number, rd_budget, rd_budget_rate, three_years_rd_budget_rate, rd_sales_amount, data_cycle, actual_sales_amount, actual_rd_number, actual_rd_amount, torch_status, ch_status, statistics_status, final_settlement_status, torch_other, ch_other, statistics_other, final_settlement_other, report_forms_rd_number, intellectual_property_amount, report_rd_amount, aid, create_time
+    </sql>
+
+    <!--查询单个-->
+    <select id="selectById" resultMap="TaskDetailsMap">
+        select
+        <include refid="TaskDetailsAllSql"/>
+        from task_details
+        where id = #{id}
+    </select>
+
+    <!--新增所有列-->
+    <insert id="insert" keyProperty="id" useGeneratedKeys="true">
+        insert into task_details(uid, tid, sales_amount, research_amount, workers_number, technology_number,
+                                 workers_rate, prject_approval_number, rd_budget, rd_budget_rate,
+                                 three_years_rd_budget_rate, rd_sales_amount, data_cycle, actual_sales_amount,
+                                 actual_rd_number, actual_rd_amount, torch_status, ch_status, statistics_status,
+                                 final_settlement_status, torch_other, ch_other, statistics_other,
+                                 final_settlement_other, report_forms_rd_number, intellectual_property_amount,
+                                 report_rd_amount, aid, create_time)
+        values (#{uid}, #{tid}, #{salesAmount}, #{researchAmount}, #{workersNumber}, #{technologyNumber},
+                #{workersRate}, #{prjectApprovalNumber}, #{rdBudget}, #{rdBudgetRate}, #{threeYearsRdBudgetRate},
+                #{rdSalesAmount}, #{dataCycle}, #{actualSalesAmount}, #{actualRdNumber}, #{actualRdAmount},
+                #{torchStatus}, #{chStatus}, #{statisticsStatus}, #{finalSettlementStatus}, #{torchOther}, #{chOther},
+                #{statisticsOther}, #{finalSettlementOther}, #{reportFormsRdNumber}, #{intellectualPropertyAmount},
+                #{reportRdAmount}, #{aid}, #{createTime})
+    </insert>
+
+    <insert id="insertBatch">
+        insert into task_details(uid, tid, sales_amount, research_amount, workers_number, technology_number,
+        workers_rate, prject_approval_number, rd_budget, rd_budget_rate, three_years_rd_budget_rate, rd_sales_amount,
+        data_cycle, actual_sales_amount, actual_rd_number, actual_rd_amount, torch_status, ch_status, statistics_status,
+        final_settlement_status, torch_other, ch_other, statistics_other, final_settlement_other,
+        report_forms_rd_number, intellectual_property_amount, report_rd_amount, aid, create_time)
+        values
+        <foreach collection="entities" item="entity" separator=",">
+            (#{entity.uid}, #{entity.tid}, #{entity.salesAmount}, #{entity.researchAmount}, #{entity.workersNumber},
+            #{entity.technologyNumber}, #{entity.workersRate}, #{entity.prjectApprovalNumber}, #{entity.rdBudget},
+            #{entity.rdBudgetRate}, #{entity.threeYearsRdBudgetRate}, #{entity.rdSalesAmount}, #{entity.dataCycle},
+            #{entity.actualSalesAmount}, #{entity.actualRdNumber}, #{entity.actualRdAmount}, #{entity.torchStatus},
+            #{entity.chStatus}, #{entity.statisticsStatus}, #{entity.finalSettlementStatus}, #{entity.torchOther},
+            #{entity.chOther}, #{entity.statisticsOther}, #{entity.finalSettlementOther}, #{entity.reportFormsRdNumber},
+            #{entity.intellectualPropertyAmount}, #{entity.reportRdAmount}, #{entity.aid}, #{entity.createTime})
+        </foreach>
+    </insert>
+
+    <insert id="insertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
+        insert into task_details(uid, tid, sales_amount, research_amount, workers_number, technology_number,
+        workers_rate, prject_approval_number, rd_budget, rd_budget_rate, three_years_rd_budget_rate, rd_sales_amount,
+        data_cycle, actual_sales_amount, actual_rd_number, actual_rd_amount, torch_status, ch_status, statistics_status,
+        final_settlement_status, torch_other, ch_other, statistics_other, final_settlement_other,
+        report_forms_rd_number, intellectual_property_amount, report_rd_amount, aid, create_time)
+        values
+        <foreach collection="entities" item="entity" separator=",">
+            (#{entity.uid}, #{entity.tid}, #{entity.salesAmount}, #{entity.researchAmount}, #{entity.workersNumber},
+            #{entity.technologyNumber}, #{entity.workersRate}, #{entity.prjectApprovalNumber}, #{entity.rdBudget},
+            #{entity.rdBudgetRate}, #{entity.threeYearsRdBudgetRate}, #{entity.rdSalesAmount}, #{entity.dataCycle},
+            #{entity.actualSalesAmount}, #{entity.actualRdNumber}, #{entity.actualRdAmount}, #{entity.torchStatus},
+            #{entity.chStatus}, #{entity.statisticsStatus}, #{entity.finalSettlementStatus}, #{entity.torchOther},
+            #{entity.chOther}, #{entity.statisticsOther}, #{entity.finalSettlementOther}, #{entity.reportFormsRdNumber},
+            #{entity.intellectualPropertyAmount}, #{entity.reportRdAmount}, #{entity.aid}, #{entity.createTime})
+        </foreach>
+        on duplicate key update
+        uid = values(uid),
+        tid = values(tid),
+        sales_amount = values(sales_amount),
+        research_amount = values(research_amount),
+        workers_number = values(workers_number),
+        technology_number = values(technology_number),
+        workers_rate = values(workers_rate),
+        prject_approval_number = values(prject_approval_number),
+        rd_budget = values(rd_budget),
+        rd_budget_rate = values(rd_budget_rate),
+        three_years_rd_budget_rate = values(three_years_rd_budget_rate),
+        rd_sales_amount = values(rd_sales_amount),
+        data_cycle = values(data_cycle),
+        actual_sales_amount = values(actual_sales_amount),
+        actual_rd_number = values(actual_rd_number),
+        actual_rd_amount = values(actual_rd_amount),
+        torch_status = values(torch_status),
+        ch_status = values(ch_status),
+        statistics_status = values(statistics_status),
+        final_settlement_status = values(final_settlement_status),
+        torch_other = values(torch_other),
+        ch_other = values(ch_other),
+        statistics_other = values(statistics_other),
+        final_settlement_other = values(final_settlement_other),
+        report_forms_rd_number = values(report_forms_rd_number),
+        intellectual_property_amount = values(intellectual_property_amount),
+        report_rd_amount = values(report_rd_amount),
+        aid = values(aid),
+        create_time = values(create_time)
+    </insert>
+
+    <!--通过主键修改数据-->
+    <update id="update">
+        update task_details
+        <set>
+            <if test="uid != null and uid != ''">
+                uid = #{uid},
+            </if>
+            <if test="tid != null">
+                tid = #{tid},
+            </if>
+            <if test="salesAmount != null">
+                sales_amount = #{salesAmount},
+            </if>
+            <if test="researchAmount != null">
+                research_amount = #{researchAmount},
+            </if>
+            <if test="workersNumber != null">
+                workers_number = #{workersNumber},
+            </if>
+            <if test="technologyNumber != null">
+                technology_number = #{technologyNumber},
+            </if>
+            <if test="workersRate != null">
+                workers_rate = #{workersRate},
+            </if>
+            <if test="prjectApprovalNumber != null">
+                prject_approval_number = #{prjectApprovalNumber},
+            </if>
+            <if test="rdBudget != null">
+                rd_budget = #{rdBudget},
+            </if>
+            <if test="rdBudgetRate != null">
+                rd_budget_rate = #{rdBudgetRate},
+            </if>
+            <if test="threeYearsRdBudgetRate != null">
+                three_years_rd_budget_rate = #{threeYearsRdBudgetRate},
+            </if>
+            <if test="rdSalesAmount != null">
+                rd_sales_amount = #{rdSalesAmount},
+            </if>
+            <if test="dataCycle != null and dataCycle != ''">
+                data_cycle = #{dataCycle},
+            </if>
+            <if test="actualSalesAmount != null">
+                actual_sales_amount = #{actualSalesAmount},
+            </if>
+            <if test="actualRdNumber != null">
+                actual_rd_number = #{actualRdNumber},
+            </if>
+            <if test="actualRdAmount != null">
+                actual_rd_amount = #{actualRdAmount},
+            </if>
+            <if test="torchStatus != null">
+                torch_status = #{torchStatus},
+            </if>
+            <if test="chStatus != null">
+                ch_status = #{chStatus},
+            </if>
+            <if test="statisticsStatus != null">
+                statistics_status = #{statisticsStatus},
+            </if>
+            <if test="finalSettlementStatus != null">
+                final_settlement_status = #{finalSettlementStatus},
+            </if>
+            <if test="torchOther != null and torchOther != ''">
+                torch_other = #{torchOther},
+            </if>
+            <if test="chOther != null and chOther != ''">
+                ch_other = #{chOther},
+            </if>
+            <if test="statisticsOther != null and statisticsOther != ''">
+                statistics_other = #{statisticsOther},
+            </if>
+            <if test="finalSettlementOther != null and finalSettlementOther != ''">
+                final_settlement_other = #{finalSettlementOther},
+            </if>
+            <if test="reportFormsRdNumber != null">
+                report_forms_rd_number = #{reportFormsRdNumber},
+            </if>
+            <if test="intellectualPropertyAmount != null">
+                intellectual_property_amount = #{intellectualPropertyAmount},
+            </if>
+            <if test="reportRdAmount != null">
+                report_rd_amount = #{reportRdAmount},
+            </if>
+            <if test="aid != null and aid != ''">
+                aid = #{aid},
+            </if>
+            <if test="createTime != null">
+                create_time = #{createTime},
+            </if>
+        </set>
+        where id = #{id}
+    </update>
+
+    <!--查询指定行数据-->
+    <select id="findTaskDetailsList" resultMap="TaskDetailsMap">
+        select
+        <include refid="TaskDetailsAllSql"/>
+
+        from task_details
+        <where>
+            <if test="id != null">
+                and id = #{id}
+            </if>
+            <if test="uid != null and uid != ''">
+                and uid = #{uid}
+            </if>
+            <if test="tid != null">
+                and tid = #{tid}
+            </if>
+            <if test="salesAmount != null">
+                and sales_amount = #{salesAmount}
+            </if>
+            <if test="researchAmount != null">
+                and research_amount = #{researchAmount}
+            </if>
+            <if test="workersNumber != null">
+                and workers_number = #{workersNumber}
+            </if>
+            <if test="technologyNumber != null">
+                and technology_number = #{technologyNumber}
+            </if>
+            <if test="workersRate != null">
+                and workers_rate = #{workersRate}
+            </if>
+            <if test="prjectApprovalNumber != null">
+                and prject_approval_number = #{prjectApprovalNumber}
+            </if>
+            <if test="rdBudget != null">
+                and rd_budget = #{rdBudget}
+            </if>
+            <if test="rdBudgetRate != null">
+                and rd_budget_rate = #{rdBudgetRate}
+            </if>
+            <if test="threeYearsRdBudgetRate != null">
+                and three_years_rd_budget_rate = #{threeYearsRdBudgetRate}
+            </if>
+            <if test="rdSalesAmount != null">
+                and rd_sales_amount = #{rdSalesAmount}
+            </if>
+            <if test="dataCycle != null and dataCycle != ''">
+                and data_cycle = #{dataCycle}
+            </if>
+            <if test="actualSalesAmount != null">
+                and actual_sales_amount = #{actualSalesAmount}
+            </if>
+            <if test="actualRdNumber != null">
+                and actual_rd_number = #{actualRdNumber}
+            </if>
+            <if test="actualRdAmount != null">
+                and actual_rd_amount = #{actualRdAmount}
+            </if>
+            <if test="torchStatus != null">
+                and torch_status = #{torchStatus}
+            </if>
+            <if test="chStatus != null">
+                and ch_status = #{chStatus}
+            </if>
+            <if test="statisticsStatus != null">
+                and statistics_status = #{statisticsStatus}
+            </if>
+            <if test="finalSettlementStatus != null">
+                and final_settlement_status = #{finalSettlementStatus}
+            </if>
+            <if test="torchOther != null and torchOther != ''">
+                and torch_other = #{torchOther}
+            </if>
+            <if test="chOther != null and chOther != ''">
+                and ch_other = #{chOther}
+            </if>
+            <if test="statisticsOther != null and statisticsOther != ''">
+                and statistics_other = #{statisticsOther}
+            </if>
+            <if test="finalSettlementOther != null and finalSettlementOther != ''">
+                and final_settlement_other = #{finalSettlementOther}
+            </if>
+            <if test="reportFormsRdNumber != null">
+                and report_forms_rd_number = #{reportFormsRdNumber}
+            </if>
+            <if test="intellectualPropertyAmount != null">
+                and intellectual_property_amount = #{intellectualPropertyAmount}
+            </if>
+            <if test="reportRdAmount != null">
+                and report_rd_amount = #{reportRdAmount}
+            </if>
+            <if test="aid != null and aid != ''">
+                and aid = #{aid}
+            </if>
+            <if test="createTime != null">
+                and create_time = #{createTime}
+            </if>
+        </where>
+        <if test="page_sql != null">
+            ${page_sql}
+        </if>
+    </select>
+
+    <!--统计总行数-->
+    <select id="findTaskDetailsCount" resultType="java.lang.Integer">
+        select count(1)
+        from task_details
+        <where>
+            <if test="id != null">
+                and id = #{id}
+            </if>
+            <if test="uid != null and uid != ''">
+                and uid = #{uid}
+            </if>
+            <if test="tid != null">
+                and tid = #{tid}
+            </if>
+            <if test="salesAmount != null">
+                and sales_amount = #{salesAmount}
+            </if>
+            <if test="researchAmount != null">
+                and research_amount = #{researchAmount}
+            </if>
+            <if test="workersNumber != null">
+                and workers_number = #{workersNumber}
+            </if>
+            <if test="technologyNumber != null">
+                and technology_number = #{technologyNumber}
+            </if>
+            <if test="workersRate != null">
+                and workers_rate = #{workersRate}
+            </if>
+            <if test="prjectApprovalNumber != null">
+                and prject_approval_number = #{prjectApprovalNumber}
+            </if>
+            <if test="rdBudget != null">
+                and rd_budget = #{rdBudget}
+            </if>
+            <if test="rdBudgetRate != null">
+                and rd_budget_rate = #{rdBudgetRate}
+            </if>
+            <if test="threeYearsRdBudgetRate != null">
+                and three_years_rd_budget_rate = #{threeYearsRdBudgetRate}
+            </if>
+            <if test="rdSalesAmount != null">
+                and rd_sales_amount = #{rdSalesAmount}
+            </if>
+            <if test="dataCycle != null and dataCycle != ''">
+                and data_cycle = #{dataCycle}
+            </if>
+            <if test="actualSalesAmount != null">
+                and actual_sales_amount = #{actualSalesAmount}
+            </if>
+            <if test="actualRdNumber != null">
+                and actual_rd_number = #{actualRdNumber}
+            </if>
+            <if test="actualRdAmount != null">
+                and actual_rd_amount = #{actualRdAmount}
+            </if>
+            <if test="torchStatus != null">
+                and torch_status = #{torchStatus}
+            </if>
+            <if test="chStatus != null">
+                and ch_status = #{chStatus}
+            </if>
+            <if test="statisticsStatus != null">
+                and statistics_status = #{statisticsStatus}
+            </if>
+            <if test="finalSettlementStatus != null">
+                and final_settlement_status = #{finalSettlementStatus}
+            </if>
+            <if test="torchOther != null and torchOther != ''">
+                and torch_other = #{torchOther}
+            </if>
+            <if test="chOther != null and chOther != ''">
+                and ch_other = #{chOther}
+            </if>
+            <if test="statisticsOther != null and statisticsOther != ''">
+                and statistics_other = #{statisticsOther}
+            </if>
+            <if test="finalSettlementOther != null and finalSettlementOther != ''">
+                and final_settlement_other = #{finalSettlementOther}
+            </if>
+            <if test="reportFormsRdNumber != null">
+                and report_forms_rd_number = #{reportFormsRdNumber}
+            </if>
+            <if test="intellectualPropertyAmount != null">
+                and intellectual_property_amount = #{intellectualPropertyAmount}
+            </if>
+            <if test="reportRdAmount != null">
+                and report_rd_amount = #{reportRdAmount}
+            </if>
+            <if test="aid != null and aid != ''">
+                and aid = #{aid}
+            </if>
+            <if test="createTime != null">
+                and create_time = #{createTime}
+            </if>
+        </where>
+    </select>
+
+    <!--通过主键删除-->
+    <delete id="deleteById">
+        delete
+        from task_details
+        where id = #{id}
+    </delete>
+
+</mapper>
+

+ 391 - 0
src/main/java/com/goafanti/common/mapper/TaskDetailsSupplementMapper.xml

@@ -0,0 +1,391 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.goafanti.common.dao.TaskDetailsSupplementMapper">
+
+    <resultMap type="com.goafanti.common.model.TaskDetailsSupplement" id="TaskDetailsSupplementMap">
+        <result property="id" column="id" jdbcType="INTEGER"/>
+        <result property="ipDeclare" column="ip_declare" jdbcType="INTEGER"/>
+        <result property="ipAuthorize" column="ip_authorize" jdbcType="INTEGER"/>
+        <result property="ipHt" column="ip_ht" jdbcType="INTEGER"/>
+        <result property="ipHtI" column="ip_ht_i" jdbcType="INTEGER"/>
+        <result property="ipHtIi" column="ip_ht_ii" jdbcType="INTEGER"/>
+        <result property="outsourcingDev" column="outsourcing_dev" jdbcType="INTEGER"/>
+        <result property="contractRegistration" column="contract_registration" jdbcType="INTEGER"/>
+        <result property="publicReleaseStipulation" column="public_release_stipulation" jdbcType="INTEGER"/>
+        <result property="publicReleaseActual" column="public_release_actual" jdbcType="INTEGER"/>
+        <result property="trainingStipulation" column="training_stipulation" jdbcType="INTEGER"/>
+        <result property="trainingActual" column="training_actual" jdbcType="INTEGER"/>
+        <result property="trainingOther" column="training_other" jdbcType="VARCHAR"/>
+        <result property="specialInspect" column="special_inspect" jdbcType="INTEGER"/>
+        <result property="simulatedAudit" column="simulated_audit" jdbcType="INTEGER"/>
+        <result property="htScore" column="ht_score" jdbcType="INTEGER"/>
+        <result property="htBatch" column="ht_batch" jdbcType="INTEGER"/>
+        <result property="htFocus" column="ht_focus" jdbcType="INTEGER"/>
+        <result property="webSubmit" column="web_submit" jdbcType="INTEGER"/>
+        <result property="webSubmitOther" column="web_submit_other" jdbcType="VARCHAR"/>
+        <result property="paperSubmit" column="paper_submit" jdbcType="INTEGER"/>
+        <result property="paperSubmitOther" column="paper_submit_other" jdbcType="VARCHAR"/>
+        <result property="reviewProvince" column="review_province" jdbcType="INTEGER"/>
+        <result property="reviewCountry" column="review_country" jdbcType="INTEGER"/>
+        <result property="reviewProvinceNumber" column="review_province_number" jdbcType="INTEGER"/>
+        <result property="reviewCountryNumber" column="review_country_number" jdbcType="INTEGER"/>
+    </resultMap>
+
+    <sql id="TaskDetailsSupplementAllSql">
+        id, ip_declare, ip_authorize, ip_ht, ip_ht_i, ip_ht_ii, outsourcing_dev, contract_registration, public_release_stipulation, public_release_actual, training_stipulation, training_actual, training_other, special_inspect, simulated_audit, ht_score, ht_batch, ht_focus, web_submit, web_submit_other, paper_submit, paper_submit_other, review_province, review_country, review_province_number, review_country_number
+    </sql>
+
+    <!--查询单个-->
+    <select id="selectById" resultMap="TaskDetailsSupplementMap">
+        select
+        <include refid="TaskDetailsSupplementAllSql"/>
+        from task_details_supplement
+        where id = #{id}
+    </select>
+
+    <!--新增所有列-->
+    <insert id="insert" keyProperty="id" useGeneratedKeys="true">
+        insert into task_details_supplement(ip_declare, ip_authorize, ip_ht, ip_ht_i, ip_ht_ii, outsourcing_dev,
+                                            contract_registration, public_release_stipulation, public_release_actual,
+                                            training_stipulation, training_actual, training_other, special_inspect,
+                                            simulated_audit, ht_score, ht_batch, ht_focus, web_submit, web_submit_other,
+                                            paper_submit, paper_submit_other, review_province, review_country,
+                                            review_province_number, review_country_number)
+        values (#{ipDeclare}, #{ipAuthorize}, #{ipHt}, #{ipHtI}, #{ipHtIi}, #{outsourcingDev}, #{contractRegistration},
+                #{publicReleaseStipulation}, #{publicReleaseActual}, #{trainingStipulation}, #{trainingActual},
+                #{trainingOther}, #{specialInspect}, #{simulatedAudit}, #{htScore}, #{htBatch}, #{htFocus},
+                #{webSubmit}, #{webSubmitOther}, #{paperSubmit}, #{paperSubmitOther}, #{reviewProvince},
+                #{reviewCountry}, #{reviewProvinceNumber}, #{reviewCountryNumber})
+    </insert>
+
+    <insert id="insertBatch">
+        insert into task_details_supplement(ip_declare, ip_authorize, ip_ht, ip_ht_i, ip_ht_ii, outsourcing_dev,
+        contract_registration, public_release_stipulation, public_release_actual, training_stipulation, training_actual,
+        training_other, special_inspect, simulated_audit, ht_score, ht_batch, ht_focus, web_submit, web_submit_other,
+        paper_submit, paper_submit_other, review_province, review_country, review_province_number,
+        review_country_number)
+        values
+        <foreach collection="entities" item="entity" separator=",">
+            (#{entity.ipDeclare}, #{entity.ipAuthorize}, #{entity.ipHt}, #{entity.ipHtI}, #{entity.ipHtIi},
+            #{entity.outsourcingDev}, #{entity.contractRegistration}, #{entity.publicReleaseStipulation},
+            #{entity.publicReleaseActual}, #{entity.trainingStipulation}, #{entity.trainingActual},
+            #{entity.trainingOther}, #{entity.specialInspect}, #{entity.simulatedAudit}, #{entity.htScore},
+            #{entity.htBatch}, #{entity.htFocus}, #{entity.webSubmit}, #{entity.webSubmitOther}, #{entity.paperSubmit},
+            #{entity.paperSubmitOther}, #{entity.reviewProvince}, #{entity.reviewCountry},
+            #{entity.reviewProvinceNumber}, #{entity.reviewCountryNumber})
+        </foreach>
+    </insert>
+
+    <insert id="insertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
+        insert into task_details_supplement(ip_declare, ip_authorize, ip_ht, ip_ht_i, ip_ht_ii, outsourcing_dev,
+        contract_registration, public_release_stipulation, public_release_actual, training_stipulation, training_actual,
+        training_other, special_inspect, simulated_audit, ht_score, ht_batch, ht_focus, web_submit, web_submit_other,
+        paper_submit, paper_submit_other, review_province, review_country, review_province_number,
+        review_country_number)
+        values
+        <foreach collection="entities" item="entity" separator=",">
+            (#{entity.ipDeclare}, #{entity.ipAuthorize}, #{entity.ipHt}, #{entity.ipHtI}, #{entity.ipHtIi},
+            #{entity.outsourcingDev}, #{entity.contractRegistration}, #{entity.publicReleaseStipulation},
+            #{entity.publicReleaseActual}, #{entity.trainingStipulation}, #{entity.trainingActual},
+            #{entity.trainingOther}, #{entity.specialInspect}, #{entity.simulatedAudit}, #{entity.htScore},
+            #{entity.htBatch}, #{entity.htFocus}, #{entity.webSubmit}, #{entity.webSubmitOther}, #{entity.paperSubmit},
+            #{entity.paperSubmitOther}, #{entity.reviewProvince}, #{entity.reviewCountry},
+            #{entity.reviewProvinceNumber}, #{entity.reviewCountryNumber})
+        </foreach>
+        on duplicate key update
+        ip_declare = values(ip_declare),
+        ip_authorize = values(ip_authorize),
+        ip_ht = values(ip_ht),
+        ip_ht_i = values(ip_ht_i),
+        ip_ht_ii = values(ip_ht_ii),
+        outsourcing_dev = values(outsourcing_dev),
+        contract_registration = values(contract_registration),
+        public_release_stipulation = values(public_release_stipulation),
+        public_release_actual = values(public_release_actual),
+        training_stipulation = values(training_stipulation),
+        training_actual = values(training_actual),
+        training_other = values(training_other),
+        special_inspect = values(special_inspect),
+        simulated_audit = values(simulated_audit),
+        ht_score = values(ht_score),
+        ht_batch = values(ht_batch),
+        ht_focus = values(ht_focus),
+        web_submit = values(web_submit),
+        web_submit_other = values(web_submit_other),
+        paper_submit = values(paper_submit),
+        paper_submit_other = values(paper_submit_other),
+        review_province = values(review_province),
+        review_country = values(review_country),
+        review_province_number = values(review_province_number),
+        review_country_number = values(review_country_number)
+    </insert>
+
+    <!--通过主键修改数据-->
+    <update id="update">
+        update task_details_supplement
+        <set>
+            <if test="ipDeclare != null">
+                ip_declare = #{ipDeclare},
+            </if>
+            <if test="ipAuthorize != null">
+                ip_authorize = #{ipAuthorize},
+            </if>
+            <if test="ipHt != null">
+                ip_ht = #{ipHt},
+            </if>
+            <if test="ipHtI != null">
+                ip_ht_i = #{ipHtI},
+            </if>
+            <if test="ipHtIi != null">
+                ip_ht_ii = #{ipHtIi},
+            </if>
+            <if test="outsourcingDev != null">
+                outsourcing_dev = #{outsourcingDev},
+            </if>
+            <if test="contractRegistration != null">
+                contract_registration = #{contractRegistration},
+            </if>
+            <if test="publicReleaseStipulation != null">
+                public_release_stipulation = #{publicReleaseStipulation},
+            </if>
+            <if test="publicReleaseActual != null">
+                public_release_actual = #{publicReleaseActual},
+            </if>
+            <if test="trainingStipulation != null">
+                training_stipulation = #{trainingStipulation},
+            </if>
+            <if test="trainingActual != null">
+                training_actual = #{trainingActual},
+            </if>
+            <if test="trainingOther != null and trainingOther != ''">
+                training_other = #{trainingOther},
+            </if>
+            <if test="specialInspect != null">
+                special_inspect = #{specialInspect},
+            </if>
+            <if test="simulatedAudit != null">
+                simulated_audit = #{simulatedAudit},
+            </if>
+            <if test="htScore != null">
+                ht_score = #{htScore},
+            </if>
+            <if test="htBatch != null">
+                ht_batch = #{htBatch},
+            </if>
+            <if test="htFocus != null">
+                ht_focus = #{htFocus},
+            </if>
+            <if test="webSubmit != null">
+                web_submit = #{webSubmit},
+            </if>
+            <if test="webSubmitOther != null and webSubmitOther != ''">
+                web_submit_other = #{webSubmitOther},
+            </if>
+            <if test="paperSubmit != null">
+                paper_submit = #{paperSubmit},
+            </if>
+            <if test="paperSubmitOther != null and paperSubmitOther != ''">
+                paper_submit_other = #{paperSubmitOther},
+            </if>
+            <if test="reviewProvince != null">
+                review_province = #{reviewProvince},
+            </if>
+            <if test="reviewCountry != null">
+                review_country = #{reviewCountry},
+            </if>
+            <if test="reviewProvinceNumber != null">
+                review_province_number = #{reviewProvinceNumber},
+            </if>
+            <if test="reviewCountryNumber != null">
+                review_country_number = #{reviewCountryNumber},
+            </if>
+        </set>
+        where id = #{id}
+    </update>
+
+    <!--查询指定行数据-->
+    <select id="findTaskDetailsSupplementList" resultMap="TaskDetailsSupplementMap">
+        select
+        <include refid="TaskDetailsSupplementAllSql"/>
+
+        from task_details_supplement
+        <where>
+            <if test="id != null">
+                and id = #{id}
+            </if>
+            <if test="ipDeclare != null">
+                and ip_declare = #{ipDeclare}
+            </if>
+            <if test="ipAuthorize != null">
+                and ip_authorize = #{ipAuthorize}
+            </if>
+            <if test="ipHt != null">
+                and ip_ht = #{ipHt}
+            </if>
+            <if test="ipHtI != null">
+                and ip_ht_i = #{ipHtI}
+            </if>
+            <if test="ipHtIi != null">
+                and ip_ht_ii = #{ipHtIi}
+            </if>
+            <if test="outsourcingDev != null">
+                and outsourcing_dev = #{outsourcingDev}
+            </if>
+            <if test="contractRegistration != null">
+                and contract_registration = #{contractRegistration}
+            </if>
+            <if test="publicReleaseStipulation != null">
+                and public_release_stipulation = #{publicReleaseStipulation}
+            </if>
+            <if test="publicReleaseActual != null">
+                and public_release_actual = #{publicReleaseActual}
+            </if>
+            <if test="trainingStipulation != null">
+                and training_stipulation = #{trainingStipulation}
+            </if>
+            <if test="trainingActual != null">
+                and training_actual = #{trainingActual}
+            </if>
+            <if test="trainingOther != null and trainingOther != ''">
+                and training_other = #{trainingOther}
+            </if>
+            <if test="specialInspect != null">
+                and special_inspect = #{specialInspect}
+            </if>
+            <if test="simulatedAudit != null">
+                and simulated_audit = #{simulatedAudit}
+            </if>
+            <if test="htScore != null">
+                and ht_score = #{htScore}
+            </if>
+            <if test="htBatch != null">
+                and ht_batch = #{htBatch}
+            </if>
+            <if test="htFocus != null">
+                and ht_focus = #{htFocus}
+            </if>
+            <if test="webSubmit != null">
+                and web_submit = #{webSubmit}
+            </if>
+            <if test="webSubmitOther != null and webSubmitOther != ''">
+                and web_submit_other = #{webSubmitOther}
+            </if>
+            <if test="paperSubmit != null">
+                and paper_submit = #{paperSubmit}
+            </if>
+            <if test="paperSubmitOther != null and paperSubmitOther != ''">
+                and paper_submit_other = #{paperSubmitOther}
+            </if>
+            <if test="reviewProvince != null">
+                and review_province = #{reviewProvince}
+            </if>
+            <if test="reviewCountry != null">
+                and review_country = #{reviewCountry}
+            </if>
+            <if test="reviewProvinceNumber != null">
+                and review_province_number = #{reviewProvinceNumber}
+            </if>
+            <if test="reviewCountryNumber != null">
+                and review_country_number = #{reviewCountryNumber}
+            </if>
+        </where>
+        <if test="page_sql != null">
+            ${page_sql}
+        </if>
+    </select>
+
+    <!--统计总行数-->
+    <select id="findTaskDetailsSupplementCount" resultType="java.lang.Integer">
+        select count(1)
+        from task_details_supplement
+        <where>
+            <if test="id != null">
+                and id = #{id}
+            </if>
+            <if test="ipDeclare != null">
+                and ip_declare = #{ipDeclare}
+            </if>
+            <if test="ipAuthorize != null">
+                and ip_authorize = #{ipAuthorize}
+            </if>
+            <if test="ipHt != null">
+                and ip_ht = #{ipHt}
+            </if>
+            <if test="ipHtI != null">
+                and ip_ht_i = #{ipHtI}
+            </if>
+            <if test="ipHtIi != null">
+                and ip_ht_ii = #{ipHtIi}
+            </if>
+            <if test="outsourcingDev != null">
+                and outsourcing_dev = #{outsourcingDev}
+            </if>
+            <if test="contractRegistration != null">
+                and contract_registration = #{contractRegistration}
+            </if>
+            <if test="publicReleaseStipulation != null">
+                and public_release_stipulation = #{publicReleaseStipulation}
+            </if>
+            <if test="publicReleaseActual != null">
+                and public_release_actual = #{publicReleaseActual}
+            </if>
+            <if test="trainingStipulation != null">
+                and training_stipulation = #{trainingStipulation}
+            </if>
+            <if test="trainingActual != null">
+                and training_actual = #{trainingActual}
+            </if>
+            <if test="trainingOther != null and trainingOther != ''">
+                and training_other = #{trainingOther}
+            </if>
+            <if test="specialInspect != null">
+                and special_inspect = #{specialInspect}
+            </if>
+            <if test="simulatedAudit != null">
+                and simulated_audit = #{simulatedAudit}
+            </if>
+            <if test="htScore != null">
+                and ht_score = #{htScore}
+            </if>
+            <if test="htBatch != null">
+                and ht_batch = #{htBatch}
+            </if>
+            <if test="htFocus != null">
+                and ht_focus = #{htFocus}
+            </if>
+            <if test="webSubmit != null">
+                and web_submit = #{webSubmit}
+            </if>
+            <if test="webSubmitOther != null and webSubmitOther != ''">
+                and web_submit_other = #{webSubmitOther}
+            </if>
+            <if test="paperSubmit != null">
+                and paper_submit = #{paperSubmit}
+            </if>
+            <if test="paperSubmitOther != null and paperSubmitOther != ''">
+                and paper_submit_other = #{paperSubmitOther}
+            </if>
+            <if test="reviewProvince != null">
+                and review_province = #{reviewProvince}
+            </if>
+            <if test="reviewCountry != null">
+                and review_country = #{reviewCountry}
+            </if>
+            <if test="reviewProvinceNumber != null">
+                and review_province_number = #{reviewProvinceNumber}
+            </if>
+            <if test="reviewCountryNumber != null">
+                and review_country_number = #{reviewCountryNumber}
+            </if>
+        </where>
+    </select>
+
+    <!--通过主键删除-->
+    <delete id="deleteById">
+        delete
+        from task_details_supplement
+        where id = #{id}
+    </delete>
+
+</mapper>
+

+ 377 - 0
src/main/java/com/goafanti/common/model/TaskDetails.java

@@ -0,0 +1,377 @@
+package com.goafanti.common.model;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+
+/**
+ * 项目申报详情(TaskDetails)实体类
+ *
+ * @author makejava
+ * @since 2024-12-26 17:11:50
+ */
+public class TaskDetails implements Serializable {
+    private static final long serialVersionUID = 160882019590550228L;
+
+    private Integer id;
+    /**
+     * 用户ID
+     */
+    private String uid;
+    /**
+     * 项目编号
+     */
+    private Integer tid;
+    /**
+     * 销售额
+     */
+    private BigDecimal salesAmount;
+    /**
+     * 研发费用
+     */
+    private BigDecimal researchAmount;
+    /**
+     * 职工人数
+     */
+    private Integer workersNumber;
+    /**
+     * 科技人员数
+     */
+    private Integer technologyNumber;
+    /**
+     * 科技人员占比
+     */
+    private Double workersRate;
+    /**
+     * 研发立项数
+     */
+    private Integer prjectApprovalNumber;
+    /**
+     * 年度研发预算
+     */
+    private BigDecimal rdBudget;
+    /**
+     * 年度研发预算占比
+     */
+    private Integer rdBudgetRate;
+    /**
+     * 三年研发预算占比
+     */
+    private Double threeYearsRdBudgetRate;
+    /**
+     * 年度销售额
+     */
+    private BigDecimal rdSalesAmount;
+    /**
+     * 数据周期 0=第一季度,1=上半年,2=前三季度,3=全年
+     */
+    private String dataCycle;
+    /**
+     * 实际销售额
+     */
+    private BigDecimal actualSalesAmount;
+    /**
+     * 实际立项RD数
+     */
+    private Integer actualRdNumber;
+    /**
+     * 实际归集研发费用
+     */
+    private BigDecimal actualRdAmount;
+    /**
+     * 火炬统计 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer torchStatus;
+    /**
+     * 高企年报火炬统计 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer chStatus;
+    /**
+     * 统计年报 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer statisticsStatus;
+    /**
+     * 汇算清缴 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer finalSettlementStatus;
+    /**
+     * 火炬统计其他说明
+     */
+    private String torchOther;
+    /**
+     * 高企年报火炬统计其他说明
+     */
+    private String chOther;
+    /**
+     * 统计年报其他说明
+     */
+    private String statisticsOther;
+    /**
+     * 汇算清缴其他说明
+     */
+    private String finalSettlementOther;
+    /**
+     * 报表加扣数
+     */
+    private Integer reportFormsRdNumber;
+    /**
+     * 知识产权加扣费用
+     */
+    private BigDecimal intellectualPropertyAmount;
+    /**
+     * 报表扣研发金额
+     */
+    private BigDecimal reportRdAmount;
+    /**
+     * 录入人
+     */
+    private String aid;
+    /**
+     * 创建时间
+     */
+    private Date createTime;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    public String getUid() {
+        return uid;
+    }
+
+    public void setUid(String uid) {
+        this.uid = uid;
+    }
+
+    public Integer getTid() {
+        return tid;
+    }
+
+    public void setTid(Integer tid) {
+        this.tid = tid;
+    }
+
+    public BigDecimal getSalesAmount() {
+        return salesAmount;
+    }
+
+    public void setSalesAmount(BigDecimal salesAmount) {
+        this.salesAmount = salesAmount;
+    }
+
+    public BigDecimal getResearchAmount() {
+        return researchAmount;
+    }
+
+    public void setResearchAmount(BigDecimal researchAmount) {
+        this.researchAmount = researchAmount;
+    }
+
+    public Integer getWorkersNumber() {
+        return workersNumber;
+    }
+
+    public void setWorkersNumber(Integer workersNumber) {
+        this.workersNumber = workersNumber;
+    }
+
+    public Integer getTechnologyNumber() {
+        return technologyNumber;
+    }
+
+    public void setTechnologyNumber(Integer technologyNumber) {
+        this.technologyNumber = technologyNumber;
+    }
+
+    public Double getWorkersRate() {
+        return workersRate;
+    }
+
+    public void setWorkersRate(Double workersRate) {
+        this.workersRate = workersRate;
+    }
+
+    public Integer getPrjectApprovalNumber() {
+        return prjectApprovalNumber;
+    }
+
+    public void setPrjectApprovalNumber(Integer prjectApprovalNumber) {
+        this.prjectApprovalNumber = prjectApprovalNumber;
+    }
+
+    public BigDecimal getRdBudget() {
+        return rdBudget;
+    }
+
+    public void setRdBudget(BigDecimal rdBudget) {
+        this.rdBudget = rdBudget;
+    }
+
+    public Integer getRdBudgetRate() {
+        return rdBudgetRate;
+    }
+
+    public void setRdBudgetRate(Integer rdBudgetRate) {
+        this.rdBudgetRate = rdBudgetRate;
+    }
+
+    public Double getThreeYearsRdBudgetRate() {
+        return threeYearsRdBudgetRate;
+    }
+
+    public void setThreeYearsRdBudgetRate(Double threeYearsRdBudgetRate) {
+        this.threeYearsRdBudgetRate = threeYearsRdBudgetRate;
+    }
+
+    public BigDecimal getRdSalesAmount() {
+        return rdSalesAmount;
+    }
+
+    public void setRdSalesAmount(BigDecimal rdSalesAmount) {
+        this.rdSalesAmount = rdSalesAmount;
+    }
+
+    public String getDataCycle() {
+        return dataCycle;
+    }
+
+    public void setDataCycle(String dataCycle) {
+        this.dataCycle = dataCycle;
+    }
+
+    public BigDecimal getActualSalesAmount() {
+        return actualSalesAmount;
+    }
+
+    public void setActualSalesAmount(BigDecimal actualSalesAmount) {
+        this.actualSalesAmount = actualSalesAmount;
+    }
+
+    public Integer getActualRdNumber() {
+        return actualRdNumber;
+    }
+
+    public void setActualRdNumber(Integer actualRdNumber) {
+        this.actualRdNumber = actualRdNumber;
+    }
+
+    public BigDecimal getActualRdAmount() {
+        return actualRdAmount;
+    }
+
+    public void setActualRdAmount(BigDecimal actualRdAmount) {
+        this.actualRdAmount = actualRdAmount;
+    }
+
+    public Integer getTorchStatus() {
+        return torchStatus;
+    }
+
+    public void setTorchStatus(Integer torchStatus) {
+        this.torchStatus = torchStatus;
+    }
+
+    public Integer getChStatus() {
+        return chStatus;
+    }
+
+    public void setChStatus(Integer chStatus) {
+        this.chStatus = chStatus;
+    }
+
+    public Integer getStatisticsStatus() {
+        return statisticsStatus;
+    }
+
+    public void setStatisticsStatus(Integer statisticsStatus) {
+        this.statisticsStatus = statisticsStatus;
+    }
+
+    public Integer getFinalSettlementStatus() {
+        return finalSettlementStatus;
+    }
+
+    public void setFinalSettlementStatus(Integer finalSettlementStatus) {
+        this.finalSettlementStatus = finalSettlementStatus;
+    }
+
+    public String getTorchOther() {
+        return torchOther;
+    }
+
+    public void setTorchOther(String torchOther) {
+        this.torchOther = torchOther;
+    }
+
+    public String getChOther() {
+        return chOther;
+    }
+
+    public void setChOther(String chOther) {
+        this.chOther = chOther;
+    }
+
+    public String getStatisticsOther() {
+        return statisticsOther;
+    }
+
+    public void setStatisticsOther(String statisticsOther) {
+        this.statisticsOther = statisticsOther;
+    }
+
+    public String getFinalSettlementOther() {
+        return finalSettlementOther;
+    }
+
+    public void setFinalSettlementOther(String finalSettlementOther) {
+        this.finalSettlementOther = finalSettlementOther;
+    }
+
+    public Integer getReportFormsRdNumber() {
+        return reportFormsRdNumber;
+    }
+
+    public void setReportFormsRdNumber(Integer reportFormsRdNumber) {
+        this.reportFormsRdNumber = reportFormsRdNumber;
+    }
+
+    public BigDecimal getIntellectualPropertyAmount() {
+        return intellectualPropertyAmount;
+    }
+
+    public void setIntellectualPropertyAmount(BigDecimal intellectualPropertyAmount) {
+        this.intellectualPropertyAmount = intellectualPropertyAmount;
+    }
+
+    public BigDecimal getReportRdAmount() {
+        return reportRdAmount;
+    }
+
+    public void setReportRdAmount(BigDecimal reportRdAmount) {
+        this.reportRdAmount = reportRdAmount;
+    }
+
+    public String getAid() {
+        return aid;
+    }
+
+    public void setAid(String aid) {
+        this.aid = aid;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Date createTime) {
+        this.createTime = createTime;
+    }
+
+}
+

+ 292 - 0
src/main/java/com/goafanti/common/model/TaskDetailsExtend.java

@@ -0,0 +1,292 @@
+package com.goafanti.common.model;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+
+
+/**
+ * 项目申报详情扩展表(TaskDetailsExtend)实体类
+ *
+ * @author makejava
+ * @since 2024-12-26 17:12:02
+ */
+public class TaskDetailsExtend implements Serializable {
+    private static final long serialVersionUID = -68895241925046438L;
+
+    private Integer id;
+    /**
+     * 研发准备金备案 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer rdReservesStatus;
+    /**
+     * 研发准备金备其他说明
+     */
+    private String rdReservesOther;
+    /**
+     * 研发奖补申请 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer rdAwardCompensationStatus;
+    /**
+     * 研发准备金备其他说明
+     */
+    private String rdAwardCompensationOther;
+    /**
+     * 研发奖补-申请金额
+     */
+    private BigDecimal rdApplicationFee;
+    /**
+     * 研发奖补-公示金额
+     */
+    private BigDecimal rdAnnouncementAmount;
+    /**
+     * 加扣备查交付 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer adDeliverStatus;
+    /**
+     * 加扣备查交付其他说明
+     */
+    private String adDeliverOther;
+    /**
+     * 加扣备查交付归档 0=否,1=是
+     */
+    private Integer adDeliverFinish;
+    /**
+     * 高新备查交付 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer htDeliverStatus;
+    /**
+     * 高新加扣备查交付其他说明
+     */
+    private String htDeliverOther;
+    /**
+     * 高新加扣备查交付归档 0=否,1=是
+     */
+    private Integer htDeliverFinish;
+    /**
+     * 召开上年度总结与本年工作计划会议 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer closeMeetingStatus;
+    /**
+     * 召开上年度总结与本年工作计划会议其他说明
+     */
+    private String closeMeeting_Other;
+    /**
+     * 阶段性汇报 1=月度,2=季度
+     */
+    private Integer phasedType;
+    /**
+     * 阶段性汇报 1,2,3=选取1月到3月
+     */
+    private String phasedContent;
+    /**
+     * 立项资料编写数
+     */
+    private Integer prjectApprovalWriteNumber;
+    /**
+     * 立项资料编写完成率
+     */
+    private Double prjectApprovalWriteRate;
+    /**
+     * 加扣预申报七月 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer adPrepareJulyStatus;
+    /**
+     * 加扣预申报七月其他说明
+     */
+    private String adPrepareJulyOther;
+    /**
+     * 加扣预申报七月 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer adPrepareOctoberStatus;
+    /**
+     * 加扣预申报十月其他说明
+     */
+    private String adPrepareOctoberOther;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    public Integer getRdReservesStatus() {
+        return rdReservesStatus;
+    }
+
+    public void setRdReservesStatus(Integer rdReservesStatus) {
+        this.rdReservesStatus = rdReservesStatus;
+    }
+
+    public String getRdReservesOther() {
+        return rdReservesOther;
+    }
+
+    public void setRdReservesOther(String rdReservesOther) {
+        this.rdReservesOther = rdReservesOther;
+    }
+
+    public Integer getRdAwardCompensationStatus() {
+        return rdAwardCompensationStatus;
+    }
+
+    public void setRdAwardCompensationStatus(Integer rdAwardCompensationStatus) {
+        this.rdAwardCompensationStatus = rdAwardCompensationStatus;
+    }
+
+    public String getRdAwardCompensationOther() {
+        return rdAwardCompensationOther;
+    }
+
+    public void setRdAwardCompensationOther(String rdAwardCompensationOther) {
+        this.rdAwardCompensationOther = rdAwardCompensationOther;
+    }
+
+    public BigDecimal getRdApplicationFee() {
+        return rdApplicationFee;
+    }
+
+    public void setRdApplicationFee(BigDecimal rdApplicationFee) {
+        this.rdApplicationFee = rdApplicationFee;
+    }
+
+    public BigDecimal getRdAnnouncementAmount() {
+        return rdAnnouncementAmount;
+    }
+
+    public void setRdAnnouncementAmount(BigDecimal rdAnnouncementAmount) {
+        this.rdAnnouncementAmount = rdAnnouncementAmount;
+    }
+
+    public Integer getAdDeliverStatus() {
+        return adDeliverStatus;
+    }
+
+    public void setAdDeliverStatus(Integer adDeliverStatus) {
+        this.adDeliverStatus = adDeliverStatus;
+    }
+
+    public String getAdDeliverOther() {
+        return adDeliverOther;
+    }
+
+    public void setAdDeliverOther(String adDeliverOther) {
+        this.adDeliverOther = adDeliverOther;
+    }
+
+    public Integer getAdDeliverFinish() {
+        return adDeliverFinish;
+    }
+
+    public void setAdDeliverFinish(Integer adDeliverFinish) {
+        this.adDeliverFinish = adDeliverFinish;
+    }
+
+    public Integer getHtDeliverStatus() {
+        return htDeliverStatus;
+    }
+
+    public void setHtDeliverStatus(Integer htDeliverStatus) {
+        this.htDeliverStatus = htDeliverStatus;
+    }
+
+    public String getHtDeliverOther() {
+        return htDeliverOther;
+    }
+
+    public void setHtDeliverOther(String htDeliverOther) {
+        this.htDeliverOther = htDeliverOther;
+    }
+
+    public Integer getHtDeliverFinish() {
+        return htDeliverFinish;
+    }
+
+    public void setHtDeliverFinish(Integer htDeliverFinish) {
+        this.htDeliverFinish = htDeliverFinish;
+    }
+
+    public Integer getCloseMeetingStatus() {
+        return closeMeetingStatus;
+    }
+
+    public void setCloseMeetingStatus(Integer closeMeetingStatus) {
+        this.closeMeetingStatus = closeMeetingStatus;
+    }
+
+    public String getCloseMeeting_Other() {
+        return closeMeeting_Other;
+    }
+
+    public void setCloseMeeting_Other(String closeMeeting_Other) {
+        this.closeMeeting_Other = closeMeeting_Other;
+    }
+
+    public Integer getPhasedType() {
+        return phasedType;
+    }
+
+    public void setPhasedType(Integer phasedType) {
+        this.phasedType = phasedType;
+    }
+
+    public String getPhasedContent() {
+        return phasedContent;
+    }
+
+    public void setPhasedContent(String phasedContent) {
+        this.phasedContent = phasedContent;
+    }
+
+    public Integer getPrjectApprovalWriteNumber() {
+        return prjectApprovalWriteNumber;
+    }
+
+    public void setPrjectApprovalWriteNumber(Integer prjectApprovalWriteNumber) {
+        this.prjectApprovalWriteNumber = prjectApprovalWriteNumber;
+    }
+
+    public Double getPrjectApprovalWriteRate() {
+        return prjectApprovalWriteRate;
+    }
+
+    public void setPrjectApprovalWriteRate(Double prjectApprovalWriteRate) {
+        this.prjectApprovalWriteRate = prjectApprovalWriteRate;
+    }
+
+    public Integer getAdPrepareJulyStatus() {
+        return adPrepareJulyStatus;
+    }
+
+    public void setAdPrepareJulyStatus(Integer adPrepareJulyStatus) {
+        this.adPrepareJulyStatus = adPrepareJulyStatus;
+    }
+
+    public String getAdPrepareJulyOther() {
+        return adPrepareJulyOther;
+    }
+
+    public void setAdPrepareJulyOther(String adPrepareJulyOther) {
+        this.adPrepareJulyOther = adPrepareJulyOther;
+    }
+
+    public Integer getAdPrepareOctoberStatus() {
+        return adPrepareOctoberStatus;
+    }
+
+    public void setAdPrepareOctoberStatus(Integer adPrepareOctoberStatus) {
+        this.adPrepareOctoberStatus = adPrepareOctoberStatus;
+    }
+
+    public String getAdPrepareOctoberOther() {
+        return adPrepareOctoberOther;
+    }
+
+    public void setAdPrepareOctoberOther(String adPrepareOctoberOther) {
+        this.adPrepareOctoberOther = adPrepareOctoberOther;
+    }
+
+}
+

+ 327 - 0
src/main/java/com/goafanti/common/model/TaskDetailsSupplement.java

@@ -0,0 +1,327 @@
+package com.goafanti.common.model;
+
+import java.io.Serializable;
+
+
+/**
+ * 项目申报详情补充表(TaskDetailsSupplement)实体类
+ *
+ * @author makejava
+ * @since 2024-12-26 17:12:11
+ */
+public class TaskDetailsSupplement implements Serializable {
+    private static final long serialVersionUID = 799297636952880328L;
+
+    private Integer id;
+    /**
+     * 知识产权申报数
+     */
+    private Integer ipDeclare;
+    /**
+     * 知识产权授权数
+     */
+    private Integer ipAuthorize;
+    /**
+     * 知识产权高新数
+     */
+    private Integer ipHt;
+    /**
+     * 知识产权高新I数
+     */
+    private Integer ipHtI;
+    /**
+     * 知识产权高新II数
+     */
+    private Integer ipHtIi;
+    /**
+     * 委外开发项目数
+     */
+    private Integer outsourcingDev;
+    /**
+     * 技术开发合同登记数
+     */
+    private Integer contractRegistration;
+    /**
+     * 公出约定次数
+     */
+    private Integer publicReleaseStipulation;
+    /**
+     * 公出实际次数
+     */
+    private Integer publicReleaseActual;
+    /**
+     * 培训约定次数
+     */
+    private Integer trainingStipulation;
+    /**
+     * 培训实际次数
+     */
+    private Integer trainingActual;
+    /**
+     * 培训其他说明
+     */
+    private String trainingOther;
+    /**
+     * 专项检查数
+     */
+    private Integer specialInspect;
+    /**
+     * 模拟稽查数
+     */
+    private Integer simulatedAudit;
+    /**
+     * 高新认定评价估分
+     */
+    private Integer htScore;
+    /**
+     * 高新认定评申报批次
+     */
+    private Integer htBatch;
+    /**
+     * 高新认定重点关注 0=否,1=是
+     */
+    private Integer htFocus;
+    /**
+     * 网上系统提交 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer webSubmit;
+    /**
+     * 网上系统提交其他说明
+     */
+    private String webSubmitOther;
+    /**
+     * 纸质材料提交 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer paperSubmit;
+    /**
+     * 纸质材料提交其他说明
+     */
+    private String paperSubmitOther;
+    /**
+     * 评审省级 0=淘汰,1=公示
+     */
+    private Integer reviewProvince;
+    /**
+     * 评审国家级 0=淘汰,1=公示
+     */
+    private Integer reviewCountry;
+    /**
+     * 评审省级序号
+     */
+    private Integer reviewProvinceNumber;
+    /**
+     * 评审国家级高企编号
+     */
+    private Integer reviewCountryNumber;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    public Integer getIpDeclare() {
+        return ipDeclare;
+    }
+
+    public void setIpDeclare(Integer ipDeclare) {
+        this.ipDeclare = ipDeclare;
+    }
+
+    public Integer getIpAuthorize() {
+        return ipAuthorize;
+    }
+
+    public void setIpAuthorize(Integer ipAuthorize) {
+        this.ipAuthorize = ipAuthorize;
+    }
+
+    public Integer getIpHt() {
+        return ipHt;
+    }
+
+    public void setIpHt(Integer ipHt) {
+        this.ipHt = ipHt;
+    }
+
+    public Integer getIpHtI() {
+        return ipHtI;
+    }
+
+    public void setIpHtI(Integer ipHtI) {
+        this.ipHtI = ipHtI;
+    }
+
+    public Integer getIpHtIi() {
+        return ipHtIi;
+    }
+
+    public void setIpHtIi(Integer ipHtIi) {
+        this.ipHtIi = ipHtIi;
+    }
+
+    public Integer getOutsourcingDev() {
+        return outsourcingDev;
+    }
+
+    public void setOutsourcingDev(Integer outsourcingDev) {
+        this.outsourcingDev = outsourcingDev;
+    }
+
+    public Integer getContractRegistration() {
+        return contractRegistration;
+    }
+
+    public void setContractRegistration(Integer contractRegistration) {
+        this.contractRegistration = contractRegistration;
+    }
+
+    public Integer getPublicReleaseStipulation() {
+        return publicReleaseStipulation;
+    }
+
+    public void setPublicReleaseStipulation(Integer publicReleaseStipulation) {
+        this.publicReleaseStipulation = publicReleaseStipulation;
+    }
+
+    public Integer getPublicReleaseActual() {
+        return publicReleaseActual;
+    }
+
+    public void setPublicReleaseActual(Integer publicReleaseActual) {
+        this.publicReleaseActual = publicReleaseActual;
+    }
+
+    public Integer getTrainingStipulation() {
+        return trainingStipulation;
+    }
+
+    public void setTrainingStipulation(Integer trainingStipulation) {
+        this.trainingStipulation = trainingStipulation;
+    }
+
+    public Integer getTrainingActual() {
+        return trainingActual;
+    }
+
+    public void setTrainingActual(Integer trainingActual) {
+        this.trainingActual = trainingActual;
+    }
+
+    public String getTrainingOther() {
+        return trainingOther;
+    }
+
+    public void setTrainingOther(String trainingOther) {
+        this.trainingOther = trainingOther;
+    }
+
+    public Integer getSpecialInspect() {
+        return specialInspect;
+    }
+
+    public void setSpecialInspect(Integer specialInspect) {
+        this.specialInspect = specialInspect;
+    }
+
+    public Integer getSimulatedAudit() {
+        return simulatedAudit;
+    }
+
+    public void setSimulatedAudit(Integer simulatedAudit) {
+        this.simulatedAudit = simulatedAudit;
+    }
+
+    public Integer getHtScore() {
+        return htScore;
+    }
+
+    public void setHtScore(Integer htScore) {
+        this.htScore = htScore;
+    }
+
+    public Integer getHtBatch() {
+        return htBatch;
+    }
+
+    public void setHtBatch(Integer htBatch) {
+        this.htBatch = htBatch;
+    }
+
+    public Integer getHtFocus() {
+        return htFocus;
+    }
+
+    public void setHtFocus(Integer htFocus) {
+        this.htFocus = htFocus;
+    }
+
+    public Integer getWebSubmit() {
+        return webSubmit;
+    }
+
+    public void setWebSubmit(Integer webSubmit) {
+        this.webSubmit = webSubmit;
+    }
+
+    public String getWebSubmitOther() {
+        return webSubmitOther;
+    }
+
+    public void setWebSubmitOther(String webSubmitOther) {
+        this.webSubmitOther = webSubmitOther;
+    }
+
+    public Integer getPaperSubmit() {
+        return paperSubmit;
+    }
+
+    public void setPaperSubmit(Integer paperSubmit) {
+        this.paperSubmit = paperSubmit;
+    }
+
+    public String getPaperSubmitOther() {
+        return paperSubmitOther;
+    }
+
+    public void setPaperSubmitOther(String paperSubmitOther) {
+        this.paperSubmitOther = paperSubmitOther;
+    }
+
+    public Integer getReviewProvince() {
+        return reviewProvince;
+    }
+
+    public void setReviewProvince(Integer reviewProvince) {
+        this.reviewProvince = reviewProvince;
+    }
+
+    public Integer getReviewCountry() {
+        return reviewCountry;
+    }
+
+    public void setReviewCountry(Integer reviewCountry) {
+        this.reviewCountry = reviewCountry;
+    }
+
+    public Integer getReviewProvinceNumber() {
+        return reviewProvinceNumber;
+    }
+
+    public void setReviewProvinceNumber(Integer reviewProvinceNumber) {
+        this.reviewProvinceNumber = reviewProvinceNumber;
+    }
+
+    public Integer getReviewCountryNumber() {
+        return reviewCountryNumber;
+    }
+
+    public void setReviewCountryNumber(Integer reviewCountryNumber) {
+        this.reviewCountryNumber = reviewCountryNumber;
+    }
+
+}
+

+ 575 - 0
src/main/java/com/goafanti/techproject/bo/TaskDetailsBo.java

@@ -0,0 +1,575 @@
+package com.goafanti.techproject.bo;
+
+import com.goafanti.common.model.TaskDetails;
+
+import java.math.BigDecimal;
+
+public class TaskDetailsBo extends TaskDetails {
+
+    /**
+     * 研发准备金备案 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer rdReservesStatus;
+    /**
+     * 研发准备金备其他说明
+     */
+    private String rdReservesOther;
+    /**
+     * 研发奖补申请 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer rdAwardCompensationStatus;
+    /**
+     * 研发准备金备其他说明
+     */
+    private String rdAwardCompensationOther;
+    /**
+     * 研发奖补-申请金额
+     */
+    private BigDecimal rdApplicationFee;
+    /**
+     * 研发奖补-公示金额
+     */
+    private BigDecimal rdAnnouncementAmount;
+    /**
+     * 加扣备查交付 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer adDeliverStatus;
+    /**
+     * 加扣备查交付其他说明
+     */
+    private String adDeliverOther;
+    /**
+     * 加扣备查交付归档 0=否,1=是
+     */
+    private Integer adDeliverFinish;
+    /**
+     * 高新备查交付 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer htDeliverStatus;
+    /**
+     * 高新加扣备查交付其他说明
+     */
+    private String htDeliverOther;
+    /**
+     * 高新加扣备查交付归档 0=否,1=是
+     */
+    private Integer htDeliverFinish;
+    /**
+     * 召开上年度总结与本年工作计划会议 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer closeMeetingStatus;
+    /**
+     * 召开上年度总结与本年工作计划会议其他说明
+     */
+    private String closeMeeting_Other;
+    /**
+     * 阶段性汇报 1=月度,2=季度
+     */
+    private Integer phasedType;
+    /**
+     * 阶段性汇报 1,2,3=选取1月到3月
+     */
+    private String phasedContent;
+    /**
+     * 立项资料编写数
+     */
+    private Integer prjectApprovalWriteNumber;
+    /**
+     * 立项资料编写完成率
+     */
+    private Double prjectApprovalWriteRate;
+    /**
+     * 加扣预申报七月 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer adPrepareJulyStatus;
+    /**
+     * 加扣预申报七月其他说明
+     */
+    private String adPrepareJulyOther;
+    /**
+     * 加扣预申报七月 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer adPrepareOctoberStatus;
+    /**
+     * 加扣预申报十月其他说明
+     */
+    private String adPrepareOctoberOther;
+
+    /**
+     * 知识产权申报数
+     */
+    private Integer ipDeclare;
+    /**
+     * 知识产权授权数
+     */
+    private Integer ipAuthorize;
+    /**
+     * 知识产权高新数
+     */
+    private Integer ipHt;
+    /**
+     * 知识产权高新I数
+     */
+    private Integer ipHtI;
+    /**
+     * 知识产权高新II数
+     */
+    private Integer ipHtIi;
+    /**
+     * 委外开发项目数
+     */
+    private Integer outsourcingDev;
+    /**
+     * 技术开发合同登记数
+     */
+    private Integer contractRegistration;
+    /**
+     * 公出约定次数
+     */
+    private Integer publicReleaseStipulation;
+    /**
+     * 公出实际次数
+     */
+    private Integer publicReleaseActual;
+    /**
+     * 培训约定次数
+     */
+    private Integer trainingStipulation;
+    /**
+     * 培训实际次数
+     */
+    private Integer trainingActual;
+    /**
+     * 培训其他说明
+     */
+    private String trainingOther;
+    /**
+     * 专项检查数
+     */
+    private Integer specialInspect;
+    /**
+     * 模拟稽查数
+     */
+    private Integer simulatedAudit;
+    /**
+     * 高新认定评价估分
+     */
+    private Integer htScore;
+    /**
+     * 高新认定评申报批次
+     */
+    private Integer htBatch;
+    /**
+     * 高新认定重点关注 0=否,1=是
+     */
+    private Integer htFocus;
+    /**
+     * 网上系统提交 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer webSubmit;
+    /**
+     * 网上系统提交其他说明
+     */
+    private String webSubmitOther;
+    /**
+     * 纸质材料提交 0=其他,1=待完成,2=已完成,3=合同无此项
+     */
+    private Integer paperSubmit;
+    /**
+     * 纸质材料提交其他说明
+     */
+    private String paperSubmitOther;
+    /**
+     * 评审省级 0=淘汰,1=公示
+     */
+    private Integer reviewProvince;
+    /**
+     * 评审国家级 0=淘汰,1=公示
+     */
+    private Integer reviewCountry;
+    /**
+     * 评审省级序号
+     */
+    private Integer reviewProvinceNumber;
+    /**
+     * 评审国家级高企编号
+     */
+    private Integer reviewCountryNumber;
+
+
+    public Integer getRdReservesStatus() {
+        return rdReservesStatus;
+    }
+
+    public void setRdReservesStatus(Integer rdReservesStatus) {
+        this.rdReservesStatus = rdReservesStatus;
+    }
+
+    public String getRdReservesOther() {
+        return rdReservesOther;
+    }
+
+    public void setRdReservesOther(String rdReservesOther) {
+        this.rdReservesOther = rdReservesOther;
+    }
+
+    public Integer getRdAwardCompensationStatus() {
+        return rdAwardCompensationStatus;
+    }
+
+    public void setRdAwardCompensationStatus(Integer rdAwardCompensationStatus) {
+        this.rdAwardCompensationStatus = rdAwardCompensationStatus;
+    }
+
+    public String getRdAwardCompensationOther() {
+        return rdAwardCompensationOther;
+    }
+
+    public void setRdAwardCompensationOther(String rdAwardCompensationOther) {
+        this.rdAwardCompensationOther = rdAwardCompensationOther;
+    }
+
+    public BigDecimal getRdApplicationFee() {
+        return rdApplicationFee;
+    }
+
+    public void setRdApplicationFee(BigDecimal rdApplicationFee) {
+        this.rdApplicationFee = rdApplicationFee;
+    }
+
+    public BigDecimal getRdAnnouncementAmount() {
+        return rdAnnouncementAmount;
+    }
+
+    public void setRdAnnouncementAmount(BigDecimal rdAnnouncementAmount) {
+        this.rdAnnouncementAmount = rdAnnouncementAmount;
+    }
+
+    public Integer getAdDeliverStatus() {
+        return adDeliverStatus;
+    }
+
+    public void setAdDeliverStatus(Integer adDeliverStatus) {
+        this.adDeliverStatus = adDeliverStatus;
+    }
+
+    public String getAdDeliverOther() {
+        return adDeliverOther;
+    }
+
+    public void setAdDeliverOther(String adDeliverOther) {
+        this.adDeliverOther = adDeliverOther;
+    }
+
+    public Integer getAdDeliverFinish() {
+        return adDeliverFinish;
+    }
+
+    public void setAdDeliverFinish(Integer adDeliverFinish) {
+        this.adDeliverFinish = adDeliverFinish;
+    }
+
+    public Integer getHtDeliverStatus() {
+        return htDeliverStatus;
+    }
+
+    public void setHtDeliverStatus(Integer htDeliverStatus) {
+        this.htDeliverStatus = htDeliverStatus;
+    }
+
+    public String getHtDeliverOther() {
+        return htDeliverOther;
+    }
+
+    public void setHtDeliverOther(String htDeliverOther) {
+        this.htDeliverOther = htDeliverOther;
+    }
+
+    public Integer getHtDeliverFinish() {
+        return htDeliverFinish;
+    }
+
+    public void setHtDeliverFinish(Integer htDeliverFinish) {
+        this.htDeliverFinish = htDeliverFinish;
+    }
+
+    public Integer getCloseMeetingStatus() {
+        return closeMeetingStatus;
+    }
+
+    public void setCloseMeetingStatus(Integer closeMeetingStatus) {
+        this.closeMeetingStatus = closeMeetingStatus;
+    }
+
+    public String getCloseMeeting_Other() {
+        return closeMeeting_Other;
+    }
+
+    public void setCloseMeeting_Other(String closeMeeting_Other) {
+        this.closeMeeting_Other = closeMeeting_Other;
+    }
+
+    public Integer getPhasedType() {
+        return phasedType;
+    }
+
+    public void setPhasedType(Integer phasedType) {
+        this.phasedType = phasedType;
+    }
+
+    public String getPhasedContent() {
+        return phasedContent;
+    }
+
+    public void setPhasedContent(String phasedContent) {
+        this.phasedContent = phasedContent;
+    }
+
+    public Integer getPrjectApprovalWriteNumber() {
+        return prjectApprovalWriteNumber;
+    }
+
+    public void setPrjectApprovalWriteNumber(Integer prjectApprovalWriteNumber) {
+        this.prjectApprovalWriteNumber = prjectApprovalWriteNumber;
+    }
+
+    public Double getPrjectApprovalWriteRate() {
+        return prjectApprovalWriteRate;
+    }
+
+    public void setPrjectApprovalWriteRate(Double prjectApprovalWriteRate) {
+        this.prjectApprovalWriteRate = prjectApprovalWriteRate;
+    }
+
+    public Integer getAdPrepareJulyStatus() {
+        return adPrepareJulyStatus;
+    }
+
+    public void setAdPrepareJulyStatus(Integer adPrepareJulyStatus) {
+        this.adPrepareJulyStatus = adPrepareJulyStatus;
+    }
+
+    public String getAdPrepareJulyOther() {
+        return adPrepareJulyOther;
+    }
+
+    public void setAdPrepareJulyOther(String adPrepareJulyOther) {
+        this.adPrepareJulyOther = adPrepareJulyOther;
+    }
+
+    public Integer getAdPrepareOctoberStatus() {
+        return adPrepareOctoberStatus;
+    }
+
+    public void setAdPrepareOctoberStatus(Integer adPrepareOctoberStatus) {
+        this.adPrepareOctoberStatus = adPrepareOctoberStatus;
+    }
+
+    public String getAdPrepareOctoberOther() {
+        return adPrepareOctoberOther;
+    }
+
+    public void setAdPrepareOctoberOther(String adPrepareOctoberOther) {
+        this.adPrepareOctoberOther = adPrepareOctoberOther;
+    }
+
+    public Integer getIpDeclare() {
+        return ipDeclare;
+    }
+
+    public void setIpDeclare(Integer ipDeclare) {
+        this.ipDeclare = ipDeclare;
+    }
+
+    public Integer getIpAuthorize() {
+        return ipAuthorize;
+    }
+
+    public void setIpAuthorize(Integer ipAuthorize) {
+        this.ipAuthorize = ipAuthorize;
+    }
+
+    public Integer getIpHt() {
+        return ipHt;
+    }
+
+    public void setIpHt(Integer ipHt) {
+        this.ipHt = ipHt;
+    }
+
+    public Integer getIpHtI() {
+        return ipHtI;
+    }
+
+    public void setIpHtI(Integer ipHtI) {
+        this.ipHtI = ipHtI;
+    }
+
+    public Integer getIpHtIi() {
+        return ipHtIi;
+    }
+
+    public void setIpHtIi(Integer ipHtIi) {
+        this.ipHtIi = ipHtIi;
+    }
+
+    public Integer getOutsourcingDev() {
+        return outsourcingDev;
+    }
+
+    public void setOutsourcingDev(Integer outsourcingDev) {
+        this.outsourcingDev = outsourcingDev;
+    }
+
+    public Integer getContractRegistration() {
+        return contractRegistration;
+    }
+
+    public void setContractRegistration(Integer contractRegistration) {
+        this.contractRegistration = contractRegistration;
+    }
+
+    public Integer getPublicReleaseStipulation() {
+        return publicReleaseStipulation;
+    }
+
+    public void setPublicReleaseStipulation(Integer publicReleaseStipulation) {
+        this.publicReleaseStipulation = publicReleaseStipulation;
+    }
+
+    public Integer getPublicReleaseActual() {
+        return publicReleaseActual;
+    }
+
+    public void setPublicReleaseActual(Integer publicReleaseActual) {
+        this.publicReleaseActual = publicReleaseActual;
+    }
+
+    public Integer getTrainingStipulation() {
+        return trainingStipulation;
+    }
+
+    public void setTrainingStipulation(Integer trainingStipulation) {
+        this.trainingStipulation = trainingStipulation;
+    }
+
+    public Integer getTrainingActual() {
+        return trainingActual;
+    }
+
+    public void setTrainingActual(Integer trainingActual) {
+        this.trainingActual = trainingActual;
+    }
+
+    public String getTrainingOther() {
+        return trainingOther;
+    }
+
+    public void setTrainingOther(String trainingOther) {
+        this.trainingOther = trainingOther;
+    }
+
+    public Integer getSpecialInspect() {
+        return specialInspect;
+    }
+
+    public void setSpecialInspect(Integer specialInspect) {
+        this.specialInspect = specialInspect;
+    }
+
+    public Integer getSimulatedAudit() {
+        return simulatedAudit;
+    }
+
+    public void setSimulatedAudit(Integer simulatedAudit) {
+        this.simulatedAudit = simulatedAudit;
+    }
+
+    public Integer getHtScore() {
+        return htScore;
+    }
+
+    public void setHtScore(Integer htScore) {
+        this.htScore = htScore;
+    }
+
+    public Integer getHtBatch() {
+        return htBatch;
+    }
+
+    public void setHtBatch(Integer htBatch) {
+        this.htBatch = htBatch;
+    }
+
+    public Integer getHtFocus() {
+        return htFocus;
+    }
+
+    public void setHtFocus(Integer htFocus) {
+        this.htFocus = htFocus;
+    }
+
+    public Integer getWebSubmit() {
+        return webSubmit;
+    }
+
+    public void setWebSubmit(Integer webSubmit) {
+        this.webSubmit = webSubmit;
+    }
+
+    public String getWebSubmitOther() {
+        return webSubmitOther;
+    }
+
+    public void setWebSubmitOther(String webSubmitOther) {
+        this.webSubmitOther = webSubmitOther;
+    }
+
+    public Integer getPaperSubmit() {
+        return paperSubmit;
+    }
+
+    public void setPaperSubmit(Integer paperSubmit) {
+        this.paperSubmit = paperSubmit;
+    }
+
+    public String getPaperSubmitOther() {
+        return paperSubmitOther;
+    }
+
+    public void setPaperSubmitOther(String paperSubmitOther) {
+        this.paperSubmitOther = paperSubmitOther;
+    }
+
+    public Integer getReviewProvince() {
+        return reviewProvince;
+    }
+
+    public void setReviewProvince(Integer reviewProvince) {
+        this.reviewProvince = reviewProvince;
+    }
+
+    public Integer getReviewCountry() {
+        return reviewCountry;
+    }
+
+    public void setReviewCountry(Integer reviewCountry) {
+        this.reviewCountry = reviewCountry;
+    }
+
+    public Integer getReviewProvinceNumber() {
+        return reviewProvinceNumber;
+    }
+
+    public void setReviewProvinceNumber(Integer reviewProvinceNumber) {
+        this.reviewProvinceNumber = reviewProvinceNumber;
+    }
+
+    public Integer getReviewCountryNumber() {
+        return reviewCountryNumber;
+    }
+
+    public void setReviewCountryNumber(Integer reviewCountryNumber) {
+        this.reviewCountryNumber = reviewCountryNumber;
+    }
+}

+ 91 - 0
src/main/java/com/goafanti/techproject/controller/TaskDetailsController.java

@@ -0,0 +1,91 @@
+package com.goafanti.techproject.controller;
+
+import com.goafanti.common.bo.Result;
+import com.goafanti.common.controller.BaseController;
+import com.goafanti.common.model.TaskDetails;
+import com.goafanti.common.model.TaskDetailsExtend;
+import com.goafanti.common.model.TaskDetailsSupplement;
+import com.goafanti.techproject.bo.TaskDetailsBo;
+import com.goafanti.techproject.service.TaskDetailsService;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+
+/**
+ * 项目申报详情(TaskDetails)表控制层
+ *
+ * @author makejava
+ * @since 2024-12-26 17:11:50
+ */
+@RestController
+@RequestMapping("/api/admin/taskDetails")
+public class TaskDetailsController extends BaseController {
+    /**
+     * 服务对象
+     */
+    @Resource
+    private TaskDetailsService taskDetailsService;
+
+
+    /**
+     * 新增项目详情数据
+     *
+     * @param taskDetails 实体
+     * @return 新增结果
+     */
+    @PostMapping("/add")
+    public Result<TaskDetailsBo> add(TaskDetails taskDetails, TaskDetailsExtend taskDetailsExtend, TaskDetailsSupplement taskDetailsSupp) {
+        return new Result<>().data(this.taskDetailsService.insert(taskDetails,taskDetailsExtend,taskDetailsSupp));
+    }
+
+
+    /**
+     * 通过主键查询单条数据
+     *
+     * @param id 主键
+     * @return 单条数据
+     */
+    @GetMapping("/get")
+    public Result<TaskDetails> queryById(Integer id) {
+        return new Result<>().data(this.taskDetailsService.queryById(id));
+    }
+
+
+    /**
+     * 编辑数据
+     *
+     * @param taskDetails 实体
+     * @return 编辑结果
+     */
+    @PostMapping("/update")
+    public Result edit(TaskDetails taskDetails) {
+        return new Result<>().data(this.taskDetailsService.update(taskDetails));
+    }
+
+    /**
+     * 删除数据
+     *
+     * @param id 主键
+     * @return 删除是否成功
+     */
+    @GetMapping("/delete")
+    public Result deleteById(Integer id) {
+        return new Result<>().data(this.taskDetailsService.deleteById(id));
+    }
+
+    /**
+     * 列表查询
+     *
+     * @param in 参数
+     * @return
+     */
+    @GetMapping("/list")
+    public Result<TaskDetails> list(TaskDetails in, Integer pageNo, Integer pageSize) {
+        return new Result<>().data(this.taskDetailsService.list(in, pageNo, pageSize));
+    }
+
+}
+

+ 56 - 0
src/main/java/com/goafanti/techproject/service/TaskDetailsService.java

@@ -0,0 +1,56 @@
+package com.goafanti.techproject.service;
+
+import com.goafanti.common.model.TaskDetails;
+import com.goafanti.common.model.TaskDetailsExtend;
+import com.goafanti.common.model.TaskDetailsSupplement;
+
+/**
+ * 项目申报详情(TaskDetails)表服务接口
+ *
+ * @author makejava
+ * @since 2024-12-26 17:11:50
+ */
+public interface TaskDetailsService {
+
+    /**
+     * 通过ID查询单条数据
+     *
+     * @param id 主键
+     * @return 实例对象
+     */
+    TaskDetails queryById(Integer id);
+
+
+    /**
+     * 新增数据
+     *
+     * @param taskDetails 实例对象
+     * @return 实例对象
+     */
+    TaskDetails insert(TaskDetails taskDetails, TaskDetailsExtend taskDetailsExtend, TaskDetailsSupplement taskDetailsSupp);
+
+    /**
+     * 修改数据
+     *
+     * @param taskDetails 实例对象
+     * @return 实例对象
+     */
+    TaskDetails update(TaskDetails taskDetails);
+
+    /**
+     * 通过主键删除数据
+     *
+     * @param id 主键
+     * @return 是否成功
+     */
+    boolean deleteById(Integer id);
+
+    /**
+     * 列表数据
+     *
+     * @param in 参数
+     * @return 是否成功
+     */
+    Object list(TaskDetails in, Integer pageNo, Integer pageSize);
+
+}

+ 114 - 0
src/main/java/com/goafanti/techproject/service/impl/TaskDetailsServiceImpl.java

@@ -0,0 +1,114 @@
+package com.goafanti.techproject.service.impl;
+
+import com.goafanti.common.dao.TOrderNewMapper;
+import com.goafanti.common.dao.TaskDetailsExtendMapper;
+import com.goafanti.common.dao.TaskDetailsMapper;
+import com.goafanti.common.dao.TaskDetailsSupplementMapper;
+import com.goafanti.common.model.TOrderNew;
+import com.goafanti.common.model.TaskDetails;
+import com.goafanti.common.model.TaskDetailsExtend;
+import com.goafanti.common.model.TaskDetailsSupplement;
+import com.goafanti.core.mybatis.BaseMybatisDao;
+import com.goafanti.core.mybatis.page.Pagination;
+import com.goafanti.core.shiro.token.TokenManager;
+import com.goafanti.techproject.bo.TaskDetailsBo;
+import com.goafanti.techproject.service.TaskDetailsService;
+import org.apache.commons.beanutils.BeanUtils;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.Date;
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * 项目申报详情(TaskDetails)表服务实现类
+ *
+ * @author makejava
+ * @since 2024-12-26 17:11:50
+ */
+@Service("taskDetailsService")
+public class TaskDetailsServiceImpl extends BaseMybatisDao<TaskDetailsMapper> implements TaskDetailsService {
+    @Resource
+    private TaskDetailsMapper taskDetailsMapper;
+    @Resource
+    private TaskDetailsExtendMapper taskDetailsExtendMapper;
+    @Resource
+    private TaskDetailsSupplementMapper taskDetailsSupplementMapper;
+    @Resource
+    private TOrderNewMapper tOrderNewMapper;
+
+
+    @Override
+    public Pagination<TaskDetails> list(TaskDetails taskDetails, Integer pageNo, Integer pageSize) {
+        Map<String, Object> params = new HashMap<>();
+        params.put("in", taskDetails);
+        return (Pagination<TaskDetails>) findPage("findTaskDetailsList",
+                "findTaskDetailsCount", params, pageNo, pageSize);
+    }
+
+    /**
+     * 通过ID查询单条数据
+     *
+     * @param id 主键
+     * @return 实例对象
+     */
+    @Override
+    public TaskDetails queryById(Integer id) {
+        return this.taskDetailsMapper.selectById(id);
+    }
+
+
+    /**
+     * 新增数据
+     *
+     * @param taskDetails 实例对象
+     * @return 实例对象
+     */
+    @Override
+    public TaskDetailsBo insert(TaskDetails taskDetails, TaskDetailsExtend taskDetailsExtend, TaskDetailsSupplement taskDetailsSupp) {
+        TOrderNew tOrderNew =tOrderNewMapper.selectByTid(taskDetails.getTid());
+        taskDetails.setAid(TokenManager.getAdminId());
+        taskDetails.setUid(tOrderNew.getBuyerId());
+        taskDetails.setCreateTime(new Date());
+        this.taskDetailsMapper.insert(taskDetails);
+        if (taskDetails.getId() != null) {
+            taskDetailsExtend.setId(taskDetails.getId());
+            taskDetailsSupp.setId(taskDetails.getId());
+            taskDetailsExtendMapper.insert(taskDetailsExtend);
+            taskDetailsSupplementMapper.insert(taskDetailsSupp);
+        }
+        TaskDetailsBo taskDetailsBo = new TaskDetailsBo();
+        try {
+            BeanUtils.copyProperties(taskDetails, taskDetailsBo);
+            BeanUtils.copyProperties(taskDetailsExtend, taskDetailsBo);
+            BeanUtils.copyProperties(taskDetailsSupp, taskDetailsBo);
+        } catch (Exception e) {
+            throw new RuntimeException(e);
+        }
+        return taskDetailsBo;
+    }
+
+    /**
+     * 修改数据
+     *
+     * @param taskDetails 实例对象
+     * @return 实例对象
+     */
+    @Override
+    public TaskDetails update(TaskDetails taskDetails) {
+        this.taskDetailsMapper.update(taskDetails);
+        return this.queryById(taskDetails.getId());
+    }
+
+    /**
+     * 通过主键删除数据
+     *
+     * @param id 主键
+     * @return 是否成功
+     */
+    @Override
+    public boolean deleteById(Integer id) {
+        return this.taskDetailsMapper.deleteById(id) > 0;
+    }
+}