| | |
| | | @PostMapping("/common/upload") |
| | | public AjaxResult uploadFile(MultipartFile file) throws Exception { |
| | | |
| | | int tomcatPort1 = getTomcatPort(); |
| | | log.info("tomcatPort1的值为: {}", tomcatPort1); |
| | | //这个省人民是8099,所以直接写死 |
| | | int tomcatPort = 8099; |
| | | try { |
| | | // 上传文件路径 |
| | | String filePath = RuoYiConfig.getUploadPath(); |
| | |
| | | Integer APPLYTYPE = spFinancialExpensesIn.getAPPLYTYPE(); |
| | | Integer pageNum = spFinancialExpensesIn.getPageNum(); |
| | | Integer pageSize = spFinancialExpensesIn.getPageSize(); |
| | | Integer checkstatus = spFinancialExpensesIn.getCheckstatus(); |
| | | |
| | | if (pageNum == null) { |
| | | pageNum = 1; |
| | |
| | | } |
| | | |
| | | //startPage(); |
| | | List<SpFinancialExpensesFundOut> list = serviceFundService.getListBypower(loginUser.getUsername(), 2, APPLICANT, APPLICATIONBEGTIME, APPLICATIONENDTIME, loginUser.getDeptId().toString(), CHECKFLAG, APPLYTYPE); |
| | | List<SpFinancialExpensesFundOut> list = serviceFundService.getListBypower(loginUser.getUsername(), 2, APPLICANT, APPLICATIONBEGTIME, APPLICATIONENDTIME, loginUser.getDeptId().toString(), CHECKFLAG, APPLYTYPE,checkstatus); |
| | | //通过捐献者过滤 |
| | | if (StringUtils.isNotEmpty(spFinancialExpensesIn.getDonorname())) { |
| | | list = list.stream().filter(obj -> obj.getDonorname().contains(spFinancialExpensesIn.getDonorname())).collect(Collectors.toList()); |
| | |
| | | package com.ruoyi.web.controller.project; |
| | | |
| | | import java.io.*; |
| | | import java.util.*; |
| | | |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.project.domain.FunddetailReqVo; |
| | | import com.ruoyi.project.domain.vo.TaxMoneyVO; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.annotation.RepeatSubmit; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.project.domain.ServiceFunddetail; |
| | | import com.ruoyi.project.service.IServiceFunddetailService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.project.domain.FunddetailReqVo; |
| | | import com.ruoyi.project.domain.ServiceFunddetail; |
| | | import com.ruoyi.project.domain.vo.TaxMoneyVO; |
| | | import com.ruoyi.project.service.IServiceFunddetailService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 费用申请明细Controller |
| | |
| | | String APPLICATIONENDTIME = spFinancialExpensesIn.getAPPLICATIONENDTIME(); |
| | | Integer CHECKFLAG = spFinancialExpensesIn.getCHECKFLAG(); |
| | | Integer APPLYTYPE = spFinancialExpensesIn.getAPPLYTYPE(); |
| | | Integer checkstatus = spFinancialExpensesIn.getCheckstatus(); |
| | | Integer pageNum = spFinancialExpensesIn.getPageNum(); |
| | | Integer pageSize = spFinancialExpensesIn.getPageSize(); |
| | | |
| | |
| | | APPLICATIONENDTIME = ""; |
| | | } |
| | | //startPage(); |
| | | List<SpFinancialExpensesReimbursementOut> list = serviceReimbursementService.getListBypower(loginUser.getUsername(), 1, APPLICANT, APPLICATIONBEGTIME, APPLICATIONENDTIME, loginUser.getDeptId().toString(), CHECKFLAG, APPLYTYPE); |
| | | List<SpFinancialExpensesReimbursementOut> list = serviceReimbursementService.getListBypower(loginUser.getUsername(), 1, APPLICANT, APPLICATIONBEGTIME, APPLICATIONENDTIME, loginUser.getDeptId().toString(), CHECKFLAG, APPLYTYPE,checkstatus); |
| | | //根据经办人筛选 |
| | | if (StringUtils.isNotBlank(spFinancialExpensesIn.getUsername())) { |
| | | list = list.stream().filter(reimbursementOut -> reimbursementOut.getUsername().contains(spFinancialExpensesIn.getUsername())).collect(Collectors.toList()); // 按name字段过滤 |
| | |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody ServiceReimbursementdetailVO serviceReimbursementdetailVO) { |
| | | ServiceReimbursementdetail serviceReimbursementdetail = DtoConversionUtils.sourceToTarget(serviceReimbursementdetailVO, ServiceReimbursementdetail.class); |
| | | //将前端传来的附件集合转成字符串 |
| | | if (!CollectionUtils.isEmpty(serviceReimbursementdetailVO.getAnnexfilesList())) { |
| | | serviceReimbursementdetail.setAnnexfiles(JSON.toJSONString(serviceReimbursementdetailVO.getAnnexfilesList())); |
| | | } |
| | | if (!CollectionUtils.isEmpty(serviceReimbursementdetailVO.getInvoicefilesList())) { |
| | | serviceReimbursementdetail.setInvoicefiles(JSON.toJSONString(serviceReimbursementdetailVO.getInvoicefilesList())); |
| | | } |
| | | return toAjax(serviceReimbursementdetailService.save(serviceReimbursementdetail)); |
| | | } |
| | | |
| | |
| | | /** |
| | | * 预审状态:1、待预审;2、预算通过,等待纸质报销材料;3、收到纸质报销材料 |
| | | */ |
| | | @ApiModelProperty("预审状态:1、待预审;2、预算通过,等待纸质报销材料;3、收到纸质报销材料") |
| | | @Excel(name = "预审状态:1、待预审;2、预算通过,等待纸质报销材料;3、收到纸质报销材料") |
| | | @ApiModelProperty("预审状态:1、待审查;2、审核通过等待材料;3、已收到材料") |
| | | @Excel(name = "预审状态:1、待审查;2、审核通过等待材料;3、已收到材料") |
| | | private Integer checkstatus; |
| | | |
| | | /** |
| | |
| | | @ApiModelProperty("附件文件地址") |
| | | private String annexfiles; |
| | | |
| | | /** |
| | | * 附件文件地址 |
| | | */ |
| | | @ApiModelProperty("发票文件地址") |
| | | private String invoiceFiles; |
| | | |
| | | |
| | | /** |
| | | * 计算税费时间 |
| | |
| | | private String annexfiles; |
| | | |
| | | /** |
| | | * 附件文件地址 |
| | | */ |
| | | @ApiModelProperty("发票文件地址") |
| | | private String invoiceFiles; |
| | | |
| | | /** |
| | | * 工作单位 |
| | | */ |
| | | @ApiModelProperty("工作单位") |
| | |
| | | private String annexfiles; |
| | | |
| | | /** |
| | | * 发票文件地址集合(用于接收前端传来的地址) |
| | | */ |
| | | @ApiModelProperty("发票文件地址集合") |
| | | private List invoiceFilesList; |
| | | |
| | | /** |
| | | * 附件文件地址 |
| | | */ |
| | | @ApiModelProperty("发票文件地址") |
| | | private String invoiceFiles; |
| | | |
| | | /** |
| | | * 计算税费时间 |
| | | */ |
| | | @ApiModelProperty("计算税费时间") |
| | |
| | | private String annexfiles; |
| | | |
| | | /** |
| | | * 发票附件表 |
| | | */ |
| | | @ApiModelProperty("发票附件表") |
| | | @Excel(name = "发票附件表") |
| | | private String invoicefiles; |
| | | |
| | | |
| | | /** |
| | | * 上传标识 |
| | | */ |
| | | @ApiModelProperty("上传标识") |
| | |
| | | @Excel(name = "附件表") |
| | | private String annexfiles; |
| | | |
| | | /** 附件表 */ |
| | | @ApiModelProperty("发票附件表") |
| | | @Excel(name = "发票附件表") |
| | | private String invoicefiles; |
| | | |
| | | /** 上传标识 */ |
| | | @ApiModelProperty("上传标识") |
| | | @Excel(name = "上传标识") |
| | |
| | | private List annexfilesList; |
| | | |
| | | /** |
| | | * 发票集合表 |
| | | */ |
| | | private List invoicefilesList; |
| | | |
| | | /** |
| | | * 发票附件表 |
| | | */ |
| | | @ApiModelProperty("发票附件表") |
| | | @Excel(name = "发票附件表") |
| | | private String invoicefiles; |
| | | |
| | | /** |
| | | * 上传标识 |
| | | */ |
| | | @ApiModelProperty("上传标识") |
| | |
| | | @ApiModelProperty("金额") |
| | | private Double money; |
| | | |
| | | /** |
| | | * 金额 |
| | | */ |
| | | @ApiModelProperty("金额") |
| | | private Integer checkstatus; |
| | | } |
| | |
| | | |
| | | List<FundVO> selectVOList(FundVO fundVO); |
| | | |
| | | List<SpFinancialExpensesFundOut> getListBypower(@Param("PAUSERNO") String PAUSERNO, @Param("PAFUNDTYPE") Integer PAFUNDTYPE, @Param("PAAPPLICANT") String PAAPPLICANT, @Param("PAAPPLICATIONBEGTIME") String PAAPPLICATIONBEGTIME, @Param("PAAPPLICATIONENDTIME") String PAAPPLICATIONENDTIME, @Param("PADEPARTMENT") String PADEPARTMENT, @Param("CHECKFLAG") Integer CHECKFLAG, @Param("APPLYTYPE") Integer APPLYTYPE); |
| | | List<SpFinancialExpensesFundOut> getListBypower(@Param("PAUSERNO") String PAUSERNO, @Param("PAFUNDTYPE") Integer PAFUNDTYPE, @Param("PAAPPLICANT") String PAAPPLICANT, @Param("PAAPPLICATIONBEGTIME") String PAAPPLICATIONBEGTIME, @Param("PAAPPLICATIONENDTIME") String PAAPPLICATIONENDTIME, @Param("PADEPARTMENT") String PADEPARTMENT, @Param("CHECKFLAG") Integer CHECKFLAG, @Param("APPLYTYPE") Integer APPLYTYPE, @Param("CHECKSTATUS") Integer CHECKSTATUS); |
| | | |
| | | |
| | | } |
| | |
| | | |
| | | List<ServiceReimbursement> selectSearchList(ServiceReimbursementDto serviceReimbursementdto); |
| | | |
| | | List<SpFinancialExpensesReimbursementOut> getListBypower(@Param("PAUSERNO") String PAUSERNO, @Param("PAFUNDTYPE") Integer PAFUNDTYPE, @Param("PAAPPLICANT") String PAAPPLICANT, @Param("PAAPPLICATIONBEGTIME") String PAAPPLICATIONBEGTIME, @Param("PAAPPLICATIONENDTIME") String PAAPPLICATIONENDTIME, @Param("PADEPARTMENT") String PADEPARTMENT, @Param("CHECKFLAG") Integer CHECKFLAG, @Param("APPLYTYPE") Integer APPLYTYPE); |
| | | List<SpFinancialExpensesReimbursementOut> getListBypower(@Param("PAUSERNO") String PAUSERNO, @Param("PAFUNDTYPE") Integer PAFUNDTYPE, @Param("PAAPPLICANT") String PAAPPLICANT, @Param("PAAPPLICATIONBEGTIME") String PAAPPLICATIONBEGTIME, @Param("PAAPPLICATIONENDTIME") String PAAPPLICATIONENDTIME, @Param("PADEPARTMENT") String PADEPARTMENT, @Param("CHECKFLAG") Integer CHECKFLAG, @Param("APPLYTYPE") Integer APPLYTYPE, @Param("CHECKSTATUS") Integer CHECKSTATUS); |
| | | |
| | | List<ServiceReimbursement> getInfoByInfoId(Long infoid); |
| | | |
| | |
| | | |
| | | String returnId(Long id); |
| | | |
| | | List<SpFinancialExpensesFundOut> getListBypower(String PAUSERNO, Integer PAFUNDTYPE, String PAAPPLICANT, String PAAPPLICATIONBEGTIME, String PAAPPLICATIONENDTIME, String PADEPARTMENT, Integer CHECKFLAG, Integer APPLYTYPE); |
| | | List<SpFinancialExpensesFundOut> getListBypower(String PAUSERNO, Integer PAFUNDTYPE, String PAAPPLICANT, String PAAPPLICATIONBEGTIME, String PAAPPLICATIONENDTIME, String PADEPARTMENT, Integer CHECKFLAG, Integer APPLYTYPE,Integer CHECKSTATUS); |
| | | |
| | | int countItem(Long infoid, Long itemid); |
| | | |
| | |
| | | |
| | | List<ServiceReimbursement> selectSearchList(ServiceReimbursementDto serviceReimbursementdto); |
| | | |
| | | List<SpFinancialExpensesReimbursementOut> getListBypower(String PAUSERNO, Integer PAFUNDTYPE, String PAAPPLICANT, String PAAPPLICATIONBEGTIME, String PAAPPLICATIONENDTIME, String PADEPARTMENT, Integer CHECKFLAG, Integer APPLYTYPE); |
| | | List<SpFinancialExpensesReimbursementOut> getListBypower(String PAUSERNO, Integer PAFUNDTYPE, String PAAPPLICANT, String PAAPPLICATIONBEGTIME, String PAAPPLICATIONENDTIME, String PADEPARTMENT, Integer CHECKFLAG, Integer APPLYTYPE,Integer CHECKSTATUS); |
| | | |
| | | List<ServiceReimbursement> getInfoByInfoId(Long infoid); |
| | | |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<SpFinancialExpensesFundOut> getListBypower(String PAUSERNO, Integer PAFUNDTYPE, String PAAPPLICANT, String PAAPPLICATIONBEGTIME, String PAAPPLICATIONENDTIME, String PADEPARTMENT, Integer CHECKFLAG, Integer APPLYTYPE) { |
| | | return serviceFundMapper.getListBypower(PAUSERNO, PAFUNDTYPE, PAAPPLICANT, PAAPPLICATIONBEGTIME, PAAPPLICATIONENDTIME, PADEPARTMENT, CHECKFLAG, APPLYTYPE); |
| | | public List<SpFinancialExpensesFundOut> getListBypower(String PAUSERNO, Integer PAFUNDTYPE, String PAAPPLICANT, String PAAPPLICATIONBEGTIME, String PAAPPLICATIONENDTIME, String PADEPARTMENT, Integer CHECKFLAG, Integer APPLYTYPE,Integer CHECKSTATUS) { |
| | | return serviceFundMapper.getListBypower(PAUSERNO, PAFUNDTYPE, PAAPPLICANT, PAAPPLICATIONBEGTIME, PAAPPLICATIONENDTIME, PADEPARTMENT, CHECKFLAG, APPLYTYPE,CHECKSTATUS); |
| | | } |
| | | |
| | | @Override |
| | |
| | | if (!CollectionUtils.isEmpty(serviceFunddetailVO.getAnnexfilesList())) { |
| | | serviceFunddetailVO.setAnnexfiles(JSON.toJSONString(serviceFunddetailVO.getAnnexfilesList())); |
| | | } |
| | | if (!CollectionUtils.isEmpty(serviceFunddetailVO.getInvoiceFilesList())) { |
| | | serviceFunddetailVO.setInvoiceFiles(JSON.toJSONString(serviceFunddetailVO.getInvoiceFilesList())); |
| | | } |
| | | ServiceFunddetail serviceFunddetail = DtoConversionUtils.sourceToTarget(serviceFunddetailVO, ServiceFunddetail.class); |
| | | |
| | | if (serviceFunddetailVO.getId() == null) { |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<SpFinancialExpensesReimbursementOut> getListBypower(String PAUSERNO, Integer PAFUNDTYPE, String PAAPPLICANT, String PAAPPLICATIONBEGTIME, String PAAPPLICATIONENDTIME, String PADEPARTMENT, Integer CHECKFLAG, Integer APPLYTYPE) { |
| | | return serviceReimbursementMapper.getListBypower(PAUSERNO, PAFUNDTYPE, PAAPPLICANT, PAAPPLICATIONBEGTIME, PAAPPLICATIONENDTIME, PADEPARTMENT, CHECKFLAG, APPLYTYPE); |
| | | public List<SpFinancialExpensesReimbursementOut> getListBypower(String PAUSERNO, Integer PAFUNDTYPE, String PAAPPLICANT, String PAAPPLICATIONBEGTIME, String PAAPPLICATIONENDTIME, String PADEPARTMENT, Integer CHECKFLAG, Integer APPLYTYPE,Integer CHECKSTATUS) { |
| | | return serviceReimbursementMapper.getListBypower(PAUSERNO, PAFUNDTYPE, PAAPPLICANT, PAAPPLICATIONBEGTIME, PAAPPLICATIONENDTIME, PADEPARTMENT, CHECKFLAG, APPLYTYPE,CHECKSTATUS); |
| | | } |
| | | |
| | | @Override |
| | |
| | | |
| | | <select id="getListBypower" statementType="CALLABLE" |
| | | resultType="com.ruoyi.project.domain.vo.SpFinancialExpensesFundOut"> |
| | | call SP_FINANCIAL_EXPENSES(#{PAUSERNO,mode=IN,jdbcType=VARCHAR},#{PAFUNDTYPE,mode=IN,jdbcType=INTEGER},#{PAAPPLICANT,mode=IN,jdbcType=VARCHAR},#{PAAPPLICATIONBEGTIME,mode=IN,jdbcType=VARCHAR},#{PAAPPLICATIONENDTIME,mode=IN,jdbcType=VARCHAR},#{PADEPARTMENT,mode=IN,jdbcType=VARCHAR},#{CHECKFLAG,mode=IN,jdbcType=INTEGER},#{APPLYTYPE,mode=IN,jdbcType=INTEGER}) |
| | | call SP_FINANCIAL_EXPENSES(#{PAUSERNO,mode=IN,jdbcType=VARCHAR},#{PAFUNDTYPE,mode=IN,jdbcType=INTEGER},#{PAAPPLICANT,mode=IN,jdbcType=VARCHAR},#{PAAPPLICATIONBEGTIME,mode=IN,jdbcType=VARCHAR},#{PAAPPLICATIONENDTIME,mode=IN,jdbcType=VARCHAR},#{PADEPARTMENT,mode=IN,jdbcType=VARCHAR},#{CHECKFLAG,mode=IN,jdbcType=INTEGER},#{APPLYTYPE,mode=IN,jdbcType=INTEGER},#{CHECKSTATUS,mode=IN,jdbcType=INTEGER}) |
| | | </select> |
| | | |
| | | |
| | |
| | | <result property="subjecttype" column="subjecttype"/> |
| | | <result property="subjecttypename" column="subjecttypename"/> |
| | | <result property="annexfiles" column="AnnexFiles"/> |
| | | <result property="invoiceFiles" column="InvoiceFiles"/> |
| | | |
| | | <result property="taxTime" column="tax_time"/> |
| | | <result property="jxrq" column="jxrq"/> |
| | | <result property="itemdescribe" column="ItemDescribe"/> |
| | |
| | | subjecttype, |
| | | subjecttypename, |
| | | AnnexFiles, |
| | | InvoiceFiles, |
| | | tax_time, |
| | | jxrq, |
| | | ItemDescribe |
| | |
| | | <result property="branchbankname" column="BranchBankName"/> |
| | | <result property="annexbankcard" column="AnnexBankCard"/> |
| | | <result property="annexregistform" column="AnnexRegistForm"/> |
| | | <result property="annexfiles" column="AnnexFiles"/> |
| | | <result property="invoiceFiles" column="InvoiceFiles"/> |
| | | <result property="quantity" column="Quantity"/> |
| | | <result property="price" column="Price"/> |
| | | <result property="amount" column="Amount"/> |
| | |
| | | |
| | | <select id="getListBypower" statementType="CALLABLE" |
| | | resultType="com.ruoyi.project.domain.vo.SpFinancialExpensesReimbursementOut"> |
| | | call SP_FINANCIAL_EXPENSES(#{PAUSERNO,mode=IN,jdbcType=VARCHAR},#{PAFUNDTYPE,mode=IN,jdbcType=INTEGER},#{PAAPPLICANT,mode=IN,jdbcType=VARCHAR},#{PAAPPLICATIONBEGTIME,mode=IN,jdbcType=VARCHAR},#{PAAPPLICATIONENDTIME,mode=IN,jdbcType=VARCHAR},#{PADEPARTMENT,mode=IN,jdbcType=VARCHAR},#{CHECKFLAG,mode=IN,jdbcType=INTEGER},#{APPLYTYPE,mode=IN,jdbcType=INTEGER}) |
| | | call SP_FINANCIAL_EXPENSES(#{PAUSERNO,mode=IN,jdbcType=VARCHAR},#{PAFUNDTYPE,mode=IN,jdbcType=INTEGER},#{PAAPPLICANT,mode=IN,jdbcType=VARCHAR},#{PAAPPLICATIONBEGTIME,mode=IN,jdbcType=VARCHAR},#{PAAPPLICATIONENDTIME,mode=IN,jdbcType=VARCHAR},#{PADEPARTMENT,mode=IN,jdbcType=VARCHAR},#{CHECKFLAG,mode=IN,jdbcType=INTEGER},#{APPLYTYPE,mode=IN,jdbcType=INTEGER},#{CHECKSTATUS,mode=IN,jdbcType=INTEGER}) |
| | | </select> |
| | | <select id="getInfoByInfoId" resultType="com.ruoyi.project.domain.ServiceReimbursement"> |
| | | <include refid="selectServiceReimbursementVo"/> |
| | |
| | | <result property="foodexpenses" column="FoodExpenses" /> |
| | | <result property="foodallowance" column="FoodAllowance" /> |
| | | <result property="annexfiles" column="AnnexFiles" /> |
| | | <result property="invoicefiles" column="InvoiceFiles" /> |
| | | <result property="remark" column="remark" /> |
| | | <result property="del_flag" column="del_flag" /> |
| | | <result property="createBy" column="create_by" /> |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.ruoyi.project.mapper.ServiceReimbursementdetailSharedMapper"> |
| | | |
| | | <resultMap type="com.ruoyi.project.domain.ServiceReimbursementdetailShared" id="ServiceReimbursementdetailSharedResult"> |
| | | <result property="id" column="ID" /> |
| | | <result property="rbid" column="RBID" /> |
| | | <result property="persontype" column="persontype" /> |
| | | <result property="personname" column="personname" /> |
| | | <result property="orderno" column="OrderNo" /> |
| | | <result property="starttime" column="StartTime" /> |
| | | <result property="departure" column="Departure" /> |
| | | <result property="endtime" column="EndTime" /> |
| | | <result property="destination" column="Destination" /> |
| | | <result property="days" column="Days" /> |
| | | <result property="trafficexpense" column="TrafficExpense" /> |
| | | <result property="traffictype" column="TrafficType" /> |
| | | <result property="cityfee" column="CityFee" /> |
| | | <result property="hotelexpense" column="HotelExpense" /> |
| | | <result property="invoicecount" column="InvoiceCount" /> |
| | | <result property="attachcount" column="AttachCount" /> |
| | | <result property="otherexpense" column="OtherExpense" /> |
| | | <result property="foodexpenses" column="FoodExpenses" /> |
| | | <result property="foodallowance" column="FoodAllowance" /> |
| | | <result property="annexfiles" column="AnnexFiles" /> |
| | | <result property="remark" column="Remark" /> |
| | | <result property="del_flag" column="del_flag" /> |
| | | <result property="createBy" column="create_by" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="uploadFlag" column="upload_flag" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | <result property="travelprovince" column="travelprovince" /> |
| | | <result property="travelprovincename" column="travelprovincename" /> |
| | | <result property="travelcity" column="travelcity" /> |
| | | <result property="travelcityname" column="travelcityname" /> |
| | | <result property="traveltown" column="traveltown" /> |
| | | <result property="traveltownname" column="traveltownname" /> |
| | | <result property="otherfeeamount" column="otherfeeamount" /> |
| | | <result property="otherfeedesc" column="otherfeedesc" /> |
| | | |
| | | <resultMap type="com.ruoyi.project.domain.ServiceReimbursementdetailShared" |
| | | id="ServiceReimbursementdetailSharedResult"> |
| | | <result property="id" column="ID"/> |
| | | <result property="rbid" column="RBID"/> |
| | | <result property="persontype" column="persontype"/> |
| | | <result property="personname" column="personname"/> |
| | | <result property="orderno" column="OrderNo"/> |
| | | <result property="starttime" column="StartTime"/> |
| | | <result property="departure" column="Departure"/> |
| | | <result property="endtime" column="EndTime"/> |
| | | <result property="destination" column="Destination"/> |
| | | <result property="days" column="Days"/> |
| | | <result property="trafficexpense" column="TrafficExpense"/> |
| | | <result property="traffictype" column="TrafficType"/> |
| | | <result property="cityfee" column="CityFee"/> |
| | | <result property="hotelexpense" column="HotelExpense"/> |
| | | <result property="invoicecount" column="InvoiceCount"/> |
| | | <result property="attachcount" column="AttachCount"/> |
| | | <result property="otherexpense" column="OtherExpense"/> |
| | | <result property="foodexpenses" column="FoodExpenses"/> |
| | | <result property="foodallowance" column="FoodAllowance"/> |
| | | <result property="annexfiles" column="AnnexFiles"/> |
| | | <result property="invoicefiles" column="InvoiceFiles"/> |
| | | <result property="remark" column="Remark"/> |
| | | <result property="del_flag" column="del_flag"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="uploadFlag" column="upload_flag"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="travelprovince" column="travelprovince"/> |
| | | <result property="travelprovincename" column="travelprovincename"/> |
| | | <result property="travelcity" column="travelcity"/> |
| | | <result property="travelcityname" column="travelcityname"/> |
| | | <result property="traveltown" column="traveltown"/> |
| | | <result property="traveltownname" column="traveltownname"/> |
| | | <result property="otherfeeamount" column="otherfeeamount"/> |
| | | <result property="otherfeedesc" column="otherfeedesc"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceReimbursementdetailSharedVo"> |
| | | select ID, RBID, persontype, personname, OrderNo, StartTime, Departure, EndTime, Destination, Days, TrafficExpense, TrafficType, CityFee, HotelExpense, InvoiceCount, AttachCount, OtherExpense, FoodExpenses, FoodAllowance, AnnexFiles, Remark, del_flag, create_by, create_time, update_by, update_time, upload_flag, upload_time, travelprovince, travelprovincename, travelcity, travelcityname, traveltown, traveltownname, otherfeeamount, otherfeedesc from service_reimbursementdetail_shared |
| | | select ID, |
| | | RBID, |
| | | persontype, |
| | | personname, |
| | | OrderNo, |
| | | StartTime, |
| | | Departure, |
| | | EndTime, |
| | | Destination, |
| | | Days, |
| | | TrafficExpense, |
| | | TrafficType, |
| | | CityFee, |
| | | HotelExpense, |
| | | InvoiceCount, |
| | | AttachCount, |
| | | OtherExpense, |
| | | FoodExpenses, |
| | | FoodAllowance, |
| | | AnnexFiles, |
| | | invoicefiles, |
| | | Remark, |
| | | del_flag, |
| | | create_by, |
| | | create_time, |
| | | update_by, |
| | | update_time, |
| | | upload_flag, |
| | | upload_time, |
| | | travelprovince, |
| | | travelprovincename, |
| | | travelcity, |
| | | travelcityname, |
| | | traveltown, |
| | | traveltownname, |
| | | otherfeeamount, |
| | | otherfeedesc |
| | | from service_reimbursementdetail_shared |
| | | </sql> |
| | | |
| | | <select id="selectServiceReimbursementdetailSharedList" parameterType="com.ruoyi.project.domain.ServiceReimbursementdetailShared" resultMap="ServiceReimbursementdetailSharedResult"> |
| | | <select id="selectServiceReimbursementdetailSharedList" |
| | | parameterType="com.ruoyi.project.domain.ServiceReimbursementdetailShared" |
| | | resultMap="ServiceReimbursementdetailSharedResult"> |
| | | <include refid="selectServiceReimbursementdetailSharedVo"/> |
| | | <where> |
| | | <if test="rbid != null "> and RBID = #{rbid}</if> |
| | | <if test="persontype != null and persontype != ''"> and persontype = #{persontype}</if> |
| | | <if test="personname != null and personname != ''"> and personname like concat('%', #{personname}, '%')</if> |
| | | <if test="orderno != null "> and OrderNo = #{orderno}</if> |
| | | <if test="starttime != null "> and StartTime = #{starttime}</if> |
| | | <if test="departure != null and departure != ''"> and Departure = #{departure}</if> |
| | | <if test="endtime != null "> and EndTime = #{endtime}</if> |
| | | <if test="destination != null and destination != ''"> and Destination = #{destination}</if> |
| | | <if test="days != null "> and Days = #{days}</if> |
| | | <if test="trafficexpense != null "> and TrafficExpense = #{trafficexpense}</if> |
| | | <if test="traffictype != null and traffictype != ''"> and TrafficType = #{traffictype}</if> |
| | | <if test="cityfee != null "> and CityFee = #{cityfee}</if> |
| | | <if test="hotelexpense != null "> and HotelExpense = #{hotelexpense}</if> |
| | | <if test="invoicecount != null "> and InvoiceCount = #{invoicecount}</if> |
| | | <if test="attachcount != null "> and AttachCount = #{attachcount}</if> |
| | | <if test="otherexpense != null "> and OtherExpense = #{otherexpense}</if> |
| | | <if test="foodexpenses != null "> and FoodExpenses = #{foodexpenses}</if> |
| | | <if test="foodallowance != null "> and FoodAllowance = #{foodallowance}</if> |
| | | <if test="annexfiles != null and annexfiles != ''"> and AnnexFiles = #{annexfiles}</if> |
| | | <if test="remark != null and remark != ''"> and Remark = #{remark}</if> |
| | | <if test="uploadFlag != null and uploadFlag != ''"> and upload_flag = #{uploadFlag}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | <if test="travelprovince != null and travelprovince != ''"> and travelprovince = #{travelprovince}</if> |
| | | <if test="travelprovincename != null and travelprovincename != ''"> and travelprovincename like concat('%', #{travelprovincename}, '%')</if> |
| | | <if test="travelcity != null and travelcity != ''"> and travelcity = #{travelcity}</if> |
| | | <if test="travelcityname != null and travelcityname != ''"> and travelcityname like concat('%', #{travelcityname}, '%')</if> |
| | | <if test="traveltown != null and traveltown != ''"> and traveltown = #{traveltown}</if> |
| | | <if test="traveltownname != null and traveltownname != ''"> and traveltownname like concat('%', #{traveltownname}, '%')</if> |
| | | <if test="otherfeeamount != null "> and otherfeeamount = #{otherfeeamount}</if> |
| | | <if test="otherfeedesc != null and otherfeedesc != ''"> and otherfeedesc = #{otherfeedesc}</if> |
| | | <if test="jine != null and jine != ''"> and jine = #{jine}</if> |
| | | <if test="liyou != null and liyou != ''"> and liyou = #{liyou}</if> |
| | | <if test="rbid != null ">and RBID = #{rbid}</if> |
| | | <if test="persontype != null and persontype != ''">and persontype = #{persontype}</if> |
| | | <if test="personname != null and personname != ''">and personname like concat('%', #{personname}, '%')</if> |
| | | <if test="orderno != null ">and OrderNo = #{orderno}</if> |
| | | <if test="starttime != null ">and StartTime = #{starttime}</if> |
| | | <if test="departure != null and departure != ''">and Departure = #{departure}</if> |
| | | <if test="endtime != null ">and EndTime = #{endtime}</if> |
| | | <if test="destination != null and destination != ''">and Destination = #{destination}</if> |
| | | <if test="days != null ">and Days = #{days}</if> |
| | | <if test="trafficexpense != null ">and TrafficExpense = #{trafficexpense}</if> |
| | | <if test="traffictype != null and traffictype != ''">and TrafficType = #{traffictype}</if> |
| | | <if test="cityfee != null ">and CityFee = #{cityfee}</if> |
| | | <if test="hotelexpense != null ">and HotelExpense = #{hotelexpense}</if> |
| | | <if test="invoicecount != null ">and InvoiceCount = #{invoicecount}</if> |
| | | <if test="attachcount != null ">and AttachCount = #{attachcount}</if> |
| | | <if test="otherexpense != null ">and OtherExpense = #{otherexpense}</if> |
| | | <if test="foodexpenses != null ">and FoodExpenses = #{foodexpenses}</if> |
| | | <if test="foodallowance != null ">and FoodAllowance = #{foodallowance}</if> |
| | | <if test="annexfiles != null and annexfiles != ''">and AnnexFiles = #{annexfiles}</if> |
| | | <if test="remark != null and remark != ''">and Remark = #{remark}</if> |
| | | <if test="uploadFlag != null and uploadFlag != ''">and upload_flag = #{uploadFlag}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="travelprovince != null and travelprovince != ''">and travelprovince = #{travelprovince}</if> |
| | | <if test="travelprovincename != null and travelprovincename != ''">and travelprovincename like concat('%', |
| | | #{travelprovincename}, '%') |
| | | </if> |
| | | <if test="travelcity != null and travelcity != ''">and travelcity = #{travelcity}</if> |
| | | <if test="travelcityname != null and travelcityname != ''">and travelcityname like concat('%', |
| | | #{travelcityname}, '%') |
| | | </if> |
| | | <if test="traveltown != null and traveltown != ''">and traveltown = #{traveltown}</if> |
| | | <if test="traveltownname != null and traveltownname != ''">and traveltownname like concat('%', |
| | | #{traveltownname}, '%') |
| | | </if> |
| | | <if test="otherfeeamount != null ">and otherfeeamount = #{otherfeeamount}</if> |
| | | <if test="otherfeedesc != null and otherfeedesc != ''">and otherfeedesc = #{otherfeedesc}</if> |
| | | <if test="jine != null and jine != ''">and jine = #{jine}</if> |
| | | <if test="liyou != null and liyou != ''">and liyou = #{liyou}</if> |
| | | </where> |
| | | </select> |
| | | |