| | |
| | | remShare.setDonorbank(serviceReimbursement.getDonorbank()); |
| | | remShare.setDonorbankcard(serviceReimbursement.getDonorbankcard()); |
| | | remShare.setDonorremark(serviceReimbursement.getDonorremark()); |
| | | remShare.setDonorpayee(serviceReimbursement.getDonorpayee()); |
| | | |
| | | //nTemp = serviceReimbursement.getDonoramount(); |
| | | //if(nTemp == null) nTemp = 0.0; |
| | | remShare.setDonoramount(serviceReimbursement.getDonoramount()); |
| | | nTemp = serviceReimbursement.getDonoramount(); |
| | | if(nTemp == null) nTemp = 0.0; |
| | | remShare.setDonoramount(nTemp); |
| | | remShare.setDonorrelatives(serviceReimbursement.getDonorrelatives()); |
| | | //remShare.setOaid(serviceReimbursement.getOaid()); |
| | | //remShare.setDonorno(serviceReimbursement.getDonorno()); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.controller; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | 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.ServiceReimbursementdetailShared; |
| | | import com.ruoyi.project.service.IServiceReimbursementdetailSharedService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * æ¥éç³è¯·æç»Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-04-20 |
| | | */ |
| | | @Api("æ¥éç³è¯·æç»") |
| | | @RestController |
| | | @RequestMapping("/project/reimbursementdetailshared") |
| | | public class ServiceReimbursementdetailSharedController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IServiceReimbursementdetailSharedService serviceReimbursementdetailSharedService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¥éç³è¯·æç»å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ¥éç³è¯·æç»å表") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(ServiceReimbursementdetailShared serviceReimbursementdetailShared) |
| | | { |
| | | startPage(); |
| | | List<ServiceReimbursementdetailShared> list = serviceReimbursementdetailSharedService.queryList(serviceReimbursementdetailShared); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºæ¥éç³è¯·æç»å表 |
| | | */ |
| | | @ApiOperation("å¯¼åºæ¥éç³è¯·æç»å表") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:export')") |
| | | @Log(title = "æ¥éç³è¯·æç»", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceReimbursementdetailShared serviceReimbursementdetailShared) |
| | | { |
| | | List<ServiceReimbursementdetailShared> list = serviceReimbursementdetailSharedService.queryList(serviceReimbursementdetailShared); |
| | | ExcelUtil<ServiceReimbursementdetailShared> util = new ExcelUtil<ServiceReimbursementdetailShared>(ServiceReimbursementdetailShared.class); |
| | | return util.exportExcel(list, "æ¥éç³è¯·æç»æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åæ¥éç³è¯·æç»è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åæ¥éç³è¯·æç»è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | return AjaxResult.success(serviceReimbursementdetailSharedService.getById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ¥éç³è¯·æç» |
| | | */ |
| | | @ApiOperation("æ°å¢æ¥éç³è¯·æç»") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:add')") |
| | | @Log(title = "æ¥éç³è¯·æç»", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody ServiceReimbursementdetailShared serviceReimbursementdetailShared) |
| | | { |
| | | return toAjax(serviceReimbursementdetailSharedService.save(serviceReimbursementdetailShared)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ¥éç³è¯·æç» |
| | | */ |
| | | @ApiOperation("ä¿®æ¹æ¥éç³è¯·æç»") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:edit')") |
| | | @Log(title = "æ¥éç³è¯·æç»", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody ServiceReimbursementdetailShared serviceReimbursementdetailShared) |
| | | { |
| | | return toAjax(serviceReimbursementdetailSharedService.updateById(serviceReimbursementdetailShared)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿¥éç³è¯·æç» |
| | | */ |
| | | @ApiOperation("å 餿¥éç³è¯·æç»") |
| | | @PreAuthorize("@ss.hasPermi('project:reimbursementdetailshared:remove')") |
| | | @Log(title = "æ¥éç³è¯·æç»", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(serviceReimbursementdetailSharedService.removeByIds(Arrays.asList(ids))); |
| | | } |
| | | } |
| | |
| | | demoEnabled: true |
| | | # æä»¶è·¯å¾ 示ä¾ï¼ Windowsé
ç½®D:/ruoyi/uploadPathï¼Linuxé
ç½® /home/ruoyi/uploadPathï¼ |
| | | #å¼åç¯å¢ |
| | | #profile: D:/YYJQ/OPO/WEB/Upload |
| | | profile: D:/YYJQ/OPO/WEB/Upload |
| | | #å»é¢ç¯å¢ |
| | | profile: E:/YYJQ/OPO/WEB/Upload |
| | | #profile: E:/YYJQ/OPO/WEB/Upload |
| | | # è·åipå°åå¼å
³ |
| | | addressEnabled: false |
| | | # éªè¯ç ç±»å math æ°ç»è®¡ç® char å符éªè¯ |
| | |
| | | # redis é
ç½® |
| | | redis: |
| | | # å°åãå¯ç ã端å£ï¼é»è®¤ä¸º6379ï¼ï¼å»é¢ç¯å¢ |
| | | host: 129.88.242.37 |
| | | password: jqserver |
| | | port: 6379 |
| | | #host: 129.88.242.37 |
| | | #password: jqserver |
| | | #port: 6379 |
| | | |
| | | # å°åãå¯ç ã端å£ï¼é»è®¤ä¸º6379ï¼ï¼å¼åç¯å¢ |
| | | #host: 116.62.18.175 |
| | | #password: Smartor |
| | | #port: 6020 |
| | | host: 116.62.18.175 |
| | | password: Smartor |
| | | port: 6020 |
| | | |
| | | # æ°æ®åºç´¢å¼ |
| | | database: 0 |
| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | |
| | | private String donorremark; |
| | | |
| | | @ApiModelProperty("æç®å®¶å±è´¹ç¨éé¢") |
| | | private BigDecimal donoramount; |
| | | private Double donoramount; |
| | | |
| | | @ApiModelProperty("æç®å®¶å±äººæ°") |
| | | private Integer donorrelatives; |
| | | @ApiModelProperty("æç®å®¶å±æ¶æ¬¾äºº") |
| | | private String donorpayee; |
| | | |
| | | } |
| | | |
| | |
| | | private String donorremark; |
| | | |
| | | @ApiModelProperty("æç®å®¶å±è´¹ç¨éé¢") |
| | | private BigDecimal donoramount; |
| | | private Double donoramount; |
| | | |
| | | @ApiModelProperty("æç®å®¶å±äººæ°") |
| | | private Integer donorrelatives; |
| | | |
| | | @ApiModelProperty("æç®å®¶å±æ¶æ¬¾äºº") |
| | | private String donorpayee; |
| | | |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.domain; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * æ¥éç³è¯·æç»å¯¹è±¡ service_reimbursementdetail_shared |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-04-20 |
| | | */ |
| | | @Data |
| | | @ApiModel("æ¥éç³è¯·æç»") |
| | | public class ServiceReimbursementdetailShared extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** 主é®ID */ |
| | | @ApiModelProperty("主é®ID") |
| | | //æ°æ®åºèªå¢æ¹æ@TableId(type = IdType.AUTO) |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** èµéç³è¯·ä¸»è¡¨ID */ |
| | | @ApiModelProperty("èµéç³è¯·ä¸»è¡¨ID") |
| | | @Excel(name = "èµéç³è¯·ä¸»è¡¨ID") |
| | | private Long rbid; |
| | | |
| | | /** 人åç±»å« */ |
| | | @ApiModelProperty("人åç±»å«") |
| | | @Excel(name = "人åç±»å«") |
| | | private String persontype; |
| | | |
| | | /** 人åå§å */ |
| | | @ApiModelProperty("人åå§å") |
| | | @Excel(name = "人åå§å") |
| | | private String personname; |
| | | |
| | | /** 顺åºå· */ |
| | | @ApiModelProperty("顺åºå·") |
| | | @Excel(name = "顺åºå·") |
| | | private Long orderno; |
| | | |
| | | /** åºåæ¶é´ */ |
| | | @ApiModelProperty("åºåæ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "åºåæ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date starttime; |
| | | |
| | | /** åºåå°ç¹ */ |
| | | @ApiModelProperty("åºåå°ç¹") |
| | | @Excel(name = "åºåå°ç¹") |
| | | private String departure; |
| | | |
| | | /** å°è¾¾æ¶é´ */ |
| | | @ApiModelProperty("å°è¾¾æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "å°è¾¾æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date endtime; |
| | | |
| | | /** å°è¾¾å°ç¹ */ |
| | | @ApiModelProperty("å°è¾¾å°ç¹") |
| | | @Excel(name = "å°è¾¾å°ç¹") |
| | | private String destination; |
| | | |
| | | /** å¤©æ° */ |
| | | @ApiModelProperty("天æ°") |
| | | @Excel(name = "天æ°") |
| | | private Long days; |
| | | |
| | | /** 交éè´¹ */ |
| | | @ApiModelProperty("交éè´¹") |
| | | @Excel(name = "交éè´¹") |
| | | private BigDecimal trafficexpense; |
| | | |
| | | /** 交éå·¥å
· */ |
| | | @ApiModelProperty("交éå·¥å
·") |
| | | @Excel(name = "交éå·¥å
·") |
| | | private String traffictype; |
| | | |
| | | /** å¸å
交éè´¹ */ |
| | | @ApiModelProperty("å¸å
交éè´¹") |
| | | @Excel(name = "å¸å
交éè´¹") |
| | | private BigDecimal cityfee; |
| | | |
| | | /** ä½å®¿è´¹ */ |
| | | @ApiModelProperty("ä½å®¿è´¹") |
| | | @Excel(name = "ä½å®¿è´¹") |
| | | private BigDecimal hotelexpense; |
| | | |
| | | /** åç¥¨å¼ æ° */ |
| | | @ApiModelProperty("åç¥¨å¼ æ°") |
| | | @Excel(name = "åç¥¨å¼ æ°") |
| | | private Long invoicecount; |
| | | |
| | | /** éä»¶å¼ æ° */ |
| | | @ApiModelProperty("éä»¶å¼ æ°") |
| | | @Excel(name = "éä»¶å¼ æ°") |
| | | private Long attachcount; |
| | | |
| | | /** æè´¹ */ |
| | | @ApiModelProperty("æè´¹") |
| | | @Excel(name = "æè´¹") |
| | | private BigDecimal otherexpense; |
| | | |
| | | /** ä¼é£è´¹ */ |
| | | @ApiModelProperty("ä¼é£è´¹") |
| | | @Excel(name = "ä¼é£è´¹") |
| | | private BigDecimal foodexpenses; |
| | | |
| | | /** ä¼é£è´¹è¡¥å© */ |
| | | @ApiModelProperty("ä¼é£è´¹è¡¥å©") |
| | | @Excel(name = "ä¼é£è´¹è¡¥å©") |
| | | private BigDecimal foodallowance; |
| | | |
| | | /** é件表 */ |
| | | @ApiModelProperty("é件表") |
| | | @Excel(name = "é件表") |
| | | private String annexfiles; |
| | | |
| | | /** ä¸ä¼ æ è¯ */ |
| | | @ApiModelProperty("ä¸ä¼ æ è¯") |
| | | @Excel(name = "ä¸ä¼ æ è¯") |
| | | private String uploadFlag; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | @ApiModelProperty("ä¸ä¼ æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "ä¸ä¼ æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date uploadTime; |
| | | |
| | | /** ç®çå°ç份 */ |
| | | @ApiModelProperty("ç®çå°ç份") |
| | | @Excel(name = "ç®çå°ç份") |
| | | private String travelprovince; |
| | | |
| | | /** ç®çå°ç份åç§° */ |
| | | @ApiModelProperty("ç®çå°ç份åç§°") |
| | | @Excel(name = "ç®çå°ç份åç§°") |
| | | private String travelprovincename; |
| | | |
| | | /** ç®çå°å°å¸ */ |
| | | @ApiModelProperty("ç®çå°å°å¸") |
| | | @Excel(name = "ç®çå°å°å¸") |
| | | private String travelcity; |
| | | |
| | | /** ç®çå°å°å¸åç§° */ |
| | | @ApiModelProperty("ç®çå°å°å¸åç§°") |
| | | @Excel(name = "ç®çå°å°å¸åç§°") |
| | | private String travelcityname; |
| | | |
| | | /** ç®çå°åºå¿ */ |
| | | @ApiModelProperty("ç®çå°åºå¿") |
| | | @Excel(name = "ç®çå°åºå¿") |
| | | private String traveltown; |
| | | |
| | | /** ç®çå°åºå¿åç§° */ |
| | | @ApiModelProperty("ç®çå°åºå¿åç§°") |
| | | @Excel(name = "ç®çå°åºå¿åç§°") |
| | | private String traveltownname; |
| | | |
| | | /** å
¶ä»è´¹ç¨éé¢ */ |
| | | @ApiModelProperty("å
¶ä»è´¹ç¨éé¢") |
| | | @Excel(name = "å
¶ä»è´¹ç¨éé¢") |
| | | private BigDecimal otherfeeamount; |
| | | |
| | | /** å
¶ä»è´¹ç¨è¯´æ */ |
| | | @ApiModelProperty("å
¶ä»è´¹ç¨è¯´æ") |
| | | @Excel(name = "å
¶ä»è´¹ç¨è¯´æ") |
| | | private String otherfeedesc; |
| | | |
| | | /** éé¢-æ¥å£ */ |
| | | @ApiModelProperty("éé¢-æ¥å£") |
| | | @Excel(name = "éé¢-æ¥å£") |
| | | private String jine; |
| | | |
| | | /** çç±-æ¥å£ */ |
| | | @ApiModelProperty("çç±-æ¥å£") |
| | | @Excel(name = "çç±-æ¥å£") |
| | | private String liyou; |
| | | |
| | | } |
| | | |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import java.util.List; |
| | | import com.ruoyi.project.domain.ServiceReimbursementdetailShared; |
| | | |
| | | /** |
| | | * æ¥éç³è¯·æç»Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-04-20 |
| | | */ |
| | | public interface ServiceReimbursementdetailSharedMapper extends BaseMapper<ServiceReimbursementdetailShared> |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ¥éç³è¯·æç»å表 |
| | | * |
| | | * @param serviceReimbursementdetailShared æ¥éç³è¯·æç» |
| | | * @return æ¥éç³è¯·æç»éå |
| | | */ |
| | | public List<ServiceReimbursementdetailShared> selectServiceReimbursementdetailSharedList(ServiceReimbursementdetailShared serviceReimbursementdetailShared); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service; |
| | | |
| | | import java.util.List; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.project.domain.ServiceReimbursementdetailShared; |
| | | |
| | | /** |
| | | * æ¥éç³è¯·æç»Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-04-20 |
| | | */ |
| | | public interface IServiceReimbursementdetailSharedService extends IService<ServiceReimbursementdetailShared> |
| | | { |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¥éç³è¯·æç»å表 |
| | | * |
| | | * @param serviceReimbursementdetailShared æ¥éç³è¯·æç» |
| | | * @return æ¥éç³è¯·æç»éå |
| | | */ |
| | | public List<ServiceReimbursementdetailShared> queryList(ServiceReimbursementdetailShared serviceReimbursementdetailShared); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import java.util.ArrayList; |
| | | import java.util.Map; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.project.mapper.ServiceReimbursementdetailSharedMapper; |
| | | import com.ruoyi.project.domain.ServiceReimbursementdetailShared; |
| | | import com.ruoyi.project.service.IServiceReimbursementdetailSharedService; |
| | | |
| | | /** |
| | | * æ¥éç³è¯·æç»Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-04-20 |
| | | */ |
| | | @Service |
| | | public class ServiceReimbursementdetailSharedServiceImpl extends ServiceImpl<ServiceReimbursementdetailSharedMapper, ServiceReimbursementdetailShared> implements IServiceReimbursementdetailSharedService |
| | | { |
| | | |
| | | |
| | | /** |
| | | * æ¥è¯¢æ¥éç³è¯·æç»å表 |
| | | * |
| | | * @param serviceReimbursementdetailShared æ¥éç³è¯·æç» |
| | | * @return æ¥éç³è¯·æç» |
| | | */ |
| | | @Override |
| | | public List<ServiceReimbursementdetailShared> queryList(ServiceReimbursementdetailShared serviceReimbursementdetailShared) { |
| | | LambdaQueryWrapper<ServiceReimbursementdetailShared> wrappers = Wrappers.lambdaQuery(); |
| | | if (serviceReimbursementdetailShared.getRbid() != null){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getRbid ,serviceReimbursementdetailShared.getRbid()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getPersontype())){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getPersontype ,serviceReimbursementdetailShared.getPersontype()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getPersonname())){ |
| | | wrappers.like(ServiceReimbursementdetailShared::getPersonname ,serviceReimbursementdetailShared.getPersonname()); |
| | | } |
| | | if (serviceReimbursementdetailShared.getOrderno() != null){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getOrderno ,serviceReimbursementdetailShared.getOrderno()); |
| | | } |
| | | if (serviceReimbursementdetailShared.getStarttime() != null){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getStarttime ,serviceReimbursementdetailShared.getStarttime()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getDeparture())){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getDeparture ,serviceReimbursementdetailShared.getDeparture()); |
| | | } |
| | | if (serviceReimbursementdetailShared.getEndtime() != null){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getEndtime ,serviceReimbursementdetailShared.getEndtime()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getDestination())){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getDestination ,serviceReimbursementdetailShared.getDestination()); |
| | | } |
| | | if (serviceReimbursementdetailShared.getDays() != null){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getDays ,serviceReimbursementdetailShared.getDays()); |
| | | } |
| | | if (serviceReimbursementdetailShared.getTrafficexpense() != null){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getTrafficexpense ,serviceReimbursementdetailShared.getTrafficexpense()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getTraffictype())){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getTraffictype ,serviceReimbursementdetailShared.getTraffictype()); |
| | | } |
| | | if (serviceReimbursementdetailShared.getCityfee() != null){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getCityfee ,serviceReimbursementdetailShared.getCityfee()); |
| | | } |
| | | if (serviceReimbursementdetailShared.getHotelexpense() != null){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getHotelexpense ,serviceReimbursementdetailShared.getHotelexpense()); |
| | | } |
| | | if (serviceReimbursementdetailShared.getInvoicecount() != null){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getInvoicecount ,serviceReimbursementdetailShared.getInvoicecount()); |
| | | } |
| | | if (serviceReimbursementdetailShared.getAttachcount() != null){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getAttachcount ,serviceReimbursementdetailShared.getAttachcount()); |
| | | } |
| | | if (serviceReimbursementdetailShared.getOtherexpense() != null){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getOtherexpense ,serviceReimbursementdetailShared.getOtherexpense()); |
| | | } |
| | | if (serviceReimbursementdetailShared.getFoodexpenses() != null){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getFoodexpenses ,serviceReimbursementdetailShared.getFoodexpenses()); |
| | | } |
| | | if (serviceReimbursementdetailShared.getFoodallowance() != null){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getFoodallowance ,serviceReimbursementdetailShared.getFoodallowance()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getAnnexfiles())){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getAnnexfiles ,serviceReimbursementdetailShared.getAnnexfiles()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getRemark())){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getRemark ,serviceReimbursementdetailShared.getRemark()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getUploadFlag())){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getUploadFlag ,serviceReimbursementdetailShared.getUploadFlag()); |
| | | } |
| | | if (serviceReimbursementdetailShared.getUploadTime() != null){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getUploadTime ,serviceReimbursementdetailShared.getUploadTime()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getTravelprovince())){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getTravelprovince ,serviceReimbursementdetailShared.getTravelprovince()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getTravelprovincename())){ |
| | | wrappers.like(ServiceReimbursementdetailShared::getTravelprovincename ,serviceReimbursementdetailShared.getTravelprovincename()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getTravelcity())){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getTravelcity ,serviceReimbursementdetailShared.getTravelcity()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getTravelcityname())){ |
| | | wrappers.like(ServiceReimbursementdetailShared::getTravelcityname ,serviceReimbursementdetailShared.getTravelcityname()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getTraveltown())){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getTraveltown ,serviceReimbursementdetailShared.getTraveltown()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getTraveltownname())){ |
| | | wrappers.like(ServiceReimbursementdetailShared::getTraveltownname ,serviceReimbursementdetailShared.getTraveltownname()); |
| | | } |
| | | if (serviceReimbursementdetailShared.getOtherfeeamount() != null){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getOtherfeeamount ,serviceReimbursementdetailShared.getOtherfeeamount()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getOtherfeedesc())){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getOtherfeedesc ,serviceReimbursementdetailShared.getOtherfeedesc()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getJine())){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getJine ,serviceReimbursementdetailShared.getJine()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceReimbursementdetailShared.getLiyou())){ |
| | | wrappers.eq(ServiceReimbursementdetailShared::getLiyou ,serviceReimbursementdetailShared.getLiyou()); |
| | | } |
| | | return this.list(wrappers); |
| | | } |
| | | |
| | | } |
| | |
| | | <result property="costtype" column="costtype" /> |
| | | <result property="costtypename" column="costtypename" /> |
| | | <result property="fileurl" column="fileurl" /> |
| | | <result property="donorpayee" column="donorpayee" /> |
| | | <result property="donorbank" column="donorbank" /> |
| | | <result property="donorbankcard" column="donorbankcard" /> |
| | | <result property="donorremark" column="donorremark" /> |
| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceReimbursementVo"> |
| | | select ID, del_flag, create_by, create_time, update_by, update_time, UserNo, UserName, IDCardType, IDCardNo, Phone, DepositBank, BankCardNo, BranchBankName, AnnexBankCard, AnnexFiles, AmountRequested, PrepaidAmount, InvoiceCount, AttachCount, ManagerNo, ManagerName, DeptmentNo, DeptmentName, OPOchecker, FinVicePresident, BusVicePresident, OfficeDirector, FinanceDirector, FinanceChecher, InfoID, DonorNo, remark, RecordStatus, uploadflag, uploadtime, Travelers, DonorName, Reason, FlowLevel, costtype, costtypename,fileurl,donorbank,donorbankcard,donorremark, donoramount,donorrelatives,donorpayee from service_reimbursement |
| | | select ID, del_flag, create_by, create_time, update_by, update_time, UserNo, UserName, IDCardType, IDCardNo, Phone, DepositBank, BankCardNo, BranchBankName, AnnexBankCard, AnnexFiles, AmountRequested, PrepaidAmount, InvoiceCount, AttachCount, ManagerNo, ManagerName, DeptmentNo, DeptmentName, OPOchecker, FinVicePresident, BusVicePresident, OfficeDirector, FinanceDirector, FinanceChecher, InfoID, DonorNo, remark, RecordStatus, uploadflag, uploadtime, Travelers, DonorName, Reason, FlowLevel, costtype, costtypename,fileurl,donorbank,donorbankcard,donorremark, donoramount,donorrelatives from service_reimbursement |
| | | </sql> |
| | | |
| | | <select id="selectServiceReimbursementList" parameterType="ServiceReimbursement" resultMap="ServiceReimbursementResult"> |
| | |
| | | <result property="filename" column="filename" /> |
| | | <result property="fileid" column="fileid" /> |
| | | <result property="reimid" column="reimid" /> |
| | | <result property="donorpayee" column="donorpayee" /> |
| | | <result property="donorbank" column="donorbank" /> |
| | | <result property="donorbankcard" column="donorbankcard" /> |
| | | <result property="donorremark" column="donorremark" /> |
| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceReimbursementSharedVo"> |
| | | select ID, del_flag, create_by, create_time, update_by, update_time, UserNo, UserName, Travelers, IDCardType, IDCardNo, Phone, DepositBank, BankCardNo, BranchBankName, AnnexBankCard, AnnexFiles, AmountRequested, PrepaidAmount, InvoiceCount, AttachCount, ManagerNo, ManagerName, DeptmentNo, DeptmentName, OPOchecker, FinVicePresident, BusVicePresident, OfficeDirector, FinanceDirector, FinanceChecher, InfoID, DonorNo, DonorName, Reason, remark, RecordStatus, uploadflag, uploadtime, totalAmount, bigStrMoney, FlowLevel, costtype, costtypename, oaid, oabdzt, filename, fileid,reimid ,donorbank,donorbankcard,donorremark,donoramount,donorrelatives,donorpayee from service_reimbursement_shared |
| | | select ID, del_flag, create_by, create_time, update_by, update_time, UserNo, UserName, Travelers, IDCardType, IDCardNo, Phone, DepositBank, BankCardNo, BranchBankName, AnnexBankCard, AnnexFiles, AmountRequested, PrepaidAmount, InvoiceCount, AttachCount, ManagerNo, ManagerName, DeptmentNo, DeptmentName, OPOchecker, FinVicePresident, BusVicePresident, OfficeDirector, FinanceDirector, FinanceChecher, InfoID, DonorNo, DonorName, Reason, remark, RecordStatus, uploadflag, uploadtime, totalAmount, bigStrMoney, FlowLevel, costtype, costtypename, oaid, oabdzt, filename, fileid,reimid ,donorbank,donorbankcard,donorremark, donoramount,donorrelatives from service_reimbursement_shared |
| | | </sql> |
| | | |
| | | <select id="getRemShareInfoByRemId" resultType="com.ruoyi.project.domain.ServiceReimbursementShared" resultMap="ServiceReimbursementSharedResult"> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?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"> |
| | | <mapper namespace="com.ruoyi.project.mapper.ServiceReimbursementdetailSharedMapper"> |
| | | |
| | | <resultMap type="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="delFlag" 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" /> |
| | | <result property="jine" column="jine" /> |
| | | <result property="liyou" column="liyou" /> |
| | | </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, jine, liyou from service_reimbursementdetail_shared |
| | | </sql> |
| | | |
| | | <select id="selectServiceReimbursementdetailSharedList" parameterType="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> |
| | | </where> |
| | | </select> |
| | | |
| | | </mapper> |