Commit f7285cc0 by HlQ

[chg] 合同相关类重命名

1 parent af344345
......@@ -3,7 +3,7 @@ package vion.controller;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import vion.service.IContractInfoService;
import vion.service.IContractService;
/**
* 合同管理
......@@ -11,9 +11,9 @@ import vion.service.IContractInfoService;
@RestController
@RequestMapping("/api")
@RequiredArgsConstructor
public class ContractInfoController {
public class ContractController {
private final IContractInfoService contractInfoService;
private final IContractService contractService;
}
......@@ -3,7 +3,7 @@ package vion.controller;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import vion.service.IContractPaymentInfoService;
import vion.service.IContractPaymentService;
/**
* 合同收款方式
......@@ -11,9 +11,9 @@ import vion.service.IContractPaymentInfoService;
@RestController
@RequestMapping("/api")
@RequiredArgsConstructor
public class ContractPaymentInfoController {
public class ContractPaymentController {
private final IContractPaymentInfoService contractPaymentInfoService;
private final IContractPaymentService contractPaymentService;
}
package vion.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import vion.model.ContractInfo;
import vion.model.Contract;
/**
* @author HlQ
* @date 2023/11/29
*/
public interface ContractInfoMapper extends BaseMapper<ContractInfo> {
public interface ContractMapper extends BaseMapper<Contract> {
}
\ No newline at end of file
package vion.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import vion.model.ContractPaymentInfo;
import vion.model.ContractPayment;
/**
* @author HlQ
* @date 2023/11/29
*/
public interface ContractPaymentInfoMapper extends BaseMapper<ContractPaymentInfo> {
public interface ContractPaymentMapper extends BaseMapper<ContractPayment> {
}
\ No newline at end of file
......@@ -5,6 +5,7 @@ import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.Data;
import vion.dto.ContractPaymentDTO;
import vion.vo.ContractPaymentVO;
import java.math.BigDecimal;
import java.util.Date;
......
package vion.service;
import vion.model.ContractInfo;
import vion.model.ContractPayment;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author HlQ
* @date 2023/11/29
*/
public interface IContractInfoService extends IService<ContractInfo>{
public interface IContractPaymentService extends IService<ContractPayment>{
}
package vion.service;
import vion.model.ContractPaymentInfo;
import vion.model.Contract;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @author HlQ
* @date 2023/11/29
*/
public interface IContractPaymentInfoService extends IService<ContractPaymentInfo>{
public interface IContractService extends IService<Contract>{
}
......@@ -2,14 +2,14 @@ package vion.service.impl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import vion.mapper.ContractInfoMapper;
import vion.model.ContractInfo;
import vion.service.IContractInfoService;
import vion.model.ContractPayment;
import vion.mapper.ContractPaymentMapper;
import vion.service.IContractPaymentService;
/**
* @author HlQ
* @date 2023/11/29
*/
@Service
public class ContractInfoServiceImpl extends ServiceImpl<ContractInfoMapper, ContractInfo> implements IContractInfoService {
public class ContractPaymentServiceImpl extends ServiceImpl<ContractPaymentMapper, ContractPayment> implements IContractPaymentService {
}
......@@ -2,14 +2,14 @@ package vion.service.impl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import vion.model.ContractPaymentInfo;
import vion.mapper.ContractPaymentInfoMapper;
import vion.service.IContractPaymentInfoService;
import vion.mapper.ContractMapper;
import vion.model.Contract;
import vion.service.IContractService;
/**
* @author HlQ
* @date 2023/11/29
*/
@Service
public class ContractPaymentInfoServiceImpl extends ServiceImpl<ContractPaymentInfoMapper, ContractPaymentInfo> implements IContractPaymentInfoService {
public class ContractServiceImpl extends ServiceImpl<ContractMapper, Contract> implements IContractService {
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!