|
@@ -13,7 +13,6 @@
|
|
|
<result column="failure_time" property="failureTime" jdbcType="TIMESTAMP"/>
|
|
<result column="failure_time" property="failureTime" jdbcType="TIMESTAMP"/>
|
|
|
<result column="audit_method" property="auditMethod" jdbcType="VARCHAR"/>
|
|
<result column="audit_method" property="auditMethod" jdbcType="VARCHAR"/>
|
|
|
<result column="cost_describe" property="costDescribe" jdbcType="VARCHAR"/>
|
|
<result column="cost_describe" property="costDescribe" jdbcType="VARCHAR"/>
|
|
|
- <result column="deadline_time" property="deadlineTime" jdbcType="VARCHAR"/>
|
|
|
|
|
<result column="approved" property="approved" jdbcType="VARCHAR"/>
|
|
<result column="approved" property="approved" jdbcType="VARCHAR"/>
|
|
|
<result column="is_valid" property="isValid" jdbcType="VARCHAR"/>
|
|
<result column="is_valid" property="isValid" jdbcType="VARCHAR"/>
|
|
|
<result column="is_enabled" property="isEnabled" jdbcType="VARCHAR"/>
|
|
<result column="is_enabled" property="isEnabled" jdbcType="VARCHAR"/>
|
|
@@ -35,9 +34,13 @@
|
|
|
<resultMap id="costRule" type="com.jzg.commons.entity.vo.PtlAgreementCostRuleVo">
|
|
<resultMap id="costRule" type="com.jzg.commons.entity.vo.PtlAgreementCostRuleVo">
|
|
|
<id column="id" property="id" jdbcType="BIGINT"/>
|
|
<id column="id" property="id" jdbcType="BIGINT"/>
|
|
|
<result column="ptl_agreement_cost_id" property="ptlAgreementCostId" jdbcType="INTEGER"/>
|
|
<result column="ptl_agreement_cost_id" property="ptlAgreementCostId" jdbcType="INTEGER"/>
|
|
|
- <result column="rule_id" property="ruleId" jdbcType="INTEGER"/>
|
|
|
|
|
|
|
+ <result column="rules_id" property="rulesId" jdbcType="INTEGER"/>
|
|
|
|
|
+ <result column="attr_Id" property="attrId" jdbcType="INTEGER"/>
|
|
|
|
|
+ <result column="attr_code" property="attrCode" jdbcType="INTEGER"/>
|
|
|
|
|
+ <result column="min" property="min" jdbcType="INTEGER"/>
|
|
|
|
|
+ <result column="max" property="max" jdbcType="INTEGER"/>
|
|
|
<result column="operator" property="operator" jdbcType="INTEGER"/>
|
|
<result column="operator" property="operator" jdbcType="INTEGER"/>
|
|
|
- <result column="data_value" property="dataValue" jdbcType="INTEGER"/>
|
|
|
|
|
|
|
+ <result column="batch" property="batch" jdbcType="INTEGER"/>
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -102,7 +105,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectCostRule" resultMap="costRule">
|
|
<select id="selectCostRule" resultMap="costRule">
|
|
|
- select tr.id ,tr.ptl_agreement_cost_id,tr.rule_id,tr.operator,tr.data_value
|
|
|
|
|
|
|
+ select tr.id ,tr.ptl_agreement_cost_id,tr.rules_id,tr.attr_id,tr.attr_code,tr.min,tr.max,tr.operator,tr.batch
|
|
|
from ptl_agreement_cost_rule tr where tr.ptl_agreement_cost_id = #{costId}
|
|
from ptl_agreement_cost_rule tr where tr.ptl_agreement_cost_id = #{costId}
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|