소스 검색

修改广告主列表展示接口

syh 5 년 전
부모
커밋
b209a6147a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/controller/AdvertiserController.java

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/controller/AdvertiserController.java

@@ -144,7 +144,7 @@ public class AdvertiserController {
                 if (sysCategory != null) {
                     advertiserRecord.setIndustryId(sysCategory.getName());
                 }
-                SysUser user = sysUserService.getById(advertiser.getSaleId());
+                SysUser user = sysUserService.getById(advertiserRecord.getSaleId());
                 if (null != user) {
                     advertiserRecord.setSaleName(user.getRealname());
                 }