Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-cost-system
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
dc-cost-system
Commits
9176c024
Commit
9176c024
authored
Nov 24, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
4b064fde
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
134 deletions
+2
-134
CostListAddController.java
...t/other/module/cost/controller/CostListAddController.java
+0
-15
CostListAddReceiptController.java
.../module/cost/controller/CostListAddReceiptController.java
+0
-72
CostListPrintController.java
...other/module/cost/controller/CostListPrintController.java
+0
-31
CostListSearchController.java
...ther/module/cost/controller/CostListSearchController.java
+0
-15
CostTemplate.java
...in/java/com/blt/other/module/cost/model/CostTemplate.java
+2
-1
No files found.
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/controller/CostListAddController.java
deleted
100644 → 0
View file @
4b064fde
//package com.blt.other.module.cost.controller;
//
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//@Deprecated
//@RestController
//@RequestMapping("cost/list/add/")
//public class CostListAddController {
//
// private static Logger logger = LoggerFactory.getLogger(CostListAddController.class);
//
//}
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/controller/CostListAddReceiptController.java
deleted
100644 → 0
View file @
4b064fde
//package com.blt.other.module.cost.controller;
//
//import com.blt.other.common.util.AxiosUtil;
//import com.bailuntec.cost.api.dto.CostCompanyFinansysDto;
//import com.blt.other.module.cost.service.CostCompanyFinansysService;
//import com.blt.other.module.cost.service.CostCompanyService;
//import com.blt.other.module.cost.vo.CostCompanyVo;
//import com.blt.other.module.database.model.CostCompanyDomain;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//import java.util.HashMap;
//import java.util.List;
//import java.util.Map;
//
//@Deprecated
//@RestController
//@RequestMapping("cost/list/add")
//public class CostListAddReceiptController {
//
// @Autowired
// private CostCompanyService costCompanyService;
//
// @Autowired
// private CostCompanyFinansysService costCompanyFinansysService;
//
// @PostMapping("/getCompanyFinansysByNo")
// public Map<String,Object> getCompanyFinansysByNo(HttpServletResponse response, HttpServletRequest request){
// AxiosUtil.setCors(response,request);
// String companyNo = request.getParameter("companyNo");
//
// CostCompanyDomain companyByCompanyNo = costCompanyService.getCompanyByCompanyNo(companyNo);
//
// CostCompanyVo costCompanyVo = costCompanyFinansysService.getCostCompanyVo(companyByCompanyNo.getValue());
// List<CostCompanyFinansysDto> costCompanyFinansysDto = null;
// if (null != costCompanyVo){
// costCompanyFinansysDto = costCompanyFinansysService.getCostCompanyFinansysDto(costCompanyVo);
// }
//
// Map<String,Object> result = new HashMap<>();
// result.put("finansysList",costCompanyFinansysDto);
// result.put("success",true);
// return result;
// }
//
// @PostMapping("/getMainFinansys")
// public Map<String,Object> getMainFinansys(HttpServletResponse response,HttpServletRequest request){
// AxiosUtil.setCors(response,request);
// Map<String,Object> result = new HashMap<>();
//
// String mValue = request.getParameter("mValue");
// String[] split = mValue.split("~");
// CostCompanyVo costCompanyVo = costCompanyFinansysService.getCostCompanyVo(Integer.parseInt(split[0]));
// List<CostCompanyFinansysDto> costCompanyFinansysDto = costCompanyFinansysService.getCostCompanyFinansysDto(costCompanyVo);
//
// if (null != costCompanyFinansysDto && costCompanyFinansysDto.size() >= 1){
// for (CostCompanyFinansysDto costCompanyFinansys : costCompanyFinansysDto){
// if (costCompanyFinansys.getId() == Integer.parseInt(split[1])){
// result.put("success",true);
// result.put("msg","");
// result.put("finansys",costCompanyFinansys);
// return result;
// }
// }
// }
// return null;
// }
//}
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/controller/CostListPrintController.java
deleted
100644 → 0
View file @
4b064fde
//package com.blt.other.module.cost.controller;
//
//import com.bailuntec.cost.api.dto.CostDto;
//import com.bailuntec.cost.api.dto.CostListPrintDto;
//import com.blt.other.module.auth.service.UserService;
//import com.blt.other.common.util.AxiosUtil;
//import com.blt.other.common.util.MoneyUtil;
//import com.blt.other.common.util.MyMapperUtil;
//import com.blt.other.module.cost.service.CostService;
//import com.blt.other.module.cost.vo.CostListPrintVo;
//import com.blt.other.module.database.model.UserDomain;
//import io.swagger.annotations.Api;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//import java.util.*;
//
//
//@Deprecated
//@Api(tags = "打印费用单")
//@RestController
//@RequestMapping("/cost/list/print")
//public class CostListPrintController {
//
//
//
//}
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/controller/CostListSearchController.java
deleted
100644 → 0
View file @
4b064fde
//package com.blt.other.module.cost.controller;
//
//import io.swagger.annotations.Api;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//
//@Deprecated
//@Api(tags = "费用搜索接口")
//@RestController
//@RequestMapping("cost/list")
//public class CostListSearchController {
//
//
//}
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/model/CostTemplate.java
View file @
9176c024
...
@@ -111,7 +111,8 @@ public class CostTemplate implements Serializable {
...
@@ -111,7 +111,8 @@ public class CostTemplate implements Serializable {
return
!(
departmentMinimumReviewAmount
.
compareTo
(
BigDecimal
.
ZERO
)
>
0
&&
return
!(
departmentMinimumReviewAmount
.
compareTo
(
BigDecimal
.
ZERO
)
>
0
&&
amount
.
compareTo
(
departmentMinimumReviewAmount
)
<=
0
&&
amount
.
compareTo
(
departmentMinimumReviewAmount
)
<=
0
&&
!
cost
.
getCompanyName
().
contains
(
"工会"
));
// !cost.getCompanyName().contains("工会")
);
}
}
public
boolean
shouldHrCheck
(
CostDomain
costDomain
)
{
public
boolean
shouldHrCheck
(
CostDomain
costDomain
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment