|
@@ -8,7 +8,6 @@ import com.ym.mec.biz.dal.entity.TenantInfo;
|
|
import com.ym.mec.biz.dal.entity.TenantProductSumm;
|
|
import com.ym.mec.biz.dal.entity.TenantProductSumm;
|
|
import com.ym.mec.biz.service.TenantInfoSendMsgService;
|
|
import com.ym.mec.biz.service.TenantInfoSendMsgService;
|
|
import com.ym.mec.biz.service.TenantInfoService;
|
|
import com.ym.mec.biz.service.TenantInfoService;
|
|
-import com.ym.mec.biz.service.TenantOrderRecordService;
|
|
|
|
import com.ym.mec.common.controller.BaseController;
|
|
import com.ym.mec.common.controller.BaseController;
|
|
import com.ym.mec.common.entity.HttpResponseResult;
|
|
import com.ym.mec.common.entity.HttpResponseResult;
|
|
import com.ym.mec.common.page.WrapperUtil;
|
|
import com.ym.mec.common.page.WrapperUtil;
|
|
@@ -18,14 +17,12 @@ import io.swagger.annotations.*;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.slf4j.LoggerFactory;
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import org.springframework.http.HttpStatus;
|
|
import org.springframework.http.HttpStatus;
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
import org.springframework.validation.BindingResult;
|
|
import org.springframework.validation.BindingResult;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
import javax.annotation.Resource;
|
|
-import javax.servlet.http.HttpServletRequest;
|
|
|
|
import javax.validation.Valid;
|
|
import javax.validation.Valid;
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
@@ -44,17 +41,14 @@ import static com.ym.mec.biz.service.impl.TenantInfoSendMsgServiceImpl.OPEN;
|
|
public class TenantInfoController extends BaseController {
|
|
public class TenantInfoController extends BaseController {
|
|
private static final Logger log = LoggerFactory.getLogger(TenantInfoController.class);
|
|
private static final Logger log = LoggerFactory.getLogger(TenantInfoController.class);
|
|
|
|
|
|
- @Autowired
|
|
|
|
|
|
+ @Resource
|
|
private TenantInfoService tenantInfoService;
|
|
private TenantInfoService tenantInfoService;
|
|
|
|
|
|
- @Autowired
|
|
|
|
|
|
+ @Resource
|
|
private SysUserFeignService sysUserFeignService;
|
|
private SysUserFeignService sysUserFeignService;
|
|
|
|
|
|
- @Autowired
|
|
|
|
- private TenantInfoSendMsgService tenantInfoSendMsgService;
|
|
|
|
-
|
|
|
|
@Resource
|
|
@Resource
|
|
- private TenantOrderRecordService tenantOrderRecordService;
|
|
|
|
|
|
+ private TenantInfoSendMsgService tenantInfoSendMsgService;
|
|
|
|
|
|
@ApiOperation("添加机构信息")
|
|
@ApiOperation("添加机构信息")
|
|
@PostMapping(value = "/add")
|
|
@PostMapping(value = "/add")
|
|
@@ -187,9 +181,9 @@ public class TenantInfoController extends BaseController {
|
|
return succeed();
|
|
return succeed();
|
|
}
|
|
}
|
|
|
|
|
|
- @PostMapping("/callback/{orderNo}")
|
|
|
|
|
|
+ /*@PostMapping("/callback/{orderNo}")
|
|
public String callback(@PathVariable("orderNo") String orderNo, HttpServletRequest request) {
|
|
public String callback(@PathVariable("orderNo") String orderNo, HttpServletRequest request) {
|
|
return tenantOrderRecordService.callback(orderNo, request);
|
|
return tenantOrderRecordService.callback(orderNo, request);
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
|
|
|
|
}
|
|
}
|