소스 검색

fix

photo
winter 1 년 전
부모
커밋
28722696c1
1개의 변경된 파일4개의 추가작업 그리고 6개의 파일을 삭제
  1. +4
    -6
      suimangAdmin/src/main/java/com/iformall/controller/sm/ServiceInfoController.java

+ 4
- 6
suimangAdmin/src/main/java/com/iformall/controller/sm/ServiceInfoController.java 파일 보기

@@ -171,13 +171,11 @@ public class ServiceInfoController extends MallUserInfoBaseController{
@ApiOperation("接入商分页列表接口")
@GetMapping("personMouldIdList")
public ResultData serviceMouldIdList() {
MallUserInfo user = this.getUser();
ServiceInfo si = serviceInfoService.getServiceInfoByMallUserInfo(user.getId());
if (null == si) {
return new ResultData();
public ResultData serviceMouldIdList(Long serviceId) {
if (null == serviceId) {
throw new BizException(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),serviceId+"不为空");
}
List<Long> mouldIds = personMouldService.getServiceMouldIds(si.getId());
List<Long> mouldIds = personMouldService.getServiceMouldIds(serviceId);
return new ResultData(mouldIds);
}


불러오는 중...
취소
저장