flower_city/src/main/resources/mapper/OrganizationChartMapper.xml
@@ -110,8 +110,9 @@ <select id="selectByCode" resultMap="OrganizationChartResult"> <include refid="selectOrganizationChartVo"/> <where> ( id=#{id} or parent_id=#{id}) and (city=#{areaCode} or district= #{areaCode} or village=#{areaCode}) ( id=#{id} or parent_id=#{id}) and (city=#{areaCode} or district= #{areaCode} or village=#{areaCode}) and grade=#{grade} </where> order by grade </select> <insert id="insertConfig" parameterType="com.dg.core.db.gen.entity.OrganizationChartEntity">