Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
platform
/
finance_serv
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b4e761f6
authored
Sep 11, 2018
by
王军业
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[删除无用代码以及加入注解]
1 parent
a1ed6932
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
474 additions
and
321 deletions
code/finance_serv/src/main/java/com/vion/financial/controller/DeliverGoodsController.java
code/finance_serv/src/main/java/com/vion/financial/controller/PaymentAgreeController.java
code/finance_serv/src/main/java/com/vion/financial/controller/ProjectAcceptancController.java
code/finance_serv/src/main/java/com/vion/financial/controller/ProjectController.java
code/finance_serv/src/main/java/com/vion/financial/controller/ReceiptController.java
code/finance_serv/src/main/java/com/vion/financial/controller/ReturnInfoController.java
code/finance_serv/src/main/java/com/vion/financial/entity/Appendix.java
code/finance_serv/src/main/java/com/vion/financial/entity/Contract.java
code/finance_serv/src/main/java/com/vion/financial/handler/ImportExcel.java
code/finance_serv/src/main/java/com/vion/financial/mapper/AppendixMapper.java
code/finance_serv/src/main/java/com/vion/financial/mapper/ContractMapper.java
code/finance_serv/src/main/java/com/vion/financial/mapper/CustomerMapper.java
code/finance_serv/src/main/java/com/vion/financial/mapper/DeliverGoodsMapper.java
code/finance_serv/src/main/java/com/vion/financial/mapper/PaymentAgreeMapper.java
code/finance_serv/src/main/java/com/vion/financial/mapper/ProjectAcceptancMapper.java
code/finance_serv/src/main/java/com/vion/financial/mapper/ProjectMapper.java
code/finance_serv/src/main/java/com/vion/financial/mapper/ReceiptMapper.java
code/finance_serv/src/main/java/com/vion/financial/mapper/ReturnInfoMapper.java
code/finance_serv/src/main/java/com/vion/financial/service/AppendixService.java
code/finance_serv/src/main/java/com/vion/financial/service/ContractService.java
code/finance_serv/src/main/java/com/vion/financial/service/CustomerService.java
code/finance_serv/src/main/java/com/vion/financial/service/DeliverGoodsService.java
code/finance_serv/src/main/java/com/vion/financial/service/PaymentAgreeService.java
code/finance_serv/src/main/java/com/vion/financial/service/ProjectAcceptancService.java
code/finance_serv/src/main/java/com/vion/financial/service/ProjectService.java
code/finance_serv/src/main/java/com/vion/financial/service/ReceiptService.java
code/finance_serv/src/main/java/com/vion/financial/service/ReturnInfoService.java
code/finance_serv/src/main/java/com/vion/financial/service/imp/ContractServiceImpl.java
code/finance_serv/src/main/java/com/vion/financial/controller/DeliverGoodsController.java
View file @
b4e761f
...
...
@@ -32,7 +32,7 @@ public class DeliverGoodsController extends BaseController{
}
/**
*
*
增加某一合同的发货信息
* @param deliverGoodsVo
* @param contract_unid
* @return
...
...
@@ -43,12 +43,24 @@ public class DeliverGoodsController extends BaseController{
return
deliverGoodsService
.
addDeliverGoods
(
deliverGoodsVo
,
contract_unid
);
}
/**
* 修改某一合同的发货信息
* @param deliverGoodsVo
* @param contract_unid
* @return
*/
@PutMapping
(
"/{contract_unid}/delivers"
)
@ResponseBody
public
Object
updateDeliverInf
(
@RequestBody
DeliverGoodsVo
deliverGoodsVo
,
@PathVariable
String
contract_unid
)
{
return
deliverGoodsService
.
updateDeliverGoods
(
deliverGoodsVo
,
contract_unid
);
}
/**
* 删除某一合同的发货信息
* @param deliverGoodsVo
* @param contract_unid
* @return
*/
@DeleteMapping
(
"/{contract_unid}/delivers"
)
@ResponseBody
public
Object
deleteDeliverInfo
(
@RequestBody
DeliverGoodsVo
deliverGoodsVo
,
@PathVariable
String
contract_unid
)
{
...
...
code/finance_serv/src/main/java/com/vion/financial/controller/PaymentAgreeController.java
View file @
b4e761f
package
com
.
vion
.
financial
.
controller
;
import
java.util.List
;
import
javax.annotation.Resource
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.vion.financial.service.PaymentAgreeService
;
import
com.vion.financial.vo.PaymentAgreeVo
;
@RestController
public
class
PaymentAgreeController
extends
BaseController
{
@Resource
PaymentAgreeService
PaymentAgreeService
;
@GetMapping
(
"/{contract_unid}/payments"
)
@ResponseBody
public
Object
queryPaymentInfo
(
@PathVariable
String
contract_unid
)
{
return
PaymentAgreeService
.
queryPaymentAgree
(
contract_unid
);
}
@PostMapping
(
"/{contract_unid}/payments"
)
@ResponseBody
public
Object
addPaymentInfo
(
@RequestBody
PaymentAgreeVo
paymentAgreeVo
,
@PathVariable
String
contract_unid
)
{
return
PaymentAgreeService
.
addPaymentAgree
(
paymentAgreeVo
,
contract_unid
);
}
@PutMapping
(
"/{contract_unid}/payments"
)
@ResponseBody
public
Object
updatePaymentInfo
(
@RequestBody
PaymentAgreeVo
paymentAgreeVo
,
@PathVariable
String
contract_unid
)
{
return
PaymentAgreeService
.
updatePaymentAgree
(
paymentAgreeVo
,
contract_unid
);
}
@DeleteMapping
(
"/{contract_unid}/payments"
)
@ResponseBody
public
Object
deletePaymentInfo
(
@RequestBody
PaymentAgreeVo
paymentAgreeVo
,
@PathVariable
String
contract_unid
)
{
return
PaymentAgreeService
.
deletePaymentAgree
(
paymentAgreeVo
,
contract_unid
);
}
}
package
com
.
vion
.
financial
.
controller
;
import
java.util.List
;
import
javax.annotation.Resource
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.vion.financial.service.PaymentAgreeService
;
import
com.vion.financial.vo.PaymentAgreeVo
;
@RestController
public
class
PaymentAgreeController
extends
BaseController
{
@Resource
PaymentAgreeService
PaymentAgreeService
;
/**
* 查询某一合同的付款预定信息
* @param contract_unid
* @return
*/
@GetMapping
(
"/{contract_unid}/payments"
)
@ResponseBody
public
Object
queryPaymentInfo
(
@PathVariable
String
contract_unid
)
{
return
PaymentAgreeService
.
queryPaymentAgree
(
contract_unid
);
}
/**
* 增加某一合同的付款约定信息
* @param paymentAgreeVo
* @param contract_unid
* @return
*/
@PostMapping
(
"/{contract_unid}/payments"
)
@ResponseBody
public
Object
addPaymentInfo
(
@RequestBody
PaymentAgreeVo
paymentAgreeVo
,
@PathVariable
String
contract_unid
)
{
return
PaymentAgreeService
.
addPaymentAgree
(
paymentAgreeVo
,
contract_unid
);
}
/**
* 修改某一合同的付款约定信息
* @param paymentAgreeVo
* @param contract_unid
* @return
*/
@PutMapping
(
"/{contract_unid}/payments"
)
@ResponseBody
public
Object
updatePaymentInfo
(
@RequestBody
PaymentAgreeVo
paymentAgreeVo
,
@PathVariable
String
contract_unid
)
{
return
PaymentAgreeService
.
updatePaymentAgree
(
paymentAgreeVo
,
contract_unid
);
}
/**
* 删除某一合同的付款约定信息
* @param paymentAgreeVo
* @param contract_unid
* @return
*/
@DeleteMapping
(
"/{contract_unid}/payments"
)
@ResponseBody
public
Object
deletePaymentInfo
(
@RequestBody
PaymentAgreeVo
paymentAgreeVo
,
@PathVariable
String
contract_unid
)
{
return
PaymentAgreeService
.
deletePaymentAgree
(
paymentAgreeVo
,
contract_unid
);
}
}
code/finance_serv/src/main/java/com/vion/financial/controller/ProjectAcceptancController.java
View file @
b4e761f
...
...
@@ -22,24 +22,47 @@ public class ProjectAcceptancController extends BaseController{
@Resource
ProjectAcceptancService
projectAcceptancService
;
/**
* 查询某一合同的工程验收信息
* @param contract_unid
* @return
*/
@GetMapping
(
"/{contract_unid}/project/acceptancs"
)
@ResponseBody
public
Object
queryAcceptancInfo
(
@PathVariable
String
contract_unid
)
{
return
projectAcceptancService
.
queryProjectAcceptanc
(
contract_unid
);
}
/**
* 增加某一合同的工程验收信息
* @param projectAcceptancVo
* @param contract_unid
* @return
*/
@PostMapping
(
"/{contract_unid}/project/acceptancs"
)
@ResponseBody
public
Object
addAcceptancInfo
(
@RequestBody
ProjectAcceptancVo
projectAcceptancVo
,
@PathVariable
String
contract_unid
)
{
return
projectAcceptancService
.
addProjectAcceptanc
(
projectAcceptancVo
,
contract_unid
);
}
/**
* 修改某一合同的工程验收信息
* @param projectAcceptancVo
* @param contract_unid
* @return
*/
@PutMapping
(
"/{contract_unid}/project/acceptancs"
)
@ResponseBody
public
Object
updateAcceptancInfo
(
@RequestBody
ProjectAcceptancVo
projectAcceptancVo
,
@PathVariable
String
contract_unid
)
{
return
projectAcceptancService
.
updateProjectAcceptanc
(
projectAcceptancVo
,
contract_unid
);
}
/**
* 删除某一合同的工程验收信息
* @param projectAcceptancVo
* @param contract_unid
* @return
*/
@DeleteMapping
(
"/{contract_unid}/project/acceptancs"
)
@ResponseBody
public
Object
deleteAcceptancInfo
(
@RequestBody
ProjectAcceptancVo
projectAcceptancVo
,
@PathVariable
String
contract_unid
)
{
...
...
code/finance_serv/src/main/java/com/vion/financial/controller/ProjectController.java
View file @
b4e761f
...
...
@@ -20,24 +20,43 @@ public class ProjectController extends BaseController{
@Autowired
ProjectService
projectService
;
/**
* 增加项目名称
* @param project
* @return
*/
@PostMapping
(
value
=
"/projects"
)
@ResponseBody
public
Object
addProject
(
@RequestBody
Project
project
)
{
return
projectService
.
addProject
(
project
);
}
/**
* 查询项目列表
* @return
*/
@GetMapping
(
value
=
"/projects"
)
@ResponseBody
public
Object
queryProject
()
{
return
projectService
.
queryProject
();
}
/**
* 修改项目名称
* @param project
* @return
*/
@PutMapping
(
value
=
"/projects"
)
@ResponseBody
public
Object
updateProject
(
@RequestBody
Project
project
)
{
return
projectService
.
updateProject
(
project
);
}
/**
* 删除某一项目
* @param project
* @return
*/
@DeleteMapping
(
value
=
"/projects"
)
@ResponseBody
public
Object
deleteProject
(
@RequestBody
Project
project
)
{
...
...
code/finance_serv/src/main/java/com/vion/financial/controller/ReceiptController.java
View file @
b4e761f
package
com
.
vion
.
financial
.
controller
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.vion.financial.service.ReceiptService
;
import
com.vion.financial.vo.ReceiptVo
;
@RestController
public
class
ReceiptController
extends
BaseController
{
@Autowired
ReceiptService
receiptService
;
@PostMapping
(
"/{contract_unid}/receipts"
)
@ResponseBody
public
Object
addReceiptInfo
(
@RequestBody
ReceiptVo
receiptVo
,
@PathVariable
String
contract_unid
)
{
return
receiptService
.
addReceipt
(
receiptVo
,
contract_unid
);
}
@GetMapping
(
"/{contract_unid}/receipts"
)
@ResponseBody
public
Object
queryReceiptInfo
(
@PathVariable
String
contract_unid
)
{
return
receiptService
.
queryReceipt
(
contract_unid
);
}
@PutMapping
(
"/{contract_unid}/receipts"
)
@ResponseBody
public
Object
updateReceiptInfo
(
@RequestBody
ReceiptVo
receiptVo
,
@PathVariable
String
contract_unid
)
{
return
receiptService
.
updateReceipt
(
receiptVo
,
contract_unid
);
}
@DeleteMapping
(
"/{contract_unid}/receipts"
)
@ResponseBody
public
Object
deleteReceiptInfo
(
@RequestBody
ReceiptVo
receiptVo
,
@PathVariable
String
contract_unid
)
{
return
receiptService
.
deleteReceipt
(
receiptVo
,
contract_unid
);
}
}
package
com
.
vion
.
financial
.
controller
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.vion.financial.service.ReceiptService
;
import
com.vion.financial.vo.ReceiptVo
;
@RestController
public
class
ReceiptController
extends
BaseController
{
@Autowired
ReceiptService
receiptService
;
/**
* 增加开票信息
* @param receiptVo
* @param contract_unid
* @return
*/
@PostMapping
(
"/{contract_unid}/receipts"
)
@ResponseBody
public
Object
addReceiptInfo
(
@RequestBody
ReceiptVo
receiptVo
,
@PathVariable
String
contract_unid
)
{
return
receiptService
.
addReceipt
(
receiptVo
,
contract_unid
);
}
/**
* 查询开票信息
* @param contract_unid
* @return
*/
@GetMapping
(
"/{contract_unid}/receipts"
)
@ResponseBody
public
Object
queryReceiptInfo
(
@PathVariable
String
contract_unid
)
{
return
receiptService
.
queryReceipt
(
contract_unid
);
}
/**
* 修改开票信息
* @param receiptVo
* @param contract_unid
* @return
*/
@PutMapping
(
"/{contract_unid}/receipts"
)
@ResponseBody
public
Object
updateReceiptInfo
(
@RequestBody
ReceiptVo
receiptVo
,
@PathVariable
String
contract_unid
)
{
return
receiptService
.
updateReceipt
(
receiptVo
,
contract_unid
);
}
/**
* 删除开票信息
* @param receiptVo
* @param contract_unid
* @return
*/
@DeleteMapping
(
"/{contract_unid}/receipts"
)
@ResponseBody
public
Object
deleteReceiptInfo
(
@RequestBody
ReceiptVo
receiptVo
,
@PathVariable
String
contract_unid
)
{
return
receiptService
.
deleteReceipt
(
receiptVo
,
contract_unid
);
}
}
code/finance_serv/src/main/java/com/vion/financial/controller/ReturnInfoController.java
View file @
b4e761f
package
com
.
vion
.
financial
.
controller
;
import
javax.annotation.Resource
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.vion.financial.service.PaymentAgreeService
;
import
com.vion.financial.service.ReturnInfoService
;
import
com.vion.financial.vo.PaymentAgreeVo
;
import
com.vion.financial.vo.ReturnInfoVo
;
@RestController
public
class
ReturnInfoController
extends
BaseController
{
@Resource
ReturnInfoService
returnInfoService
;
@GetMapping
(
"/{contract_unid}/rebacks"
)
@ResponseBody
public
Object
queryRebackInfo
(
@PathVariable
String
contract_unid
)
{
return
returnInfoService
.
queryReturnInfo
(
contract_unid
);
}
@PostMapping
(
"/{contract_unid}/rebacks"
)
@ResponseBody
public
Object
addRebackInfo
(
@RequestBody
ReturnInfoVo
returnInfoVo
,
@PathVariable
String
contract_unid
)
{
return
returnInfoService
.
addReturnInfo
(
returnInfoVo
,
contract_unid
);
}
@PutMapping
(
"/{contract_unid}/rebacks"
)
@ResponseBody
public
Object
updateReturnInfo
(
@RequestBody
ReturnInfoVo
returnInfoVo
,
@PathVariable
String
contract_unid
)
{
return
returnInfoService
.
updateReturnInfo
(
returnInfoVo
,
contract_unid
);
}
@DeleteMapping
(
"/{contract_unid}/rebacks"
)
@ResponseBody
public
Object
deletePaymentInfo
(
@RequestBody
ReturnInfoVo
returnInfoVo
,
@PathVariable
String
contract_unid
)
{
return
returnInfoService
.
deleteReturn
(
returnInfoVo
,
contract_unid
);
}
}
package
com
.
vion
.
financial
.
controller
;
import
javax.annotation.Resource
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.vion.financial.service.PaymentAgreeService
;
import
com.vion.financial.service.ReturnInfoService
;
import
com.vion.financial.vo.PaymentAgreeVo
;
import
com.vion.financial.vo.ReturnInfoVo
;
@RestController
public
class
ReturnInfoController
extends
BaseController
{
@Resource
ReturnInfoService
returnInfoService
;
/**
* 查询回款信息
* @param contract_unid
* @return
*/
@GetMapping
(
"/{contract_unid}/rebacks"
)
@ResponseBody
public
Object
queryRebackInfo
(
@PathVariable
String
contract_unid
)
{
return
returnInfoService
.
queryReturnInfo
(
contract_unid
);
}
/**
* 增加回款信息
* @param returnInfoVo
* @param contract_unid
* @return
*/
@PostMapping
(
"/{contract_unid}/rebacks"
)
@ResponseBody
public
Object
addRebackInfo
(
@RequestBody
ReturnInfoVo
returnInfoVo
,
@PathVariable
String
contract_unid
)
{
return
returnInfoService
.
addReturnInfo
(
returnInfoVo
,
contract_unid
);
}
/**
* 修改回款信息
* @param returnInfoVo
* @param contract_unid
* @return
*/
@PutMapping
(
"/{contract_unid}/rebacks"
)
@ResponseBody
public
Object
updateReturnInfo
(
@RequestBody
ReturnInfoVo
returnInfoVo
,
@PathVariable
String
contract_unid
)
{
return
returnInfoService
.
updateReturnInfo
(
returnInfoVo
,
contract_unid
);
}
/**
* 删除回款信息
* @param returnInfoVo
* @param contract_unid
* @return
*/
@DeleteMapping
(
"/{contract_unid}/rebacks"
)
@ResponseBody
public
Object
deletePaymentInfo
(
@RequestBody
ReturnInfoVo
returnInfoVo
,
@PathVariable
String
contract_unid
)
{
return
returnInfoService
.
deleteReturn
(
returnInfoVo
,
contract_unid
);
}
}
code/finance_serv/src/main/java/com/vion/financial/entity/Appendix.java
View file @
b4e761f
package
com
.
vion
.
financial
.
entity
;
public
class
Appendix
{
private
Integer
appendix_unid
;
private
String
business_table
;
private
String
business_unid
;
private
String
appendix_name
;
private
String
appendix_type
;
private
String
appendix_url
;
private
Integer
appendix_unid
;
//合同id
private
String
business_table
;
//附件表的名称
private
String
business_unid
;
//表中数据的主键
private
String
appendix_name
;
//附件名称
private
String
appendix_type
;
//附件的类型
private
String
appendix_url
;
//附件保存的地址
public
Integer
getAppendix_unid
()
{
return
appendix_unid
;
}
...
...
code/finance_serv/src/main/java/com/vion/financial/entity/Contract.java
View file @
b4e761f
...
...
@@ -6,35 +6,35 @@ import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import
com.vion.financial.serializer.DateYMDHMSJsonSerializer
;
public
class
Contract
{
private
String
contract_unid
;
private
String
salesperson_unid
;
private
int
project_unid
;
private
int
customer_unid
;
private
String
province
;
private
String
city
;
private
String
county
;
private
int
guarantee_period
;
private
Date
sign_date
;
private
String
product_line_type
;
private
String
contract_state
;
private
String
contract_type
;
private
double
contract_amount
;
private
double
deduct_amount
;
private
String
contract_amount_note
;
private
double
stop_amount
;
private
String
reback_note
;
private
double
exemptions_amount
;
private
String
contract_remain_note
;
private
boolean
is_archive
;
private
double
bad_amount
;
private
String
bad_amount_note
;
private
double
confirm_income_amount
;
private
String
amount_state_unid
;
private
Date
start_guarantee_date
;
private
Date
end_guarantee_date
;
private
String
mainten_start_point
;
private
String
contract_note
;
private
boolean
is_delete
;
private
String
contract_unid
;
//合同编号
private
String
salesperson_unid
;
//销售员id
private
int
project_unid
;
//项目id
private
int
customer_unid
;
//顾客id
private
String
province
;
//省
private
String
city
;
//市
private
String
county
;
//县
private
int
guarantee_period
;
//质保周期
private
Date
sign_date
;
//签订时间
private
String
product_line_type
;
//生产线类型
private
String
contract_state
;
//合同状态
private
String
contract_type
;
//合同性质
private
double
contract_amount
;
//合同金额
private
double
deduct_amount
;
//折扣金额
private
String
contract_amount_note
;
//合同金额备注
private
double
stop_amount
;
//暂停金额
private
String
reback_note
;
//累计回款备注
private
double
exemptions_amount
;
//豁免金额
private
String
contract_remain_note
;
//合同余额备注
private
boolean
is_archive
;
//是否归档
private
double
bad_amount
;
//坏账金额
private
String
bad_amount_note
;
//坏账金额备注
private
double
confirm_income_amount
;
//确定收入金额
private
String
amount_state_unid
;
//账款状态
private
Date
start_guarantee_date
;
//维保服务期开始时间
private
Date
end_guarantee_date
;
//维保服务期结束时间
private
String
mainten_start_point
;
//质保期开始节点
private
String
contract_note
;
//合同备注
private
boolean
is_delete
;
//标示合同是否逻辑删除
public
String
getContract_unid
()
{
return
contract_unid
;
}
...
...
code/finance_serv/src/main/java/com/vion/financial/handler/ImportExcel.java
View file @
b4e761f
...
...
@@ -47,12 +47,6 @@ public class ImportExcel {
log
.
info
(
"导入失败数据,编号"
+
importModel
.
getContract_unid
());
}
/* if(failList.size()==0) {
return successList;
}
ImportModel flag=new ImportModel();
flag.setContract_unid("数据格式出错");
successList.add(flag);*/
return
list
;
}
}
code/finance_serv/src/main/java/com/vion/financial/mapper/AppendixMapper.java
View file @
b4e761f
package
com
.
vion
.
financial
.
mapper
;
import
java.util.List
;
import
com.vion.financial.entity.Appendix
;
public
interface
AppendixMapper
{
public
List
<
Appendix
>
queryAppendixList
(
Appendix
appendix
);
int
addAppendix
(
Appendix
appendix
);
public
void
updateAppendix
(
Appendix
appendix
);
public
void
deleteAppendix
(
Appendix
appendix
);
}
package
com
.
vion
.
financial
.
mapper
;
import
java.util.List
;
import
com.vion.financial.entity.Appendix
;
public
interface
AppendixMapper
{
List
<
Appendix
>
queryAppendixList
(
Appendix
appendix
);
int
addAppendix
(
Appendix
appendix
);
void
updateAppendix
(
Appendix
appendix
);
void
deleteAppendix
(
Appendix
appendix
);
}
code/finance_serv/src/main/java/com/vion/financial/mapper/ContractMapper.java
View file @
b4e761f
...
...
@@ -22,5 +22,6 @@ public interface ContractMapper {
Boolean
isDelete
(
String
contract_unid
);
List
<
ExportModel
>
exportContracts
(
SelectVo
selectVo
);
void
actualDeleteOne
(
String
contract_unid
);
@Transactional
String
timeUpdate
();
}
code/finance_serv/src/main/java/com/vion/financial/mapper/CustomerMapper.java
View file @
b4e761f
...
...
@@ -2,12 +2,17 @@ package com.vion.financial.mapper;
import
java.util.List
;
import
org.springframework.transaction.annotation.Transactional
;
import
com.vion.financial.entity.Customer
;
public
interface
CustomerMapper
{
public
void
addCustomer
(
Customer
customer
);
public
List
<
Customer
>
queryCustomer
();
public
void
updateCustomer
(
Customer
customer
);
public
void
deleteCustomer
(
int
n
);
public
Customer
selectByName
(
String
name
);
@Transactional
void
addCustomer
(
Customer
customer
);
List
<
Customer
>
queryCustomer
();
@Transactional
void
updateCustomer
(
Customer
customer
);
@Transactional
void
deleteCustomer
(
int
n
);
Customer
selectByName
(
String
name
);
}
code/finance_serv/src/main/java/com/vion/financial/mapper/DeliverGoodsMapper.java
View file @
b4e761f
package
com
.
vion
.
financial
.
mapper
;
import
java.util.List
;
import
com.vion.financial.entity.DeliverGoods
;
public
interface
DeliverGoodsMapper
{
public
void
addDeliverGoods
(
DeliverGoods
deliverGoods
);
public
List
<
DeliverGoods
>
queryDeliverGoods
(
String
s
);
public
void
updateDeliverGoods
(
DeliverGoods
deliverGoods
);
public
void
deleteDeliverGoods
(
int
n
);
}
package
com
.
vion
.
financial
.
mapper
;
import
java.util.List
;
import
org.springframework.transaction.annotation.Transactional
;
import
com.vion.financial.entity.DeliverGoods
;
public
interface
DeliverGoodsMapper
{
@Transactional
void
addDeliverGoods
(
DeliverGoods
deliverGoods
);
List
<
DeliverGoods
>
queryDeliverGoods
(
String
s
);
@Transactional
void
updateDeliverGoods
(
DeliverGoods
deliverGoods
);
@Transactional
void
deleteDeliverGoods
(
int
n
);
}
code/finance_serv/src/main/java/com/vion/financial/mapper/PaymentAgreeMapper.java
View file @
b4e761f
package
com
.
vion
.
financial
.
mapper
;
import
java.util.List
;
import
com.vion.financial.entity.PaymentAgree
;
public
interface
PaymentAgreeMapper
{
public
void
addPaymentAgree
(
PaymentAgree
paymentAgree
);
public
List
<
PaymentAgree
>
queryPaymentAgree
(
String
s
);
public
void
updatePaymentAgree
(
PaymentAgree
paymentAgree
);
public
void
deletePaymentAgree
(
int
n
);
}
package
com
.
vion
.
financial
.
mapper
;
import
java.util.List
;
import
org.springframework.transaction.annotation.Transactional
;
import
com.vion.financial.entity.PaymentAgree
;
public
interface
PaymentAgreeMapper
{
@Transactional
void
addPaymentAgree
(
PaymentAgree
paymentAgree
);
List
<
PaymentAgree
>
queryPaymentAgree
(
String
s
);
@Transactional
void
updatePaymentAgree
(
PaymentAgree
paymentAgree
);
@Transactional
void
deletePaymentAgree
(
int
n
);
}
code/finance_serv/src/main/java/com/vion/financial/mapper/ProjectAcceptancMapper.java
View file @
b4e761f
...
...
@@ -2,11 +2,16 @@ package com.vion.financial.mapper;
import
java.util.List
;
import
org.springframework.transaction.annotation.Transactional
;
import
com.vion.financial.entity.ProjectAcceptanc
;
public
interface
ProjectAcceptancMapper
{
public
void
addProjectAcceptanc
(
ProjectAcceptanc
projectAcceptanc
);
public
List
<
ProjectAcceptanc
>
queryProjectAcceptanc
(
String
s
);
public
void
updateProjectAcceptanc
(
ProjectAcceptanc
projectAcceptanc
);
public
void
deleteProjectAcceptanc
(
int
n
);
@Transactional
void
addProjectAcceptanc
(
ProjectAcceptanc
projectAcceptanc
);
List
<
ProjectAcceptanc
>
queryProjectAcceptanc
(
String
s
);
@Transactional
void
updateProjectAcceptanc
(
ProjectAcceptanc
projectAcceptanc
);
@Transactional
void
deleteProjectAcceptanc
(
int
n
);
}
code/finance_serv/src/main/java/com/vion/financial/mapper/ProjectMapper.java
View file @
b4e761f
...
...
@@ -2,12 +2,17 @@ package com.vion.financial.mapper;
import
java.util.List
;
import
org.springframework.transaction.annotation.Transactional
;
import
com.vion.financial.entity.Project
;
public
interface
ProjectMapper
{
public
void
addProject
(
Project
projec
);
public
List
<
Project
>
queryProject
();
public
void
updateProject
(
Project
project
);
public
void
deleteProject
(
int
n
);
public
Project
selectByName
(
String
name
);
@Transactional
void
addProject
(
Project
projec
);
List
<
Project
>
queryProject
();
@Transactional
void
updateProject
(
Project
project
);
@Transactional
void
deleteProject
(
int
n
);
Project
selectByName
(
String
name
);
}
code/finance_serv/src/main/java/com/vion/financial/mapper/ReceiptMapper.java
View file @
b4e761f
package
com
.
vion
.
financial
.
mapper
;
import
java.util.List
;
import
com.vion.financial.entity.Receipt
;
public
interface
ReceiptMapper
{
public
void
addReceipt
(
Receipt
receipt
);
public
List
<
Receipt
>
queryReceipt
(
String
s
);
public
void
updateReceipt
(
Receipt
receipt
);
public
void
deleteReceipt
(
int
n
);
}
package
com
.
vion
.
financial
.
mapper
;
import
java.util.List
;
import
org.springframework.transaction.annotation.Transactional
;
import
com.vion.financial.entity.Receipt
;
public
interface
ReceiptMapper
{
@Transactional
void
addReceipt
(
Receipt
receipt
);
List
<
Receipt
>
queryReceipt
(
String
s
);
@Transactional
void
updateReceipt
(
Receipt
receipt
);
@Transactional
void
deleteReceipt
(
int
n
);
}
code/finance_serv/src/main/java/com/vion/financial/mapper/ReturnInfoMapper.java
View file @
b4e761f
...
...
@@ -2,11 +2,16 @@ package com.vion.financial.mapper;
import
java.util.List
;
import
org.springframework.transaction.annotation.Transactional
;
import
com.vion.financial.entity.ReturnInfo
;
public
interface
ReturnInfoMapper
{
public
void
addReturnInfo
(
ReturnInfo
returnInfo
);
public
List
<
ReturnInfo
>
queryReturnInfo
(
String
s
);
public
void
updateReturnInfo
(
ReturnInfo
returnInfo
);
public
void
deleteReturnInfo
(
int
n
);
@Transactional
void
addReturnInfo
(
ReturnInfo
returnInfo
);
List
<
ReturnInfo
>
queryReturnInfo
(
String
s
);
@Transactional
void
updateReturnInfo
(
ReturnInfo
returnInfo
);
@Transactional
void
deleteReturnInfo
(
int
n
);
}
code/finance_serv/src/main/java/com/vion/financial/service/AppendixService.java
View file @
b4e761f
...
...
@@ -6,9 +6,9 @@ import com.vion.financial.entity.Appendix;
import
com.vion.financial.vo.AppendixVo
;
public
interface
AppendixService
{
public
Object
queryAppendixList
(
Appendix
appendix
);
public
Object
addAppendix
(
Appendix
appendix
);
public
Object
updateAppendix
(
Appendix
appendix
);
public
Object
deleteAppendix
(
Appendix
appendix
);
public
Object
upload
(
AppendixVo
appendixVo
);
Object
queryAppendixList
(
Appendix
appendix
);
Object
addAppendix
(
Appendix
appendix
);
Object
updateAppendix
(
Appendix
appendix
);
Object
deleteAppendix
(
Appendix
appendix
);
Object
upload
(
AppendixVo
appendixVo
);
}
code/finance_serv/src/main/java/com/vion/financial/service/ContractService.java
View file @
b4e761f
...
...
@@ -8,13 +8,13 @@ import com.vion.financial.vo.ContractVo;
import
com.vion.financial.vo.SelectVo
;
public
interface
ContractService
{
public
Object
addOne
(
ContractVo
vontractVo
);
public
Object
queryOne
(
String
s
);
public
Object
updateOne
(
ContractVo
vontractVo
);
public
Object
deleteOne
(
String
s
);
public
Object
queryList
();
Object
addOne
(
ContractVo
vontractVo
);
Object
queryOne
(
String
s
);
Object
updateOne
(
ContractVo
vontractVo
);
Object
deleteOne
(
String
s
);
Object
queryList
();
Boolean
isDelete
(
String
s
);
public
Object
selectByCondition
(
SelectVo
selectVo
);
public
void
exportExcel
(
SelectVo
selectVo
,
HttpServletResponse
response
);
public
Object
importExcel
(
MultipartFile
file
);
Object
selectByCondition
(
SelectVo
selectVo
);
void
exportExcel
(
SelectVo
selectVo
,
HttpServletResponse
response
);
Object
importExcel
(
MultipartFile
file
);
}
code/finance_serv/src/main/java/com/vion/financial/service/CustomerService.java
View file @
b4e761f
...
...
@@ -3,8 +3,8 @@ package com.vion.financial.service;
import
com.vion.financial.entity.Customer
;
public
interface
CustomerService
{
public
Object
addCustomer
(
Customer
customer
);
public
Object
queryCustomer
();
public
Object
updateCustomer
(
Customer
customer
);
public
Object
deleteCustomer
(
int
n
);
Object
addCustomer
(
Customer
customer
);
Object
queryCustomer
();
Object
updateCustomer
(
Customer
customer
);
Object
deleteCustomer
(
int
n
);
}
code/finance_serv/src/main/java/com/vion/financial/service/DeliverGoodsService.java
View file @
b4e761f
package
com
.
vion
.
financial
.
service
;
import
java.util.List
;
import
com.vion.financial.entity.DeliverGoods
;
import
com.vion.financial.vo.DeliverGoodsVo
;
public
interface
DeliverGoodsService
{
public
Object
addDeliverGoods
(
DeliverGoodsVo
deliverGoodsVo
,
String
s
);
public
Object
queryDeliverGoods
(
String
s
);
public
Object
updateDeliverGoods
(
DeliverGoodsVo
deliverGoodsVo
,
String
s
);
public
Object
deleteDeliverGoods
(
DeliverGoodsVo
deliverGoodsVo
,
String
s
);
}
package
com
.
vion
.
financial
.
service
;
import
java.util.List
;
import
com.vion.financial.entity.DeliverGoods
;
import
com.vion.financial.vo.DeliverGoodsVo
;
public
interface
DeliverGoodsService
{
Object
addDeliverGoods
(
DeliverGoodsVo
deliverGoodsVo
,
String
s
);
Object
queryDeliverGoods
(
String
s
);
Object
updateDeliverGoods
(
DeliverGoodsVo
deliverGoodsVo
,
String
s
);
Object
deleteDeliverGoods
(
DeliverGoodsVo
deliverGoodsVo
,
String
s
);
}
code/finance_serv/src/main/java/com/vion/financial/service/PaymentAgreeService.java
View file @
b4e761f
package
com
.
vion
.
financial
.
service
;
import
java.util.List
;
import
com.vion.financial.entity.PaymentAgree
;
import
com.vion.financial.vo.PaymentAgreeVo
;
public
interface
PaymentAgreeService
{
public
Object
addPaymentAgree
(
PaymentAgreeVo
paymentAgreeVo
,
String
s
);
public
Object
queryPaymentAgree
(
String
s
);
public
Object
updatePaymentAgree
(
PaymentAgreeVo
paymentAgreeVo
,
String
s
);
public
Object
deletePaymentAgree
(
PaymentAgreeVo
paymentAgreeVo
,
String
s
);
}
package
com
.
vion
.
financial
.
service
;
import
java.util.List
;
import
com.vion.financial.entity.PaymentAgree
;
import
com.vion.financial.vo.PaymentAgreeVo
;
public
interface
PaymentAgreeService
{
Object
addPaymentAgree
(
PaymentAgreeVo
paymentAgreeVo
,
String
s
);
Object
queryPaymentAgree
(
String
s
);
Object
updatePaymentAgree
(
PaymentAgreeVo
paymentAgreeVo
,
String
s
);
Object
deletePaymentAgree
(
PaymentAgreeVo
paymentAgreeVo
,
String
s
);
}
code/finance_serv/src/main/java/com/vion/financial/service/ProjectAcceptancService.java
View file @
b4e761f
...
...
@@ -4,8 +4,8 @@ import com.vion.financial.vo.DeliverGoodsVo;
import
com.vion.financial.vo.ProjectAcceptancVo
;
public
interface
ProjectAcceptancService
{
public
Object
addProjectAcceptanc
(
ProjectAcceptancVo
projectAcceptancVo
,
String
s
);
public
Object
queryProjectAcceptanc
(
String
s
);
public
Object
updateProjectAcceptanc
(
ProjectAcceptancVo
projectAcceptancVo
,
String
s
);
public
Object
deleteProjectAcceptanc
(
ProjectAcceptancVo
projectAcceptancVo
,
String
s
);
Object
addProjectAcceptanc
(
ProjectAcceptancVo
projectAcceptancVo
,
String
s
);
Object
queryProjectAcceptanc
(
String
s
);
Object
updateProjectAcceptanc
(
ProjectAcceptancVo
projectAcceptancVo
,
String
s
);
Object
deleteProjectAcceptanc
(
ProjectAcceptancVo
projectAcceptancVo
,
String
s
);
}
code/finance_serv/src/main/java/com/vion/financial/service/ProjectService.java
View file @
b4e761f
...
...
@@ -4,8 +4,8 @@ import com.vion.financial.entity.Project;
public
interface
ProjectService
{
public
Object
addProject
(
Project
project
);
public
Object
queryProject
();
public
Object
updateProject
(
Project
project
);
public
Object
deleteProject
(
Project
project
);
Object
addProject
(
Project
project
);
Object
queryProject
();
Object
updateProject
(
Project
project
);
Object
deleteProject
(
Project
project
);
}
code/finance_serv/src/main/java/com/vion/financial/service/ReceiptService.java
View file @
b4e761f
package
com
.
vion
.
financial
.
service
;
import
com.vion.financial.vo.ReceiptVo
;
public
interface
ReceiptService
{
public
Object
addReceipt
(
ReceiptVo
receiptVo
,
String
s
);
public
Object
queryReceipt
(
String
s
);
public
Object
updateReceipt
(
ReceiptVo
receiptVo
,
String
s
);
public
Object
deleteReceipt
(
ReceiptVo
receiptVo
,
String
s
);
}
package
com
.
vion
.
financial
.
service
;
import
com.vion.financial.vo.ReceiptVo
;
public
interface
ReceiptService
{
Object
addReceipt
(
ReceiptVo
receiptVo
,
String
s
);
Object
queryReceipt
(
String
s
);
Object
updateReceipt
(
ReceiptVo
receiptVo
,
String
s
);
Object
deleteReceipt
(
ReceiptVo
receiptVo
,
String
s
);
}
code/finance_serv/src/main/java/com/vion/financial/service/ReturnInfoService.java
View file @
b4e761f
package
com
.
vion
.
financial
.
service
;
import
com.vion.financial.vo.ReturnInfoVo
;
public
interface
ReturnInfoService
{
public
Object
addReturnInfo
(
ReturnInfoVo
returnInfoVo
,
String
s
);
public
Object
queryReturnInfo
(
String
s
);
public
Object
updateReturnInfo
(
ReturnInfoVo
returnInfoVo
,
String
s
);
public
Object
deleteReturn
(
ReturnInfoVo
returnInfoVo
,
String
s
);
}
package
com
.
vion
.
financial
.
service
;
import
com.vion.financial.vo.ReturnInfoVo
;
public
interface
ReturnInfoService
{
Object
addReturnInfo
(
ReturnInfoVo
returnInfoVo
,
String
s
);
Object
queryReturnInfo
(
String
s
);
Object
updateReturnInfo
(
ReturnInfoVo
returnInfoVo
,
String
s
);
Object
deleteReturn
(
ReturnInfoVo
returnInfoVo
,
String
s
);
}
code/finance_serv/src/main/java/com/vion/financial/service/imp/ContractServiceImpl.java
View file @
b4e761f
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment