Commit f7285cc0 by HlQ

[chg] 合同相关类重命名

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