|
@@ -21,17 +21,19 @@
|
|
|
<result column="accessory_url" property="accessoryUrl" jdbcType="LONGVARCHAR" />
|
|
|
<result column="end_reason" property="endReason" jdbcType="LONGVARCHAR" />
|
|
|
<result column="remarks" property="remarks" jdbcType="LONGVARCHAR" />
|
|
|
+ <result column="previous_id" property="previousId" jdbcType="BIGINT" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="Base_Column_List" >
|
|
|
id, project_id, mt_company_id, code, source, pay_mode, lift_num, moneys, type, status,
|
|
|
- given_date, given_user, star_date, end_date, create_date, next_id, accessory_url, end_reason, remarks
|
|
|
+ given_date, given_user, star_date, end_date, create_date, next_id, previous_id, accessory_url, end_reason, remarks
|
|
|
</sql>
|
|
|
|
|
|
<!-- 根据项目、合同号、合同类型、合同状态查询合同管理列表-->
|
|
|
<select id="findByCondition" resultType="cn.com.ty.lift.business.contract.dao.entity.model.ContractResponse" parameterType="cn.com.ty.lift.business.contract.dao.entity.model.ContractRequest" >
|
|
|
SELECT
|
|
|
- id as contractId,
|
|
|
+ next_id as contractId,
|
|
|
+ previous_id as previousId,
|
|
|
source as source,
|
|
|
type as type,
|
|
|
star_date as starDate,
|