|
|
@ -14,24 +14,9 @@ |
|
|
|
</if> |
|
|
|
</delete> |
|
|
|
|
|
|
|
<resultMap type="com.epmet.entity.evaluationindex.indexcal.CpcScoreEntity" id="cpcScoreMap"> |
|
|
|
<result property="id" column="ID"/> |
|
|
|
<result property="customerId" column="CUSTOMER_ID"/> |
|
|
|
<result property="agencyId" column="AGENCY_ID"/> |
|
|
|
<result property="gridId" column="GRID_ID"/> |
|
|
|
<result property="userId" column="USER_ID"/> |
|
|
|
<result property="monthId" column="MONTH_ID"/> |
|
|
|
<result property="delFlag" column="DEL_FLAG"/> |
|
|
|
<result property="revision" column="REVISION"/> |
|
|
|
<result property="createdBy" column="CREATED_BY"/> |
|
|
|
<result property="createdTime" column="CREATED_TIME"/> |
|
|
|
<result property="updatedBy" column="UPDATED_BY"/> |
|
|
|
<result property="updatedTime" column="UPDATED_TIME"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<select id="getPartScore" resultType="com.epmet.entity.evaluationindex.indexcal.CpcScoreEntity"> |
|
|
|
select |
|
|
|
CUSTOMER_ID,AGENCY_ID,GRID_ID,YEAR_ID,MONTH_ID,USER_ID,SCORE,INDEX_CODE FROM fact_index_cpc_sub_score |
|
|
|
CUSTOMER_ID,AGENCY_ID,GRID_ID,YEAR_ID,MONTH_ID,USER_ID,ORIGIN_VALUE,SCORE,INDEX_CODE FROM fact_index_cpc_sub_score |
|
|
|
WHERE |
|
|
|
CUSTOMER_ID = #{customerId,jdbcType=VARCHAR} |
|
|
|
and MONTH_ID = #{monthId,jdbcType=VARCHAR} |
|
|
@ -110,6 +95,7 @@ |
|
|
|
`YEAR_ID`, |
|
|
|
`MONTH_ID`, |
|
|
|
`USER_ID`, |
|
|
|
`ORIGIN_VALUE`, |
|
|
|
`SCORE`, |
|
|
|
`INDEX_CODE`, |
|
|
|
`ALL_PARENT_INDEX_CODE`, |
|
|
@ -131,6 +117,7 @@ |
|
|
|
#{item.yearId}, |
|
|
|
#{item.monthId}, |
|
|
|
#{item.userId}, |
|
|
|
#{item.originValue}, |
|
|
|
#{item.score}, |
|
|
|
#{item.indexCode}, |
|
|
|
#{item.allParentIndexCode}, |
|
|
|