| | |
| | | and principal_user_id = #{userId} |
| | | </select> |
| | | |
| | | |
| | | <!--插入用户标签--> |
| | | <insert id="saveUserLabel"> |
| | | insert into jczz_user_label(user_id,label_id,create_time,update_time) |
| | | values(#{userId},#{labelId},now(),now()) |
| | | </insert> |
| | | |
| | | <!--查询所有的场所(手机号不为空)--> |
| | | <select id="getPlaceNotNullPhone" resultType="org.springblade.modules.place.vo.PlaceVO"> |
| | | select link_person as username,link_tel as phone,std_id as houseCode from wgccp_place |
| | | WHERE link_person !='' and link_tel!='' |
| | | </select> |
| | | |
| | | <!--查询所有的场所--> |
| | | <select id="getAllHistoryPlace" resultType="org.springblade.modules.place.vo.PlaceVO"> |
| | | select place_id as id,third_level_id as label,std_id as houseCode from wgccp_place |
| | | </select> |
| | | |
| | | <!--更新场所信息--> |
| | | <update id="updatePlaceEntity"> |
| | | update jczz_place set principal_user_id = #{place.principalUserId} |
| | | WHERE house_code = #{place.houseCode} |
| | | </update> |
| | | </mapper> |