IContractService.java
1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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 org.springframework.web.bind.annotation.RequestBody;
import vion.dto.ContractDTO;
import vion.dto.RContractTeamDTO;
import vion.model.Contract;
import vion.model.RContractUser;
import vion.vo.ContractVO;
import java.util.Map;
/**
* @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);
Map<String, Object> analyze(ContractDTO dto);
String dispatch(@RequestBody RContractTeamDTO dto);
Page<RContractUser> getSaleList(RContractUser dto);
String assignSale(RContractUser contractUser);
String unbindSale(RContractUser contractUser);
}