同步数据功能修改
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
</where>
|
||||
</select>
|
||||
<select id="getSpecialtyInfoList" resultType="java.util.Map" parameterType="String">
|
||||
select b.JXZYBH as zydm,b.JXZYJC as zyjc,b.JXZYMC as zymc,a.BMMC yxmc from from_gxsdxyxxzx_xzbm a left join from_gxsdxyxxzx_zyxx b on a.BMBH=b.JXZYSSYXBBH
|
||||
select b.JXZYBH as zydm,b.JXZYJC as zyjc,b.JXZYMC as zymc,a.BMBH,a.BMMC yxmc from from_gxsdxyxxzx_xzbm a left join from_gxsdxyxxzx_zyxx b on a.BMBH=b.JXZYSSYXBBH
|
||||
<where>
|
||||
b.JXZYBH is not null
|
||||
<if test="zydm != null and zydm!= '' ">and b.JXZYBH=#{zydm}</if>
|
||||
@@ -25,10 +25,11 @@
|
||||
select b.JXZYBH as zydm,b.JXZYJC as zyjc,b.JXZYMC as zymc,a.BMMC yxmc from from_gxsdxyxxzx_xzbm a left join from_gxsdxyxxzx_zyxx b on a.BMBH=b.JXZYSSYXBBH
|
||||
where b.JXZYBH is not null
|
||||
</select>
|
||||
<select id="getClassInfoList" resultType="java.util.Map" parameterType="String">
|
||||
select BJBH as bjdm,BJSSJXZYBH as zyid,BJMC as bjmc,BJSSNJ as njid from from_gxsdxyxxzx_class
|
||||
<select id="getClassInfoList" resultType="java.util.Map" parameterType="SelectClass">
|
||||
select BJBH as bjdm,BJSSJXZYBH as zyid,BJMC as bjmc,BJSSNJ as njid,BJJC from from_gxsdxyxxzx_class
|
||||
<where>
|
||||
<if test="bjdm != null and bjdm!= '' ">and BJBH=#{bjdm}</if>
|
||||
<if test="gradeCode != null and gradeCode!= '' ">and BJSSNJ=#{gradeCode}</if>
|
||||
</where>
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user