|
@@ -335,6 +335,41 @@ public class CreditHandleController extends BaseController {
|
|
|
|
|
|
|
|
|
/**
|
|
|
+ * 融信删除
|
|
|
+ * @param map
|
|
|
+ * @return
|
|
|
+ * @throws Exception
|
|
|
+ */
|
|
|
+ @PreAuthorize(hasPermi = "credit:credit:del")
|
|
|
+ @Log(title = "融信", businessType = BusinessType.UPDATE)
|
|
|
+ @Transactional(rollbackFor = Exception.class)
|
|
|
+ @PutMapping("/creditDel")
|
|
|
+ public AjaxResult creditDel(@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("99");
|
|
|
+ financeInfService.updateById(financeInf);
|
|
|
+ return AjaxResult.success();
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
* 获取合同文件
|
|
|
* @param map
|
|
|
* @return
|
|
@@ -403,7 +438,7 @@ public class CreditHandleController extends BaseController {
|
|
|
|
|
|
}
|
|
|
if(CommonUtil.isEmpty(code)){
|
|
|
- throw new Exception("盖章节点异常");
|
|
|
+ throw new Exception("节点异常");
|
|
|
}
|
|
|
//获取接收方
|
|
|
String zfiSupplierId = CommonUtil.objToString(map.get("zfiSupplierId"));
|