mitao
2025-02-28 7099b4be545855c3f3e5ea032494a13c45c10b84
bug修改
2个文件已修改
5 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/SystemUserController.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/resources/mapper/SystemUserMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/api/SystemUserController.java
@@ -23,6 +23,7 @@
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.BeanUtils;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.util.ObjectUtils;
@@ -39,6 +40,7 @@
 * @Date 2025/2/18 22:30
 */
@Api
@Slf4j
@RestController
@RequestMapping("/systemUser")
public class SystemUserController extends BaseController {
@@ -328,6 +330,7 @@
        if(4 == tier){
            list = systemUserService.getCommunity(id);
        }
        log.info("获取行政区划层级联动数据:{}", list);
        return R.ok(list);
    }
}
springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/resources/mapper/SystemUserMapper.xml
@@ -66,7 +66,7 @@
    
    
    <select id="getCommunity" resultType="com.panzhihua.sangeshenbian.model.vo.RegionVO">
        select CAST(Scommunity_id AS CHAR) as id, name as name from com_act where street_id = #{streetId}
        select CAST(community_id AS CHAR) as id, name as name from com_act where street_id = #{streetId}
    </select>
    
</mapper>