|
@@ -192,9 +192,7 @@ public class TbBusinessController {
|
|
public AjaxJson getOtherBusiness() {
|
|
public AjaxJson getOtherBusiness() {
|
|
SoMap so = SoMap.getRequestSoMap();
|
|
SoMap so = SoMap.getRequestSoMap();
|
|
String currentCustomerId = StpUserUtil.getCustomerId();
|
|
String currentCustomerId = StpUserUtil.getCustomerId();
|
|
- TbCostomer currentCustomer = tbCostomerService.getById(currentCustomerId);
|
|
|
|
- if (!currentCustomerId.equals(UserTypeEnum.PLATFORM_ADMIN.getCustomerId())
|
|
|
|
- && currentCustomer.getType().equals(TbCostomer.CustomerEnum.BUSINESS_TYPE.getType())) {
|
|
|
|
|
|
+ if (!currentCustomerId.equals(UserTypeEnum.PLATFORM_ADMIN.getCustomerId())) {
|
|
so.put("createByCustomerId", currentCustomerId);
|
|
so.put("createByCustomerId", currentCustomerId);
|
|
}
|
|
}
|
|
List<TbBusiness> list = tbBusinessService.getList(so.startPage());
|
|
List<TbBusiness> list = tbBusinessService.getList(so.startPage());
|