| | |
| | | <if test="carNumLike !=null and carNumLike != ''"> |
| | | and t.car_num like concat('%',#{carNumLike},'%') |
| | | </if> |
| | | |
| | | <if test="memberCarNum !=null and memberCarNum != ''"> |
| | | and moc.car_num= #{memberCarNum} |
| | | </if> |
| | | <if test="memberCarNumLike !=null and memberCarNumLike != ''"> |
| | | and moc.car_num like concat('%',#{memberCarNumLike},'%') |
| | | </if> |
| | | <if test="carNums !=null"> |
| | | and t.car_num in |
| | | <foreach collection="carNums" item="item" index="index" open="(" close=")" separator=","> |
| | |
| | | left join t_dict t2 on t.state=t2.status_cd and t2.table_name='owner_car' and t2.table_columns = 'state' |
| | | left join building_owner bow on t.owner_id = bow.member_id and bow.status_cd = '0' and bow.community_id = |
| | | t.community_id |
| | | <if test="memberCarNumLike !=null and memberCarNumLike != ''"> |
| | | left join owner_car moc on t.car_id = moc.car_id and moc.car_type_cd != t.car_type_cd and moc.car_type_cd = '1002' |
| | | </if> |
| | | where 1=1 |
| | | <if test="statusCd !=null and statusCd != ''"> |
| | | and t.status_cd = #{statusCd} |
| | |
| | | <if test="carNumLike !=null and carNumLike != ''"> |
| | | and t.car_num like concat('%',#{carNumLike},'%') |
| | | </if> |
| | | <if test="memberCarNum !=null and memberCarNum != ''"> |
| | | and moc.car_num= #{memberCarNum} |
| | | </if> |
| | | <if test="memberCarNumLike !=null and memberCarNumLike != ''"> |
| | | and moc.car_num like concat('%',#{memberCarNumLike},'%') |
| | | </if> |
| | | <if test="carNums !=null"> |
| | | and t.car_num in |
| | | <foreach collection="carNums" item="item" index="index" open="(" close=")" separator=","> |