Compare commits
No commits in common. "36057f3126e1092796323f8619c58a9c7a366ec8" and "7cc33aa9379fbaea465d9c9d511d6f4961bf176c" have entirely different histories.
36057f3126
...
7cc33aa937
|
@ -331,7 +331,6 @@ public class KcKechengbiaoController extends JeecgController<KcKechengbiao, IKcK
|
|||
QueryWrapper<KcKechengbiao> kcKechengbiaoQueryWrapper = new QueryWrapper<>();
|
||||
kcKechengbiaoQueryWrapper.eq("rwbh",rwbh);
|
||||
kcKechengbiaoQueryWrapper.eq("xqxn",xqxn);
|
||||
kcKechengbiaoQueryWrapper.eq("flag","0");
|
||||
kcKechengbiaoQueryWrapper.last("limit 1");
|
||||
KcKechengbiao kcKechengbiao = kcKechengbiaoService.getOne(kcKechengbiaoQueryWrapper);
|
||||
return Result.OK(kcKechengbiao);
|
||||
|
|
|
@ -48,7 +48,6 @@ public class WpsController extends JeecgController<KcCasusers, IKcCasusersServic
|
|||
|
||||
/**
|
||||
* 文档预览
|
||||
*
|
||||
* @param fileId
|
||||
* @return
|
||||
*/
|
||||
|
@ -76,7 +75,6 @@ public class WpsController extends JeecgController<KcCasusers, IKcCasusersServic
|
|||
|
||||
/**
|
||||
* 文件下载地址
|
||||
*
|
||||
* @param fileId
|
||||
* @return
|
||||
*/
|
||||
|
@ -95,13 +93,11 @@ public class WpsController extends JeecgController<KcCasusers, IKcCasusersServic
|
|||
|
||||
/**
|
||||
* 获取文档用户权限
|
||||
*
|
||||
* @param fileId
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "/files/{fileId}/permission", method = {RequestMethod.GET})
|
||||
public Map<String, Object> permission(@PathVariable("fileId") String fileId,
|
||||
@RequestHeader(value = "X-WebOffice-Token", required = false) String webOfficeToken) {
|
||||
public Map<String,Object> permission(@PathVariable("fileId") String fileId) {
|
||||
ZyInfoStudent zyInfoStudent = zyInfoStudentService.getById(fileId);
|
||||
Map<String,Object> mapRet = new HashMap<>();
|
||||
Map<String,Object> mapRet2 = new HashMap<>();
|
||||
|
@ -114,9 +110,9 @@ public class WpsController extends JeecgController<KcCasusers, IKcCasusersServic
|
|||
mapRet2.put("read",1);
|
||||
// mapRet2.put("rename",1);
|
||||
// mapRet2.put("saveas",1);
|
||||
mapRet2.put("update", webOfficeToken.equals(zyInfoStudent.getCreateBy()) ? 0 : 1);
|
||||
// mapRet2.put("user_id",zyInfoStudent.getCreateBy());
|
||||
mapRet2.put("user_id", webOfficeToken);
|
||||
mapRet2.put("update",1);
|
||||
mapRet2.put("user_id",zyInfoStudent.getCreateBy());
|
||||
|
||||
mapRet.put("data",mapRet2);
|
||||
return mapRet;
|
||||
}
|
||||
|
@ -124,7 +120,6 @@ public class WpsController extends JeecgController<KcCasusers, IKcCasusersServic
|
|||
|
||||
/**
|
||||
* 文档预览
|
||||
*
|
||||
* @param fileId
|
||||
* @return
|
||||
*/
|
||||
|
@ -174,7 +169,6 @@ public class WpsController extends JeecgController<KcCasusers, IKcCasusersServic
|
|||
|
||||
/**
|
||||
* 准备上传阶段
|
||||
*
|
||||
* @param fileId
|
||||
* @return
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue