|
@@ -6,7 +6,6 @@ import com.jeeplus.common.utils.StringUtils;
|
|
|
import com.jeeplus.common.web.BaseController;
|
|
|
import com.jeeplus.modules.projectEngineering.entity.ProjectEngineeringInfo;
|
|
|
import com.jeeplus.modules.projectEngineering.service.ProjectEngineeringService;
|
|
|
-import com.jeeplus.modules.projectcontentinfo.entity.ProjectReportData;
|
|
|
import com.jeeplus.modules.ruralprojectrecords.entity.RuralProjectRecords;
|
|
|
import com.jeeplus.modules.ruralprojectrecords.service.RuralProjectMessageService;
|
|
|
import com.jeeplus.modules.ruralprojectrecords.service.RuralProjectRecordsService;
|
|
@@ -14,7 +13,6 @@ import com.jeeplus.modules.statement.entity.StatementCompanyComprehensiveInfo;
|
|
|
import com.jeeplus.modules.statement.service.StatementCompanyComprehensiveService;
|
|
|
import com.jeeplus.modules.sys.entity.User;
|
|
|
import com.jeeplus.modules.sys.utils.UserUtils;
|
|
|
-import com.jeeplus.modules.workclientinfo.entity.WorkClientLinkman;
|
|
|
import com.jeeplus.modules.workcontractinfo.entity.WorkCntractBorrow;
|
|
|
import com.jeeplus.modules.workcontractinfo.entity.WorkContractInfo;
|
|
|
import com.jeeplus.modules.workcontractinfo.service.WorkContractInfoService;
|
|
@@ -98,6 +96,7 @@ public class StatementCompanyComprehensiveController extends BaseController {
|
|
|
, Model model, @Param(value = "bigDateType") String bigDateType
|
|
|
, @Param(value = "smallDateType") String smallDateType
|
|
|
, @Param(value = "officeId") String officeId
|
|
|
+ , @Param(value = "year") String year
|
|
|
, @Param(value = "grade")String grade
|
|
|
, @Param(value = "recordState")String recordState
|
|
|
, @Param(value = "reportedState")String reportedState){
|
|
@@ -106,6 +105,7 @@ public class StatementCompanyComprehensiveController extends BaseController {
|
|
|
model.addAttribute("bigDateType",bigDateType);
|
|
|
model.addAttribute("smallDateType",smallDateType);
|
|
|
model.addAttribute("officeId",officeId);
|
|
|
+ model.addAttribute("year",year);
|
|
|
model.addAttribute("grade",grade);
|
|
|
model.addAttribute("recordState",recordState);
|
|
|
model.addAttribute("reportedState",reportedState);
|
|
@@ -130,7 +130,7 @@ public class StatementCompanyComprehensiveController extends BaseController {
|
|
|
//添加查询类型(造价审核)
|
|
|
//projectRecords.setProjectType("2");
|
|
|
//获取项目信息
|
|
|
- Page<RuralProjectRecords> page = projectRecordsService.findReportPage(new Page<RuralProjectRecords>(request, response), projectRecords,officeId,grade,bigDateType,smallDateType,recordState,reportedState);
|
|
|
+ Page<RuralProjectRecords> page = projectRecordsService.findReportPage(new Page<RuralProjectRecords>(request, response), projectRecords,officeId,grade,bigDateType,smallDateType,recordState,reportedState,year);
|
|
|
|
|
|
//查询工程类型
|
|
|
if (projectRecords.getEngineeringType()!=null){
|
|
@@ -138,7 +138,7 @@ public class StatementCompanyComprehensiveController extends BaseController {
|
|
|
model.addAttribute("engineeringInfo", engineeringInfo);
|
|
|
}
|
|
|
model.addAttribute("page", page);
|
|
|
- return "modules/ruralprojectrecords/cost/projectReportList";
|
|
|
+ return "modules/statement/projectReportList";
|
|
|
}
|
|
|
|
|
|
//公司级:开票报表详细
|
|
@@ -147,12 +147,14 @@ public class StatementCompanyComprehensiveController extends BaseController {
|
|
|
@RequestMapping("billingReportList")
|
|
|
public String billingReportList(WorkInvoice workInvoice, HttpServletRequest request, HttpServletResponse response, Model model
|
|
|
,@Param("officeIdd") String officeIdd,@Param("bigDateType")String bigDateType,@Param("smallDateType")String smallDateType
|
|
|
- ,@Param("newlyAdded") String newlyAdded,@Param("collectionThisMonth") String collectionThisMonth) {
|
|
|
+ ,@Param("newlyAdded") String newlyAdded,@Param("collectionThisMonth") String collectionThisMonth
|
|
|
+ , @Param(value = "year") String year) {
|
|
|
|
|
|
//每次都必须接收前端传参并放入model
|
|
|
model.addAttribute("bigDateType",bigDateType);
|
|
|
model.addAttribute("smallDateType",smallDateType);
|
|
|
model.addAttribute("officeIdd",officeIdd);
|
|
|
+ model.addAttribute("year",year);
|
|
|
model.addAttribute("newlyAdded",newlyAdded);
|
|
|
model.addAttribute("collectionThisMonth",collectionThisMonth);
|
|
|
|
|
@@ -173,7 +175,7 @@ public class StatementCompanyComprehensiveController extends BaseController {
|
|
|
workInvoice.setAccountCheckingUserId(null);
|
|
|
}
|
|
|
//获取信息
|
|
|
- Page<WorkInvoice> page = workInvoiceService.findBillingReportPage(new Page<WorkInvoice>(request, response), workInvoice, officeIdd,bigDateType,smallDateType,newlyAdded,collectionThisMonth);
|
|
|
+ Page<WorkInvoice> page = workInvoiceService.findBillingReportPage(new Page<WorkInvoice>(request, response), workInvoice, officeIdd,bigDateType,smallDateType,newlyAdded,collectionThisMonth,year);
|
|
|
|
|
|
|
|
|
String getSumMoney = workInvoiceService.getSumMoney(workInvoice);
|
|
@@ -202,19 +204,21 @@ public class StatementCompanyComprehensiveController extends BaseController {
|
|
|
model.addAttribute("sumMoney", getSumMoney);
|
|
|
model.addAttribute("workInvoiceShow", workInvoice);
|
|
|
|
|
|
- return "modules/workinvoice/billingReportList";
|
|
|
+ return "modules/statement/billingReportList";
|
|
|
}
|
|
|
|
|
|
//公司级:报销报表详细
|
|
|
//参数:officeId ,bigDateType,smallDateType
|
|
|
@RequestMapping("reimbursementReportList")
|
|
|
public String reimbursementReportList(WorkReimbursement workReimbursement, HttpServletRequest request, HttpServletResponse response, Model model
|
|
|
- ,@Param("officeIdd") String officeIdd,@Param("bigDateType")String bigDateType,@Param("smallDateType")String smallDateType) {
|
|
|
+ ,@Param("officeIdd") String officeIdd,@Param("bigDateType")String bigDateType,@Param("smallDateType")String smallDateType
|
|
|
+ , @Param(value = "year") String year) {
|
|
|
|
|
|
//每次都必须接收前端传参并放入model
|
|
|
model.addAttribute("bigDateType",bigDateType);
|
|
|
model.addAttribute("smallDateType",smallDateType);
|
|
|
model.addAttribute("officeIdd",officeIdd);
|
|
|
+ model.addAttribute("year",year);
|
|
|
|
|
|
//进行查询之后进行任何操作,返回还是查询之后的数据页面
|
|
|
if (StringUtils.isNotBlank(workReimbursement.getToflag())){
|
|
@@ -229,7 +233,7 @@ public class StatementCompanyComprehensiveController extends BaseController {
|
|
|
}
|
|
|
//workReimbursement.setOfficeId(UserUtils.getSelectOffice().getId());
|
|
|
//获取信息
|
|
|
- Page<WorkReimbursement> page = workReimbursementService.findReimbursementReportPage(new Page<WorkReimbursement>(request, response), workReimbursement,officeIdd,bigDateType,smallDateType);
|
|
|
+ Page<WorkReimbursement> page = workReimbursementService.findReimbursementReportPage(new Page<WorkReimbursement>(request, response), workReimbursement,officeIdd,bigDateType,smallDateType,year);
|
|
|
List<WorkReimbursement> list = page.getList();
|
|
|
|
|
|
//查询所有和当前登陆人有关的项目的审核
|
|
@@ -275,7 +279,7 @@ public class StatementCompanyComprehensiveController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
model.addAttribute("page", page);
|
|
|
- return "modules/workreimbursement/reimbursementReportList";
|
|
|
+ return "modules/statement/reimbursementReportList";
|
|
|
}
|
|
|
|
|
|
//公司级:合同报表详细
|
|
@@ -284,12 +288,13 @@ public class StatementCompanyComprehensiveController extends BaseController {
|
|
|
@RequestMapping(value = "contractStatementList")
|
|
|
public String contractStatementList(WorkContractInfo workContractInfo, HttpServletRequest request, HttpServletResponse response, Model model
|
|
|
,@Param("officeIdd") String officeIdd,@Param("bigDateType")String bigDateType,@Param("smallDateType")String smallDateType
|
|
|
- ,@Param("contractRecordState")String contractRecordState) {
|
|
|
+ ,@Param("contractRecordState")String contractRecordState, @Param(value = "year") String year) {
|
|
|
|
|
|
//每次都必须接收前端传参并放入model
|
|
|
model.addAttribute("bigDateType",bigDateType);
|
|
|
model.addAttribute("smallDateType",smallDateType);
|
|
|
model.addAttribute("officeIdd",officeIdd);
|
|
|
+ model.addAttribute("year",year);
|
|
|
model.addAttribute("contractRecordState",contractRecordState);
|
|
|
|
|
|
//进行查询之后进行任何操作,返回还是查询之后的数据页面
|
|
@@ -308,7 +313,7 @@ public class StatementCompanyComprehensiveController extends BaseController {
|
|
|
User user = UserUtils.getUser();
|
|
|
|
|
|
//查询信息
|
|
|
- Page<WorkContractInfo> page = workContractInfoService.findContractStatementPage(new Page<WorkContractInfo>(request, response), workContractInfo,officeIdd,bigDateType,smallDateType,contractRecordState);
|
|
|
+ Page<WorkContractInfo> page = workContractInfoService.findContractStatementPage(new Page<WorkContractInfo>(request, response), workContractInfo,officeIdd,bigDateType,smallDateType,contractRecordState,year);
|
|
|
List<WorkContractInfo> list = page.getList();
|
|
|
|
|
|
//查询所有和当前登陆人有关的项目的审核
|
|
@@ -425,6 +430,6 @@ public class StatementCompanyComprehensiveController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
model.addAttribute("page", page);
|
|
|
- return "modules/workcontractinfo/contractStatementList";
|
|
|
+ return "modules/statement/contractStatementList";
|
|
|
}
|
|
|
}
|