|
@@ -10,6 +10,7 @@ import com.hssx.cloudmodel.service.MouldFileService;
|
|
import com.hssx.cloudmodel.service.MouldService;
|
|
import com.hssx.cloudmodel.service.MouldService;
|
|
import com.hssx.cloudmodel.service.UserService;
|
|
import com.hssx.cloudmodel.service.UserService;
|
|
import com.hssx.cloudmodel.util.HttpRespMsg;
|
|
import com.hssx.cloudmodel.util.HttpRespMsg;
|
|
|
|
+import com.hssx.cloudmodel.util.PageUtil;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
@@ -127,5 +128,20 @@ public class MouldFileController {
|
|
HttpRespMsg msg = mouldFileService.delFile(mouldFile);
|
|
HttpRespMsg msg = mouldFileService.delFile(mouldFile);
|
|
return msg;
|
|
return msg;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 文档批量下载列表
|
|
|
|
+ * 参数: token 用户身份凭证,id 项目id
|
|
|
|
+ *
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @ApiOperation("文档批量下载列表")
|
|
|
|
+ @RequestMapping("/fileList")
|
|
|
|
+ @ResponseBody
|
|
|
|
+ public HttpRespMsg fileList(UserVO userVO, PageUtil page){
|
|
|
|
+ HttpRespMsg msg = new HttpRespMsg();
|
|
|
|
+ msg = mouldFileService.getListByUserAndProjectId(userVO, page);
|
|
|
|
+ return msg;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|