IContractService.java 763 Bytes
package vion.service;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.yulichang.base.MPJBaseService;
import org.springframework.web.bind.annotation.PathVariable;
import vion.dto.ContractDTO;
import vion.model.Contract;
import vion.vo.ContractVO;

/**
 * @author HlQ
 * @date 2023/11/29
 */
public interface IContractService extends MPJBaseService<Contract>{

    Page<ContractVO> list(ContractDTO dto);

    Page<ContractVO> listPart(ContractDTO dto);

    ContractVO getVOById(Long id);

    ContractVO getByNo(@PathVariable String no);

    String updateById(Long id, String contractNo, ContractDTO dto);

    JSONObject calAmount(ContractDTO dto);

    Object analyze(ContractDTO dto);

}