|
@@ -15,6 +15,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="describe" column="describe_" />
|
|
|
<result property="remark" column="remark" />
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
+ <result property="status" column="status" />
|
|
|
<result property="createBy" column="create_by" />
|
|
|
<result property="createTime" column="create_time" />
|
|
|
<result property="updateBy" column="update_by" />
|
|
@@ -22,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTProjectInvestigateVo">
|
|
|
- select id, investigate_name, investigate_code, project_pool_id, investigate_person, investigate_person_id, investigate_cost, describe_, remark, del_flag, create_by, create_time, update_by, update_time from t_project_investigate
|
|
|
+ select id, investigate_name, investigate_code, project_pool_id, investigate_person, investigate_person_id, investigate_cost, describe_, remark, status, del_flag, create_by, create_time, update_by, update_time from t_project_investigate
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectTProjectInvestigateList" parameterType="TProjectInvestigate" resultMap="TProjectInvestigateResult">
|
|
@@ -55,6 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="investigateCost != null">investigate_cost,</if>
|
|
|
<if test="describe != null">describe_,</if>
|
|
|
<if test="remark != null">remark,</if>
|
|
|
+ <if test="status != null">status,</if>
|
|
|
<if test="delFlag != null">del_flag,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
@@ -71,6 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="investigateCost != null">#{investigateCost},</if>
|
|
|
<if test="describe != null">#{describe},</if>
|
|
|
<if test="remark != null">#{remark},</if>
|
|
|
+ <if test="status != null">#{status},</if>
|
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
@@ -90,6 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="investigateCost != null">investigate_cost = #{investigateCost},</if>
|
|
|
<if test="describe != null">describe_ = #{describe},</if>
|
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
|
+ <if test="status != null">status = #{status},</if>
|
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
@@ -124,5 +128,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where project_pool_id = #{projectPoolId} and del_flag = 0
|
|
|
</select>
|
|
|
|
|
|
+ <update id="editStatus" parameterType="String">
|
|
|
+ update t_project_investigate
|
|
|
+ set status = 1
|
|
|
+ where id = #{id}
|
|
|
+ </update>
|
|
|
|
|
|
</mapper>
|