袁野 5 months ago
parent 958f63acf1
commit c18c1443a7
  1. 7
      hai-bweb/src/main/java/com/bweb/controller/Etc/EtcCustomerController.java
  2. 15
      hai-order/src/main/java/com/web/controller/OrderPayController.java
  3. 2
      hai-service/src/main/java/com/hai/etc/EtcCustMsgService.java
  4. 5
      hai-service/src/main/java/com/hai/etc/impl/EtcCustMsgServiceImpl.java

@ -399,10 +399,6 @@ public class EtcCustomerController {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未查询到相关内容!");
}
if (etcCarMsg.getVehStatus() == 11 || etcCarMsg.getVehStatus() == 12 || etcCarMsg.getVehStatus() == 13 || etcCarMsg.getVehStatus() == 15 || etcCarMsg.getVehStatus() == 20) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "状态错误!");
}
etcCarMsgService.deleteEtcCar(id);
return ResponseMsgUtil.success("删除成功!");
@ -424,8 +420,7 @@ public class EtcCustomerController {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未查询到相关内容!");
}
etcCustMsg.setStatus(0);
etcCustMsgService.editEtcCust(etcCustMsg);
etcCustMsgService.deleteEtcCust(id);
return ResponseMsgUtil.success("删除成功!");

@ -373,20 +373,7 @@ public class OrderPayController {
weChatPayReqInfo.setSub_mch_id(WxOrderConfig.MCH_ID_1667177808);
} else if (order.getProductType().equals(OrderProductType.PRODUCT_TYPE12.getNumber())) {
// weChatPayReqInfo.setSub_mch_id(WxOrderConfig.MCH_ID_1614670195);
//
// 查询支付配置
HighGasChannelConfig gasChannelConfig = gasChannelConfigService.getConfig(GasChannel.type2);
if (gasChannelConfig == null) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未配置支付参数,请稍后重试!");
}
payPlatformType = gasChannelConfig.getPayPlatformType();
payPlatformKey = gasChannelConfig.getPayPlatformMerKey();
payPlatformMerNo = gasChannelConfig.getPayPlatformMerNo();
weChatPayReqInfo.setSub_mch_id(gasChannelConfig.getPayPlatformMerNo());
profitSharing = gasChannelConfig.getProfitSharingStatus().equals(true) ? "Y" : "N";
weChatPayReqInfo.setSub_mch_id(WxOrderConfig.MCH_ID_1614670195);
} else if (order.getProductType().equals(OrderProductType.PRODUCT_TYPE15.getNumber())) {
// 查询支付配置
HighGasChannelConfig gasChannelConfig = gasChannelConfigService.getConfig(GasChannel.type7);

@ -37,6 +37,8 @@ public interface EtcCustMsgService {
void editEtcCust(EtcCustMsg etcCustMsg) throws Exception;
void deleteEtcCust(Long id) throws Exception;
/**
* @Author Sum1Dream
* @Name getCustInfoList

@ -47,6 +47,11 @@ public class EtcCustMsgServiceImpl implements EtcCustMsgService {
etcCustMsgMapper.updateByPrimaryKey(etcCustMsg);
}
@Override
public void deleteEtcCust(Long id) throws Exception {
etcCustMsgMapper.deleteByPrimaryKey(id);
}
@Override
public List<EtcCustMsg> getEtcCustList(Map<String, Object> map) {

Loading…
Cancel
Save