|
@@ -18,7 +18,7 @@
|
|
type
|
|
type
|
|
FROM
|
|
FROM
|
|
large_plat_housing_land
|
|
large_plat_housing_land
|
|
- WHERE app_org = #{appOrg}
|
|
|
|
|
|
+ <if test="appOrg != '0000'"> WHERE app_org = #{appOrg} </if>
|
|
GROUP BY
|
|
GROUP BY
|
|
type
|
|
type
|
|
</select>
|
|
</select>
|
|
@@ -30,7 +30,7 @@
|
|
COUNT( CASE WHEN ownership_flag = 1 THEN 1 END ) AS own
|
|
COUNT( CASE WHEN ownership_flag = 1 THEN 1 END ) AS own
|
|
FROM
|
|
FROM
|
|
large_plat_housing_land
|
|
large_plat_housing_land
|
|
- WHERE app_org = #{appOrg}
|
|
|
|
|
|
+ <if test="appOrg != '0000'"> WHERE app_org = #{appOrg} </if>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="getInvestFinishState" parameterType="String" resultType="map">
|
|
<select id="getInvestFinishState" parameterType="String" resultType="map">
|
|
@@ -39,7 +39,7 @@
|
|
COUNT( CASE WHEN ( investment_plan_flag = 1 AND YEAR ( construction_time ) >= YEAR ( CURDATE())) THEN 1 END ) AS invest
|
|
COUNT( CASE WHEN ( investment_plan_flag = 1 AND YEAR ( construction_time ) >= YEAR ( CURDATE())) THEN 1 END ) AS invest
|
|
FROM
|
|
FROM
|
|
large_plat_housing_land
|
|
large_plat_housing_land
|
|
- WHERE app_org = #{appOrg}
|
|
|
|
|
|
+ <if test="appOrg != '0000'"> WHERE app_org = #{appOrg} </if>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<insert id="upload" parameterType="com.project.zcustom.domain.addional.LargeHousingLand">
|
|
<insert id="upload" parameterType="com.project.zcustom.domain.addional.LargeHousingLand">
|