qiubh 1 miesiąc temu
rodzic
commit
a81ef2ef5e

zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/api/ass/AssDeviceLossController.java → zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/api/ass/DeviceLossController.java Wyświetl plik

@@ -4,7 +4,7 @@ import cn.com.taiji.common.manager.ManagerException;
import cn.com.taiji.common.web.ApiResponse;
import cn.com.taiji.iaw.api.MyValidController;
import cn.com.taiji.iaw.dto.ass.AssDeviceLossReqDTO;
import cn.com.taiji.iaw.manager.ass.AssDeviceLossManager;
import cn.com.taiji.iaw.manager.ass.DeviceLossManager;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
@@ -18,10 +18,10 @@ import javax.validation.Valid;
@Api(tags = {"售后-挂失解挂"})
@RestController
@RequestMapping("/api/device")
public class AssDeviceLossController extends MyValidController {
public class DeviceLossController extends MyValidController {

@Autowired
private AssDeviceLossManager manager;
private DeviceLossManager manager;

@ApiOperation(value = "01-卡签挂失解挂")
@PostMapping("/loss")

zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/api/ass/AssDeviceRenewalController.java → zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/api/ass/DeviceRenewalController.java Wyświetl plik

@@ -4,7 +4,7 @@ import cn.com.taiji.common.manager.ManagerException;
import cn.com.taiji.common.web.ApiResponse;
import cn.com.taiji.iaw.api.MyValidController;
import cn.com.taiji.iaw.dto.ass.*;
import cn.com.taiji.iaw.manager.ass.AssDeviceRenewalManager;
import cn.com.taiji.iaw.manager.ass.DeviceRenewalManager;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
@@ -25,10 +25,10 @@ import javax.validation.Valid;
@Api(tags = {"卡、签续期"})
@RestController
@RequestMapping("/api/renewal")
public class AssDeviceRenewalController extends MyValidController{
public class DeviceRenewalController extends MyValidController{

@Autowired
private AssDeviceRenewalManager manager;
private DeviceRenewalManager manager;

@ApiOperation("卡签续期查询接口")
@PostMapping("/query")

zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/ass/AssDeviceLossManager.java → zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/ass/DeviceLossManager.java Wyświetl plik

@@ -3,6 +3,6 @@ package cn.com.taiji.iaw.manager.ass;
import cn.com.taiji.common.manager.ManagerException;
import cn.com.taiji.iaw.dto.ass.AssDeviceLossReqDTO;

public interface AssDeviceLossManager {
public interface DeviceLossManager {
void loss(AssDeviceLossReqDTO reqDto) throws ManagerException;
}

zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/ass/AssDeviceLossManagerImpl.java → zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/ass/DeviceLossManagerImpl.java Wyświetl plik

@@ -10,7 +10,7 @@ import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;

@Service
public class AssDeviceLossManagerImpl extends AbstractIawManager implements AssDeviceLossManager {
public class DeviceLossManagerImpl extends AbstractIawManager implements DeviceLossManager {
@Override
public void loss(AssDeviceLossReqDTO reqDto) throws ManagerException {
reqDto.validate();

zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/ass/AssDeviceRenewalManager.java → zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/ass/DeviceRenewalManager.java Wyświetl plik

@@ -1,7 +1,6 @@
package cn.com.taiji.iaw.manager.ass;

import cn.com.taiji.common.manager.ManagerException;
import cn.com.taiji.common.manager.net.http.ServiceHandleException;
import cn.com.taiji.iaw.dto.ass.*;

/**
@@ -11,7 +10,7 @@ import cn.com.taiji.iaw.dto.ass.*;
* @email: huminghao@mail.taiji.com.cn
* @version: 1.0
*/
public interface AssDeviceRenewalManager {
public interface DeviceRenewalManager {
AssDeviceRenewalQueryResponseDTO query(AssDeviceRenewalQueryRequestDTO dto) throws ManagerException;

CardRenewalResponseDTO cardRenewal(CardRenewalRequestDTO dto) throws ManagerException;

zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/ass/AssDeviceRenewalManagerImpl.java → zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/manager/ass/DeviceRenewalManagerImpl.java Wyświetl plik

@@ -34,7 +34,6 @@ import com.google.common.collect.Lists;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.ObjectUtils;
import org.springframework.util.StringUtils;

import java.time.LocalDateTime;
@@ -49,7 +48,7 @@ import java.util.stream.Collectors;
* @version: 1.0
*/
@Service
public class AssDeviceRenewalManagerImpl extends AbstractIawManager implements AssDeviceRenewalManager {
public class DeviceRenewalManagerImpl extends AbstractIawManager implements DeviceRenewalManager {

@Autowired
private QtkVehicleInfoRepo vehicleInfoRepo;

Ładowanie…
Anuluj
Zapisz