|
@@ -13,6 +13,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="investigatePersonId" column="investigate_person_id" />
|
|
<result property="investigatePersonId" column="investigate_person_id" />
|
|
<result property="investigateCost" column="investigate_cost" />
|
|
<result property="investigateCost" column="investigate_cost" />
|
|
<result property="describe" column="describe_" />
|
|
<result property="describe" column="describe_" />
|
|
|
|
+ <result property="investigatePlace" column="investigate_place" />
|
|
|
|
+ <result property="startTime" column="start_time" />
|
|
|
|
+ <result property="endTime" column="end_time" />
|
|
|
|
+ <result property="readiness" column="readiness" />
|
|
|
|
+ <result property="thirdParty" column="third_party" />
|
|
|
|
+ <result property="deadDate" column="dead_date" />
|
|
<result property="remark" column="remark" />
|
|
<result property="remark" column="remark" />
|
|
<result property="delFlag" column="del_flag" />
|
|
<result property="delFlag" column="del_flag" />
|
|
<result property="status" column="status" />
|
|
<result property="status" column="status" />
|
|
@@ -23,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTProjectInvestigateVo">
|
|
<sql id="selectTProjectInvestigateVo">
|
|
- 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
|
|
|
|
|
|
+ select id, investigate_name, investigate_code, project_pool_id, investigate_place, start_time, end_time, readiness, third_party, dead_date, 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>
|
|
</sql>
|
|
|
|
|
|
<select id="selectTProjectInvestigateList" parameterType="TProjectInvestigate" resultMap="TProjectInvestigateResult">
|
|
<select id="selectTProjectInvestigateList" parameterType="TProjectInvestigate" resultMap="TProjectInvestigateResult">
|
|
@@ -55,6 +61,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="investigatePersonId != null">investigate_person_id,</if>
|
|
<if test="investigatePersonId != null">investigate_person_id,</if>
|
|
<if test="investigateCost != null">investigate_cost,</if>
|
|
<if test="investigateCost != null">investigate_cost,</if>
|
|
<if test="describe != null">describe_,</if>
|
|
<if test="describe != null">describe_,</if>
|
|
|
|
+ <if test="investigatePlace != null">investigate_place,</if>
|
|
|
|
+ <if test="startTime != null">start_time,</if>
|
|
|
|
+ <if test="endTime != null">end_time,</if>
|
|
|
|
+ <if test="readiness != null">readiness,</if>
|
|
|
|
+ <if test="thirdParty != null">third_party,</if>
|
|
|
|
+ <if test="deadDate != null">dead_date,</if>
|
|
<if test="remark != null">remark,</if>
|
|
<if test="remark != null">remark,</if>
|
|
<if test="status != null">status,</if>
|
|
<if test="status != null">status,</if>
|
|
<if test="delFlag != null">del_flag,</if>
|
|
<if test="delFlag != null">del_flag,</if>
|
|
@@ -72,6 +84,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="investigatePersonId != null">#{investigatePersonId},</if>
|
|
<if test="investigatePersonId != null">#{investigatePersonId},</if>
|
|
<if test="investigateCost != null">#{investigateCost},</if>
|
|
<if test="investigateCost != null">#{investigateCost},</if>
|
|
<if test="describe != null">#{describe},</if>
|
|
<if test="describe != null">#{describe},</if>
|
|
|
|
+ <if test="investigatePlace != null">#{investigatePlace},</if>
|
|
|
|
+ <if test="startTime != null">#{startTime},</if>
|
|
|
|
+ <if test="endTime != null">#{endTime},</if>
|
|
|
|
+ <if test="readiness != null">#{readiness},</if>
|
|
|
|
+ <if test="thirdParty != null">#{thirdParty},</if>
|
|
|
|
+ <if test="deadDate != null">#{deadDate},</if>
|
|
<if test="remark != null">#{remark},</if>
|
|
<if test="remark != null">#{remark},</if>
|
|
<if test="status != null">#{status},</if>
|
|
<if test="status != null">#{status},</if>
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
<if test="delFlag != null">#{delFlag},</if>
|
|
@@ -92,6 +110,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="investigatePersonId != null">investigate_person_id = #{investigatePersonId},</if>
|
|
<if test="investigatePersonId != null">investigate_person_id = #{investigatePersonId},</if>
|
|
<if test="investigateCost != null">investigate_cost = #{investigateCost},</if>
|
|
<if test="investigateCost != null">investigate_cost = #{investigateCost},</if>
|
|
<if test="describe != null">describe_ = #{describe},</if>
|
|
<if test="describe != null">describe_ = #{describe},</if>
|
|
|
|
+ <if test="investigatePlace != null">investigate_place = #{investigatePlace},</if>
|
|
|
|
+ <if test="startTime != null">start_time = #{startTime},</if>
|
|
|
|
+ <if test="endTime != null">end_time = #{endTime},</if>
|
|
|
|
+ <if test="readiness != null">readiness = #{readiness},</if>
|
|
|
|
+ <if test="thirdParty != null">third_party = #{thirdParty},</if>
|
|
|
|
+ <if test="deadDate != null">dead_date = #{deadDate},</if>
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
<if test="status != null">status = #{status},</if>
|
|
<if test="status != null">status = #{status},</if>
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
<if test="delFlag != null">del_flag = #{delFlag},</if>
|
|
@@ -134,7 +158,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
ORDER BY create_time DESC LIMIT 1
|
|
ORDER BY create_time DESC LIMIT 1
|
|
</select>
|
|
</select>
|
|
|
|
|
|
-
|
|
|
|
<update id="editStatus" parameterType="String">
|
|
<update id="editStatus" parameterType="String">
|
|
update t_project_investigate
|
|
update t_project_investigate
|
|
set status = 1
|
|
set status = 1
|