|
@@ -296,6 +296,41 @@ public class CreditHandleController extends BaseController {
|
|
|
|
|
|
|
|
|
/**
|
|
|
+ * 拒签
|
|
|
+ * @param map
|
|
|
+ * @return
|
|
|
+ * @throws Exception
|
|
|
+ */
|
|
|
+ @PreAuthorize(hasPermi = "credit:credit:refuse")
|
|
|
+ @Log(title = "融信", businessType = BusinessType.UPDATE)
|
|
|
+ @Transactional(rollbackFor = Exception.class)
|
|
|
+ @PutMapping("/creditRefuse")
|
|
|
+ public AjaxResult creditRefuse(@RequestBody Map<String,Object> map)throws Exception
|
|
|
+ {
|
|
|
+ //获取融信编号
|
|
|
+ String zfiId = CommonUtil.objToString(map.get("zfiId"));
|
|
|
+ ZcFinanceInf financeInf = new ZcFinanceInf();
|
|
|
+ //获取时间
|
|
|
+ Date time = DateUtils.getNowDate();
|
|
|
+ //获取此操作员
|
|
|
+ LoginUser userInfo = tokenService.getLoginUser();
|
|
|
+ SysUser user = userInfo.getSysUser();
|
|
|
+ //编号
|
|
|
+ financeInf.setZfiId(zfiId);
|
|
|
+ //修改时间
|
|
|
+ financeInf.setUpdateTime(time);
|
|
|
+ //获取用户编号
|
|
|
+ String userId = user.getUserId()+"";
|
|
|
+ //修改人
|
|
|
+ financeInf.setUpdateBy(userId);
|
|
|
+ //已失效
|
|
|
+ financeInf.setZfiStatus("03");
|
|
|
+ financeInfService.updateById(financeInf);
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
* 获取合同文件
|
|
|
* @param map
|
|
|
* @return
|