|
@@ -10,8 +10,7 @@
|
|
|
<result property="estimateScore" column="estimate_score" />
|
|
<result property="estimateScore" column="estimate_score" />
|
|
|
<result property="estimateType" column="estimate_type" />
|
|
<result property="estimateType" column="estimate_type" />
|
|
|
<result property="remark" column="remark" />
|
|
<result property="remark" column="remark" />
|
|
|
- <result property="beginTime" column="begin_time" />
|
|
|
|
|
- <result property="endTime" column="end_time" />
|
|
|
|
|
|
|
+ <result property="estimateTime" column="estimate_time" />
|
|
|
<result property="createBy" column="create_by" />
|
|
<result property="createBy" column="create_by" />
|
|
|
<result property="createTime" column="create_time" />
|
|
<result property="createTime" column="create_time" />
|
|
|
<result property="updateBy" column="update_by" />
|
|
<result property="updateBy" column="update_by" />
|
|
@@ -19,7 +18,7 @@
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="selectMdEstimateVo">
|
|
<sql id="selectMdEstimateVo">
|
|
|
- select estimate_id, mdid, estimate_score, estimate_type, remark, begin_time, end_time, create_by, create_time, update_by, update_time from md_estimate
|
|
|
|
|
|
|
+ select estimate_id, mdid, estimate_score, estimate_type, remark, estimate_time, create_by, create_time, update_by, update_time from md_estimate
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
|
<select id="selectMdEstimateList" parameterType="com.ruoyi.interfaces.domain.MdEstimate" resultMap="MdEstimateResult">
|
|
<select id="selectMdEstimateList" parameterType="com.ruoyi.interfaces.domain.MdEstimate" resultMap="MdEstimateResult">
|
|
@@ -28,8 +27,7 @@
|
|
|
<if test="mdid != null and mdid != ''"> and mdid = #{mdid}</if>
|
|
<if test="mdid != null and mdid != ''"> and mdid = #{mdid}</if>
|
|
|
<if test="estimateScore != null and estimateScore != ''"> and estimate_score = #{estimateScore}</if>
|
|
<if test="estimateScore != null and estimateScore != ''"> and estimate_score = #{estimateScore}</if>
|
|
|
<if test="estimateType != null and estimateType != ''"> and estimate_type = #{estimateType}</if>
|
|
<if test="estimateType != null and estimateType != ''"> and estimate_type = #{estimateType}</if>
|
|
|
- <if test="beginTime != null "> and begin_time = #{beginTime}</if>
|
|
|
|
|
- <if test="endTime != null "> and end_time = #{endTime}</if>
|
|
|
|
|
|
|
+ <if test="estimateTime != null "> and estimate_time = #{estimateTime}</if>
|
|
|
</where>
|
|
</where>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
@@ -45,8 +43,7 @@
|
|
|
<if test="estimateScore != null">estimate_score,</if>
|
|
<if test="estimateScore != null">estimate_score,</if>
|
|
|
<if test="estimateType != null">estimate_type,</if>
|
|
<if test="estimateType != null">estimate_type,</if>
|
|
|
<if test="remark != null">remark,</if>
|
|
<if test="remark != null">remark,</if>
|
|
|
- <if test="beginTime != null">begin_time,</if>
|
|
|
|
|
- <if test="endTime != null">end_time,</if>
|
|
|
|
|
|
|
+ <if test="estimateTime != null">estimate_time,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
<if test="createBy != null">create_by,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
<if test="createTime != null">create_time,</if>
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
<if test="updateBy != null">update_by,</if>
|
|
@@ -57,8 +54,7 @@
|
|
|
<if test="estimateScore != null">#{estimateScore},</if>
|
|
<if test="estimateScore != null">#{estimateScore},</if>
|
|
|
<if test="estimateType != null">#{estimateType},</if>
|
|
<if test="estimateType != null">#{estimateType},</if>
|
|
|
<if test="remark != null">#{remark},</if>
|
|
<if test="remark != null">#{remark},</if>
|
|
|
- <if test="beginTime != null">#{beginTime},</if>
|
|
|
|
|
- <if test="endTime != null">#{endTime},</if>
|
|
|
|
|
|
|
+ <if test="estimateTime != null">#{estimateTime},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
@@ -73,8 +69,7 @@
|
|
|
<if test="estimateScore != null">estimate_score = #{estimateScore},</if>
|
|
<if test="estimateScore != null">estimate_score = #{estimateScore},</if>
|
|
|
<if test="estimateType != null">estimate_type = #{estimateType},</if>
|
|
<if test="estimateType != null">estimate_type = #{estimateType},</if>
|
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
|
- <if test="beginTime != null">begin_time = #{beginTime},</if>
|
|
|
|
|
- <if test="endTime != null">end_time = #{endTime},</if>
|
|
|
|
|
|
|
+ <if test="estimateTime != null">estimate_time = #{estimateTime},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
@@ -93,4 +88,10 @@
|
|
|
#{estimateId}
|
|
#{estimateId}
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</delete>
|
|
</delete>
|
|
|
|
|
+ <delete id="deleteMdEstimateByMdidAndEstimateTime">
|
|
|
|
|
+ delete
|
|
|
|
|
+ from md_estimate
|
|
|
|
|
+ where mdid = #{mdid}
|
|
|
|
|
+ and estimate_time = #{estimateTime}
|
|
|
|
|
+ </delete>
|
|
|
</mapper>
|
|
</mapper>
|