|
|
@ -9,7 +9,8 @@ |
|
|
|
pi.PROJECT_NAME, |
|
|
|
pp.project_type, |
|
|
|
bp.YEARLY_CUMULATIVE_WORKLOAD, |
|
|
|
bp.UPDATE_TIME |
|
|
|
bp.UPDATE_TIME, |
|
|
|
pi.is_major |
|
|
|
FROM |
|
|
|
`bs_sgc_jsjd_bui_progress` bp |
|
|
|
JOIN ( SELECT *, max( create_time ) FROM `bs_sgc_jsjd_bui_progress` GROUP BY PRO_CODE, PRO_NO ) t ON t.id = bp.id |
|
|
@ -23,9 +24,10 @@ |
|
|
|
<result property="projectType" column="project_type"/> |
|
|
|
<result property="yearlyCumulativeWorkload" column="YEARLY_CUMULATIVE_WORKLOAD"/> |
|
|
|
<result property="updateTime" column="UPDATE_TIME"/> |
|
|
|
<result property="isMajor" column="is_major"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<select id="getProgress" resultType="com.kms.build.domain.BsSgcJsjdBuiProgress"> |
|
|
|
<select id="getProgress" resultMap="BsSgcjsjdBuiProgress"> |
|
|
|
<include refid="info"></include> |
|
|
|
<if test="userType==01"> |
|
|
|
WHERE |
|
|
|