|
|
@@ -321,35 +321,35 @@
|
|
|
order by pc.create_time desc
|
|
|
</select>
|
|
|
|
|
|
- <select id="selectById" resultMap="BaseResultMap">
|
|
|
- SELECT
|
|
|
- t.id,
|
|
|
- t.ptl_agreement_id,
|
|
|
- t.product_name,
|
|
|
- t.product_id,
|
|
|
- t.effective_time,
|
|
|
- t.failure_time,
|
|
|
- t.audit_method,
|
|
|
- t.cost_describe,
|
|
|
- t.is_delete,
|
|
|
- t.create_by,
|
|
|
- t.create_time,
|
|
|
- t.update_by,
|
|
|
- t.update_time,
|
|
|
- t.audit_person,
|
|
|
- t.review_description,
|
|
|
- t.audit_time,
|
|
|
- pa.agreement_code,
|
|
|
- pa.agreement_title
|
|
|
- FROM
|
|
|
- ptl_agreement_cost t
|
|
|
- LEFT JOIN ptl_agreement pa ON pa.id = t.ptl_agreement_id
|
|
|
- <where>
|
|
|
- t.is_delete = 0
|
|
|
- <if test="id != null">
|
|
|
- AND t.id = #{id}
|
|
|
- </if>
|
|
|
- </where>
|
|
|
- </select>
|
|
|
+<!-- <select id="selectById" resultMap="BaseResultMap">-->
|
|
|
+<!-- SELECT-->
|
|
|
+<!-- t.id,-->
|
|
|
+<!-- t.ptl_agreement_id,-->
|
|
|
+<!-- t.product_name,-->
|
|
|
+<!-- t.product_id,-->
|
|
|
+<!-- t.effective_time,-->
|
|
|
+<!-- t.failure_time,-->
|
|
|
+<!-- t.audit_method,-->
|
|
|
+<!-- t.cost_describe,-->
|
|
|
+<!-- t.is_delete,-->
|
|
|
+<!-- t.create_by,-->
|
|
|
+<!-- t.create_time,-->
|
|
|
+<!-- t.update_by,-->
|
|
|
+<!-- t.update_time,-->
|
|
|
+<!-- t.audit_person,-->
|
|
|
+<!-- t.review_description,-->
|
|
|
+<!-- t.audit_time,-->
|
|
|
+<!-- pa.agreement_code,-->
|
|
|
+<!-- pa.agreement_title-->
|
|
|
+<!-- FROM-->
|
|
|
+<!-- ptl_agreement_cost t-->
|
|
|
+<!-- LEFT JOIN ptl_agreement pa ON pa.id = t.ptl_agreement_id-->
|
|
|
+<!-- <where>-->
|
|
|
+<!-- t.is_delete = 0-->
|
|
|
+<!-- <if test="id != null">-->
|
|
|
+<!-- AND t.id = #{id}-->
|
|
|
+<!-- </if>-->
|
|
|
+<!-- </where>-->
|
|
|
+<!-- </select>-->
|
|
|
|
|
|
</mapper>
|