| | |
| | | </select> |
| | | |
| | | <!--查询场所集合信息--> |
| | | <select id="selectPlaceNodeList" resultType="org.springblade.common.node.TreeNode" > |
| | | <select id="selectPlaceNodeList" resultType="org.springblade.common.node.TreeStringNode" > |
| | | select jp.id, |
| | | jp.house_code houseCode, |
| | | jp.place_name as name, |
| | |
| | | </if> |
| | | limit 1 |
| | | </select> |
| | | |
| | | <!--查询出有用户id 的场所--> |
| | | <select id="getHasUserIdPlaceList" resultType="org.springblade.modules.place.entity.PlaceEntity"> |
| | | select |
| | | jp.* |
| | | from jczz_place jp |
| | | left join blade_user bu on bu.id = jp.principal_user_id and bu.is_deleted = 0 |
| | | where jp.is_deleted = 0 and jp.principal_user_id is not null |
| | | </select> |
| | | </mapper> |