|
@@ -102,6 +102,8 @@
|
|
|
<select id="seletYcxxStOf2023" parameterType="ZwywJclrYcxx" resultMap="ZwywJclrYcxxResult">
|
|
|
SELECT * FROM lnst_ycxx_2023 a
|
|
|
<where>
|
|
|
+ zt = '0'
|
|
|
+ <if test="stbm != null and stbm != ''">and stbm = #{stbm}</if>
|
|
|
<if test="ychz != null and ychz != ''">and ycsj like concat(#{ychz},'%') </if>
|
|
|
</where>
|
|
|
</select>
|
|
@@ -109,6 +111,8 @@
|
|
|
<select id="seletYcxxStOf2024" parameterType="ZwywJclrYcxx" resultMap="ZwywJclrYcxxResult">
|
|
|
SELECT * FROM lnst_ycxx_2024 a
|
|
|
<where>
|
|
|
+ zt = '0'
|
|
|
+ <if test="stbm != null and stbm != ''">and stbm = #{stbm}</if>
|
|
|
<if test="ychz != null and ychz != ''">and ycsj like concat(#{ychz},'%') </if>
|
|
|
</where>
|
|
|
</select>
|
|
@@ -116,6 +120,8 @@
|
|
|
<select id="seletYcxxSt" parameterType="ZwywJclrYcxx" resultMap="ZwywJclrYcxxResult">
|
|
|
SELECT * FROM lnst_ycxx
|
|
|
<where>
|
|
|
+ zt = '0'
|
|
|
+ <if test="stbm != null and stbm != ''">and stbm = #{stbm}</if>
|
|
|
<if test="ychz != null and ychz != ''">and ycsj like concat(#{ychz},'%') </if>
|
|
|
</where>
|
|
|
</select>
|