增加删除全部附件功能按钮

This commit is contained in:
yujh 2024-06-24 15:52:59 +08:00
parent 520c384259
commit 843692ff53

View File

@ -1194,6 +1194,18 @@ public class CoEPALController {
return web.delete(uuid);
}
// 附件-删除全部附件
@Mapping("com.actionsoft.apps.coe.pal_processlevel_upfile_del_all")
public String coePALProcessLevelUPFILEDELAll(UserContext me, RequestParams params) {
String uuids = params.get("uuids");
UpfileWeb web = new UpfileWeb(me);
String[] split = uuids.split(",");
for (String s : split) {
web.delete(s);
}
return ResponseObject.newOkResponse().msg("").toString();
}
// 附件-在线预览
// @Mapping("COE_PAL_PROCESSLEVEL_UPFILE_READ")
@Mapping("com.actionsoft.apps.coe.pal_processlevel_upfile_read")