|
@ -25,6 +25,7 @@ |
|
|
*********************************************************/ |
|
|
*********************************************************/ |
|
|
package com.yxt.anrui.fin.biz.finpayment; |
|
|
package com.yxt.anrui.fin.biz.finpayment; |
|
|
|
|
|
|
|
|
|
|
|
import com.yxt.anrui.fin.biz.finpaymentapplydetailsbeloweve.FinPaymentapplyDetailsBelowEveService; |
|
|
import com.yxt.common.core.query.PagerQuery; |
|
|
import com.yxt.common.core.query.PagerQuery; |
|
|
import com.yxt.common.core.result.ResultBean; |
|
|
import com.yxt.common.core.result.ResultBean; |
|
|
import com.yxt.common.core.vo.PagerVo; |
|
|
import com.yxt.common.core.vo.PagerVo; |
|
@ -32,29 +33,13 @@ import io.swagger.annotations.Api; |
|
|
import io.swagger.annotations.ApiOperation; |
|
|
import io.swagger.annotations.ApiOperation; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.web.bind.annotation.*; |
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
import com.yxt.anrui.fin.api.finpayment.FinPayment; |
|
|
|
|
|
import com.yxt.anrui.fin.api.finpayment.FinPaymentQuery; |
|
|
import com.yxt.anrui.fin.api.finpayment.FinPaymentQuery; |
|
|
import com.yxt.anrui.fin.api.finpayment.FinPaymentVo; |
|
|
import com.yxt.anrui.fin.api.finpayment.FinPaymentVo; |
|
|
import com.yxt.anrui.fin.api.finpayment.FinPaymentDetailsVo; |
|
|
import com.yxt.anrui.fin.api.finpayment.FinPaymentDetailsVo; |
|
|
import com.yxt.anrui.fin.api.finpayment.FinPaymentDto; |
|
|
import com.yxt.anrui.fin.api.finpayment.FinPaymentDto; |
|
|
import com.yxt.anrui.fin.api.finpayment.FinPaymentFeign; |
|
|
import com.yxt.anrui.fin.api.finpayment.FinPaymentFeign; |
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Project: anrui-fin(付款信息管理) <br/> |
|
|
|
|
|
* File: FinPaymentFeignFallback.java <br/> |
|
|
|
|
|
* Class: com.yxt.anrui.fin.biz.finpayment.FinPaymentRest <br/> |
|
|
|
|
|
* Description: 付款信息管理. <br/> |
|
|
|
|
|
* Copyright: Copyright (c) 2011 <br/> |
|
|
|
|
|
* Company: https://gitee.com/liuzp315 <br/>
|
|
|
|
|
|
* Makedate: 2024-12-13 14:27:54 <br/> |
|
|
|
|
|
* |
|
|
|
|
|
* @author liupopo |
|
|
|
|
|
* @version 1.0 |
|
|
|
|
|
* @since 1.0 |
|
|
|
|
|
*/ |
|
|
|
|
|
@Api(tags = "付款信息管理") |
|
|
@Api(tags = "付款信息管理") |
|
|
@RestController |
|
|
@RestController |
|
|
@RequestMapping("v1/finpayment") |
|
|
@RequestMapping("v1/finpayment") |
|
@ -62,6 +47,8 @@ public class FinPaymentRest implements FinPaymentFeign { |
|
|
|
|
|
|
|
|
@Autowired |
|
|
@Autowired |
|
|
private FinPaymentService finPaymentService; |
|
|
private FinPaymentService finPaymentService; |
|
|
|
|
|
@Autowired |
|
|
|
|
|
private FinPaymentapplyDetailsBelowEveService finPaymentapplyDetailsBelowEveService; |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
@ApiOperation("根据条件分页查询数据的列表") |
|
|
@ApiOperation("根据条件分页查询数据的列表") |
|
@ -103,4 +90,11 @@ public class FinPaymentRest implements FinPaymentFeign { |
|
|
List<FinPaymentDetailsVo> voList = finPaymentService.selectByUseOrgSid(useOrgSid); |
|
|
List<FinPaymentDetailsVo> voList = finPaymentService.selectByUseOrgSid(useOrgSid); |
|
|
return rb.success().setData(voList); |
|
|
return rb.success().setData(voList); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public ResultBean updateOpenDate(String sid, String openDate) { |
|
|
|
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
|
|
|
finPaymentapplyDetailsBelowEveService.updateOpenDate(sid,openDate); |
|
|
|
|
|
return rb.success(); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|