|
@ -10,6 +10,7 @@ import com.qs.serve.common.util.*; |
|
|
import com.qs.serve.modules.seeyon.entity.CtpAffair; |
|
|
import com.qs.serve.modules.seeyon.entity.CtpAffair; |
|
|
import com.qs.serve.modules.seeyon.entity.CtpAffairCommit; |
|
|
import com.qs.serve.modules.seeyon.entity.CtpAffairCommit; |
|
|
import com.qs.serve.modules.seeyon.entity.CtpAffairQo; |
|
|
import com.qs.serve.modules.seeyon.entity.CtpAffairQo; |
|
|
|
|
|
import com.qs.serve.modules.seeyon.entity.dto.CtpAffairPageSo; |
|
|
import com.qs.serve.modules.seeyon.service.SeeYonService; |
|
|
import com.qs.serve.modules.seeyon.service.SeeYonService; |
|
|
import com.qs.serve.modules.sys.entity.SysAttach; |
|
|
import com.qs.serve.modules.sys.entity.SysAttach; |
|
|
import com.qs.serve.modules.sys.entity.SysUser; |
|
|
import com.qs.serve.modules.sys.entity.SysUser; |
|
@ -192,22 +193,24 @@ public class VtbVerificationController { |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 审批列表(翻页) |
|
|
* 审批列表(翻页) |
|
|
* @param state 状态:0-未完成与已完成(默认);1-未完成;2已完成;3-我发起的;其它-被拦截 |
|
|
* @param pageSo |
|
|
* @param pageNum |
|
|
|
|
|
* @param pageSize |
|
|
|
|
|
* @return |
|
|
* @return |
|
|
*/ |
|
|
*/ |
|
|
@GetMapping("/pageMemberAffair") |
|
|
@GetMapping("/pageMemberAffair") |
|
|
public R<PageVo<CtpAffairVo>> pageMemberAffair(Integer state, Integer pageNum, Integer pageSize){ |
|
|
public R<PageVo<CtpAffairVo>> pageMemberAffair(CtpAffairPageSo pageSo,TbsCostApply costApply){ |
|
|
SysUser sysUser = sysUserService.getById(AuthContextUtils.getSysUserId()); |
|
|
SysUser sysUser = sysUserService.getById(AuthContextUtils.getSysUserId()); |
|
|
if(!StringUtils.hasText(sysUser.getSyUserId())||!StringUtils.hasText(sysUser.getSyAccount())){ |
|
|
if(!StringUtils.hasText(sysUser.getSyUserId())||!StringUtils.hasText(sysUser.getSyAccount())){ |
|
|
return R.error("当前账号未绑定致远用户信息"); |
|
|
return R.error("当前账号未绑定致远用户信息"); |
|
|
} |
|
|
} |
|
|
CtpAffairQo param = new CtpAffairQo(); |
|
|
CtpAffairQo param = new CtpAffairQo(); |
|
|
param.setMemberId(sysUser.getSyUserId()); |
|
|
param.setMemberId(sysUser.getSyUserId()); |
|
|
param.setState(state); |
|
|
param.setState(pageSo.getState()); |
|
|
param.setPageNum(pageNum); |
|
|
param.setPageNum(pageSo.getPageNum()); |
|
|
param.setPageSize(pageSize); |
|
|
param.setPageSize(pageSo.getPageSize()); |
|
|
|
|
|
param.setTitle(costApply.getChargeTheme()); |
|
|
|
|
|
param.setSupplierName(costApply.getSupplierName()); |
|
|
|
|
|
param.setSupplierCode(costApply.getSupplierCode()); |
|
|
|
|
|
param.setApplyUserName(costApply.getUserName()); |
|
|
param.setTemplateCode(TbsSeeYonConst.CostCheckConf.Code()); |
|
|
param.setTemplateCode(TbsSeeYonConst.CostCheckConf.Code()); |
|
|
R<PageVo<CtpAffair>> syResult = seeYonService.pageMemberAffair(param); |
|
|
R<PageVo<CtpAffair>> syResult = seeYonService.pageMemberAffair(param); |
|
|
PageVo<CtpAffair> pageVo = syResult.getData(); |
|
|
PageVo<CtpAffair> pageVo = syResult.getData(); |
|
|