现在查询语句: select a.* from VW_JP_JPMXBQ a where 1=1 and (a.CZLX00 = ? or (a.CZLX00='2' and ((a.PSPC00='5' or a.YZYPGS=1) or ( a.ZJLB00 not in ('1','2')) or ( a.SFJMYY <> '1' ) ) )) and a.TYBZ00 <>'2' and a.PZPCID=? and a.PSPC00= ? 更新之前的查询语句: select a.* from VW_JP_JPMXBQ a where 1=1 and (a.CZLX00 = ? or (a.CZLX00='2' and (a.PSPC00='5' or a.YZYPGS=1))) and a.TYBZ00 <>'2' and a.PZPCID=? and a.PSPC00= ?