|
|
@@ -1209,7 +1209,7 @@ public class FsStorePaymentServiceImpl implements IFsStorePaymentService {
|
|
|
if (StringUtils.isBlank(user.getMaOpenId())){
|
|
|
return R.error("用户未绑定微信!");
|
|
|
}
|
|
|
- payParam.setCompanyId(300L);
|
|
|
+
|
|
|
Company company = companyService.selectCompanyById(payParam.getCompanyId());
|
|
|
if (company==null || company.getStatus()==0){
|
|
|
return R.error("服务商不存在,或已被停用!");
|
|
|
@@ -1217,7 +1217,7 @@ public class FsStorePaymentServiceImpl implements IFsStorePaymentService {
|
|
|
if(payParam.getPayMoney().compareTo(new BigDecimal(0.0))<1){
|
|
|
return R.error("支付金额必须大于0");
|
|
|
}
|
|
|
- payParam.setCompanyUserId(9587L);
|
|
|
+
|
|
|
if (payParam.getCompanyUserId()!=null){
|
|
|
CompanyUser companyUser = companyUserService.selectCompanyUserById(payParam.getCompanyUserId());
|
|
|
if(companyUser == null || companyUser.getStatus().equals("1")){
|