| | |
| | | <result property="departmentName" column="departmentName" /> |
| | | <result property="parentId" column="parentID" /> |
| | | <result property="parentName" column="parentName" /> |
| | | |
| | | </resultMap> |
| | | |
| | | <select id="selectDepartAddress" resultType="java.util.HashMap"> |
| | | <![CDATA[ |
| | | select |
| | | ServiceBranch, |
| | | ServiceAddress, |
| | | ServiceAddress_lat, |
| | | ServiceAddress_lng, |
| | | UnitName, |
| | | UnitShort, |
| | | ServiceMinPrice, |
| | | ServiceUnitPrice, |
| | | ServiceLong |
| | | from IntroducerUnitData |
| | | where UnitState>0 and ServiceAddress_lat is not null and ServiceAddress_lng is not null and ServiceBranch<>'' |
| | | ]]> |
| | | </select> |
| | | |
| | | <!-- 查询合作单位下的所有分公司 --> |
| | | <select id="selectBranchDepartments" resultMap="DepartmentSyncResult"> |
| | | <![CDATA[ |