注释不需要内容
This commit is contained in:
+39
-39
@@ -35,10 +35,10 @@ import io.swagger.annotations.ApiOperation;
|
||||
* @Date: 2021-08-30
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Api(tags="资料目录管理")
|
||||
@RestController
|
||||
@RequestMapping("/payDataDirectory/payDataDirectory")
|
||||
@Slf4j
|
||||
//@Api(tags="资料目录管理")
|
||||
//@RestController
|
||||
//@RequestMapping("/payDataDirectory/payDataDirectory")
|
||||
//@Slf4j
|
||||
public class PayDataDirectoryController extends JeroController<PayDataDirectory, IPayDataDirectoryService> {
|
||||
@Autowired
|
||||
private IPayDataDirectoryService payDataDirectoryService;
|
||||
@@ -51,9 +51,9 @@ public class PayDataDirectoryController extends JeroController<PayDataDirectory,
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "资料目录管理-树")
|
||||
@ApiOperation(value = "资料目录管理-树", notes = "资料目录管理-树")
|
||||
@GetMapping(value = "/tree")
|
||||
// @AutoLog(value = "资料目录管理-树")
|
||||
// @ApiOperation(value = "资料目录管理-树", notes = "资料目录管理-树")
|
||||
// @GetMapping(value = "/tree")
|
||||
public Result<?> tree() {
|
||||
LoginUser sysUser =(LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||
QueryWrapper<PayDataDirectory> queryWrapper = new QueryWrapper();
|
||||
@@ -74,9 +74,9 @@ public class PayDataDirectoryController extends JeroController<PayDataDirectory,
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "资料目录会议-树")
|
||||
@ApiOperation(value = "资料目录会议-树", notes = "资料目录会议-树")
|
||||
@GetMapping(value = "/meetingTree")
|
||||
// @AutoLog(value = "资料目录会议-树")
|
||||
// @ApiOperation(value = "资料目录会议-树", notes = "资料目录会议-树")
|
||||
// @GetMapping(value = "/meetingTree")
|
||||
public Result<?> meetingTree() {
|
||||
LoginUser sysUser =(LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||
QueryWrapper<PayDataDirectory> queryWrapper = new QueryWrapper();
|
||||
@@ -120,10 +120,10 @@ public class PayDataDirectoryController extends JeroController<PayDataDirectory,
|
||||
* @param payDataDirectoryDTO
|
||||
* @return
|
||||
*/
|
||||
@Transactional
|
||||
@AutoLog(value = "资料目录管理-新增")
|
||||
@ApiOperation(value = "资料目录管理-新增", notes = "资料目录管理-新增")
|
||||
@PostMapping(value = "/add")
|
||||
// @Transactional
|
||||
// @AutoLog(value = "资料目录管理-新增")
|
||||
// @ApiOperation(value = "资料目录管理-新增", notes = "资料目录管理-新增")
|
||||
// @PostMapping(value = "/add")
|
||||
public Result<?> add(@Valid @RequestBody PayDataDirectoryDTO payDataDirectoryDTO) {
|
||||
LoginUser sysUser =(LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||
LambdaQueryWrapper<PayDataDirectory> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||
@@ -145,10 +145,10 @@ public class PayDataDirectoryController extends JeroController<PayDataDirectory,
|
||||
* 定时新增父根会议目录
|
||||
* @return
|
||||
*/
|
||||
@Transactional
|
||||
@AutoLog(value = "定时任务-定时新增父根会议目录")
|
||||
@ApiOperation(value = "定时任务-定时新增父根会议目录", notes = "定时任务-定时新增父根会议目录")
|
||||
@PostMapping(value = "/addMeetingDataDirectory")
|
||||
// @Transactional
|
||||
// @AutoLog(value = "定时任务-定时新增父根会议目录")
|
||||
// @ApiOperation(value = "定时任务-定时新增父根会议目录", notes = "定时任务-定时新增父根会议目录")
|
||||
// @PostMapping(value = "/addMeetingDataDirectory")
|
||||
public Result<?> addMeetingDataDirectory() {
|
||||
PayDataDirectory payDataDirectory = new PayDataDirectory();
|
||||
payDataDirectory.setType(2);
|
||||
@@ -166,9 +166,9 @@ public class PayDataDirectoryController extends JeroController<PayDataDirectory,
|
||||
* 获取当前月份会议文件夹的主键id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "定时任务-获取当前月份会议文件夹的主键id")
|
||||
@ApiOperation(value = "定时任务-获取当前月份会议文件夹的主键id", notes = "定时任务-获取当前月份会议文件夹的主键id")
|
||||
@PostMapping(value = "/addMeetingDataDirectoridy")
|
||||
// @AutoLog(value = "定时任务-获取当前月份会议文件夹的主键id")
|
||||
// @ApiOperation(value = "定时任务-获取当前月份会议文件夹的主键id", notes = "定时任务-获取当前月份会议文件夹的主键id")
|
||||
// @PostMapping(value = "/addMeetingDataDirectoridy")
|
||||
public String addMeetingDataDirectoridy() {
|
||||
Calendar cal = Calendar.getInstance();
|
||||
int year = cal.get(Calendar.YEAR);
|
||||
@@ -184,11 +184,11 @@ public class PayDataDirectoryController extends JeroController<PayDataDirectory,
|
||||
*
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@Transactional
|
||||
@AutoLog(value = "资料目录管理-批量删除")
|
||||
@ApiOperation(value = "资料目录管理-批量删除", notes = "资料目录管理-批量删除")
|
||||
@GetMapping(value = "/deleteBatch")
|
||||
// */
|
||||
// @Transactional
|
||||
// @AutoLog(value = "资料目录管理-批量删除")
|
||||
// @ApiOperation(value = "资料目录管理-批量删除", notes = "资料目录管理-批量删除")
|
||||
// @GetMapping(value = "/deleteBatch")
|
||||
public Result<?> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
List<String> ides = new ArrayList<>(Arrays.asList(ids.split(",")));
|
||||
for (String id : ides) {
|
||||
@@ -210,9 +210,9 @@ public class PayDataDirectoryController extends JeroController<PayDataDirectory,
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "资料目录管理-查询所有")
|
||||
@ApiOperation(value = "资料目录管理-查询所有", notes = "资料目录管理-查询所有")
|
||||
@GetMapping(value = "/findall")
|
||||
// @AutoLog(value = "资料目录管理-查询所有")
|
||||
// @ApiOperation(value = "资料目录管理-查询所有", notes = "资料目录管理-查询所有")
|
||||
// @GetMapping(value = "/findall")
|
||||
public Result<?> findall() {
|
||||
LambdaQueryWrapper<PayDataDirectory> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||
lambdaQueryWrapper.eq(PayDataDirectory::getType, 1);
|
||||
@@ -243,9 +243,9 @@ public class PayDataDirectoryController extends JeroController<PayDataDirectory,
|
||||
* @param name
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "资料目录管理-通过name查询")
|
||||
@ApiOperation(value="资料目录管理-通过name查询", notes="资料目录管理-通过name查询")
|
||||
@GetMapping(value = "/queryByName")
|
||||
// @AutoLog(value = "资料目录管理-通过name查询")
|
||||
// @ApiOperation(value="资料目录管理-通过name查询", notes="资料目录管理-通过name查询")
|
||||
// @GetMapping(value = "/queryByName")
|
||||
public Result<?> queryByName(@RequestParam(name="name",required=false) String name) {
|
||||
LoginUser sysUser =(LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||
QueryWrapper<PayDataDirectory> queryWrapper = new QueryWrapper<>();
|
||||
@@ -308,10 +308,10 @@ public class PayDataDirectoryController extends JeroController<PayDataDirectory,
|
||||
* @param payDataDirectoryDTO
|
||||
* @return
|
||||
*/
|
||||
@Transactional
|
||||
@AutoLog(value = "资料目录管理-编辑")
|
||||
@ApiOperation(value="资料目录管理-编辑", notes="资料目录管理-编辑")
|
||||
@PostMapping(value = "/edit")
|
||||
// @Transactional
|
||||
// @AutoLog(value = "资料目录管理-编辑")
|
||||
// @ApiOperation(value="资料目录管理-编辑", notes="资料目录管理-编辑")
|
||||
// @PostMapping(value = "/edit")
|
||||
public Result<?> edit(@RequestBody PayDataDirectoryDTO payDataDirectoryDTO) {
|
||||
PayDataDirectory payDataDirectory = new PayDataDirectory();
|
||||
BeanUtils.copyProperties(payDataDirectoryDTO,payDataDirectory);
|
||||
@@ -325,9 +325,9 @@ public class PayDataDirectoryController extends JeroController<PayDataDirectory,
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "资料目录管理-通过id查询")
|
||||
@ApiOperation(value="资料目录管理-通过id查询", notes="资料目录管理-通过id查询")
|
||||
@GetMapping(value = "/getOne")
|
||||
// @AutoLog(value = "资料目录管理-通过id查询")
|
||||
// @ApiOperation(value="资料目录管理-通过id查询", notes="资料目录管理-通过id查询")
|
||||
// @GetMapping(value = "/getOne")
|
||||
public Result<?> getOne(@RequestParam(name="id",required = true) String id) {
|
||||
PayDataDirectory payDataDirectory = payDataDirectoryService.getById(id);
|
||||
return Result.OK(payDataDirectory);
|
||||
|
||||
+85
-85
@@ -54,10 +54,10 @@ import io.swagger.annotations.ApiOperation;
|
||||
* @Date: 2021-08-30
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Api(tags="资料维护")
|
||||
@RestController
|
||||
@RequestMapping("/payDataFile/payDataFile")
|
||||
@Slf4j
|
||||
//@Api(tags="资料维护")
|
||||
//@RestController
|
||||
//@RequestMapping("/payDataFile/payDataFile")
|
||||
//@Slf4j
|
||||
public class PayDataFileController extends JeroController<PayDataFile, IPayDataFileService> {
|
||||
@Autowired
|
||||
private IPayDataDirectoryService payDataDirectoryService;
|
||||
@@ -85,10 +85,10 @@ public class PayDataFileController extends JeroController<PayDataFile, IPayDataF
|
||||
*
|
||||
*
|
||||
*/
|
||||
@AutoLog(value = "资料维护(资料列表)-根据文件夹id分页列表查询")
|
||||
@ApiOperation(value="资料维护(资料列表)-根据文件夹id分页列表查询", notes="资料维护(资料列表)-根据文件夹id分页列表查询",response =QueryFileList2.class)
|
||||
@GetMapping(value = "/list")
|
||||
@ApiImplicitParam(name = "id", value = "目录id,查询该目录下文件", dataType = "String", required = true)
|
||||
// @AutoLog(value = "资料维护(资料列表)-根据文件夹id分页列表查询")
|
||||
// @ApiOperation(value="资料维护(资料列表)-根据文件夹id分页列表查询", notes="资料维护(资料列表)-根据文件夹id分页列表查询",response =QueryFileList2.class)
|
||||
// @GetMapping(value = "/list")
|
||||
// @ApiImplicitParam(name = "id", value = "目录id,查询该目录下文件", dataType = "String", required = true)
|
||||
public Result<?> queryPageList(
|
||||
@RequestParam(name="id") String id,
|
||||
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
||||
@@ -111,10 +111,10 @@ public class PayDataFileController extends JeroController<PayDataFile, IPayDataF
|
||||
*
|
||||
*
|
||||
*/
|
||||
@AutoLog(value = "资料维护(会议列表)-根据文件夹id分页列表查询")
|
||||
@ApiOperation(value="资料维护(会议列表)-根据文件夹id分页列表查询", notes="资料维护(会议列表)-根据文件夹id分页列表查询",response = QueryFileList.class)
|
||||
@GetMapping(value = "/listMeeting")
|
||||
@ApiImplicitParam(name = "id", value = "目录id,查询该目录下文件", dataType = "String", required = true)
|
||||
// @AutoLog(value = "资料维护(会议列表)-根据文件夹id分页列表查询")
|
||||
// @ApiOperation(value="资料维护(会议列表)-根据文件夹id分页列表查询", notes="资料维护(会议列表)-根据文件夹id分页列表查询",response = QueryFileList.class)
|
||||
// @GetMapping(value = "/listMeeting")
|
||||
// @ApiImplicitParam(name = "id", value = "目录id,查询该目录下文件", dataType = "String", required = true)
|
||||
public Result<?> queryPageListMeeting(
|
||||
@RequestParam(name="id") String id,
|
||||
QueryFileListBySearch queryFileListBySearch,
|
||||
@@ -200,15 +200,15 @@ public class PayDataFileController extends JeroController<PayDataFile, IPayDataF
|
||||
* 资料列表上传
|
||||
*
|
||||
*/
|
||||
@AutoLog(value = "资料维护(资料和会议)-上传")
|
||||
@ApiOperation(value="资料维护(资料和会议)-上传", notes="资料维护(资料和会议)-上传")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "dataId", value = "目录id",required = true),
|
||||
@ApiImplicitParam(name = "fileIds", value = "资料id,多个以逗号隔开",required = true),
|
||||
@ApiImplicitParam(name = "dataType", value = "文件类型,资料1或者会议2",required = true)
|
||||
})
|
||||
@GetMapping(value = "/add")
|
||||
@Transactional
|
||||
// @AutoLog(value = "资料维护(资料和会议)-上传")
|
||||
// @ApiOperation(value="资料维护(资料和会议)-上传", notes="资料维护(资料和会议)-上传")
|
||||
// @ApiImplicitParams({
|
||||
// @ApiImplicitParam(name = "dataId", value = "目录id",required = true),
|
||||
// @ApiImplicitParam(name = "fileIds", value = "资料id,多个以逗号隔开",required = true),
|
||||
// @ApiImplicitParam(name = "dataType", value = "文件类型,资料1或者会议2",required = true)
|
||||
// })
|
||||
// @GetMapping(value = "/add")
|
||||
// @Transactional
|
||||
public Result<?> add(@RequestParam(name="dataId") String dataId,
|
||||
@RequestParam(name="fileIds") String fileIds,
|
||||
@RequestParam(name="dataType") int dataType) {
|
||||
@@ -247,17 +247,17 @@ public class PayDataFileController extends JeroController<PayDataFile, IPayDataF
|
||||
* 编辑
|
||||
*
|
||||
*/
|
||||
@AutoLog(value = "资料维护(资料和会议)-编辑")
|
||||
@ApiOperation(value="资料维护(资料和会议)-编辑", notes="资料维护(资料和会议)-编辑")
|
||||
@GetMapping(value = "/edit")
|
||||
@Transactional
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "dataId",value = "目录id",required = true),
|
||||
@ApiImplicitParam(name = "keyId",value = "主键id",required = true),
|
||||
@ApiImplicitParam(name = "dataType",value = "文件类型,1:资料,2:会议",required = true),
|
||||
@ApiImplicitParam(name = "fileIds", value = "资料ids,多个以逗号隔开",required = true),
|
||||
@ApiImplicitParam(name = "oldFileId", value = "原来资料id",required = true)
|
||||
})
|
||||
// @AutoLog(value = "资料维护(资料和会议)-编辑")
|
||||
// @ApiOperation(value="资料维护(资料和会议)-编辑", notes="资料维护(资料和会议)-编辑")
|
||||
// @GetMapping(value = "/edit")
|
||||
// @Transactional
|
||||
// @ApiImplicitParams({
|
||||
// @ApiImplicitParam(name = "dataId",value = "目录id",required = true),
|
||||
// @ApiImplicitParam(name = "keyId",value = "主键id",required = true),
|
||||
// @ApiImplicitParam(name = "dataType",value = "文件类型,1:资料,2:会议",required = true),
|
||||
// @ApiImplicitParam(name = "fileIds", value = "资料ids,多个以逗号隔开",required = true),
|
||||
// @ApiImplicitParam(name = "oldFileId", value = "原来资料id",required = true)
|
||||
// })
|
||||
public Result<?> edit(@RequestParam(name="dataId") String dataId,
|
||||
@RequestParam(name="keyId") String keyId,
|
||||
@RequestParam(name="fileIds") String fileIds,
|
||||
@@ -287,14 +287,14 @@ public class PayDataFileController extends JeroController<PayDataFile, IPayDataF
|
||||
* 通过id删除
|
||||
*
|
||||
*/
|
||||
@AutoLog(value = "资料维护(资料和会议)-通过id删除")
|
||||
@ApiOperation(value="资料维护(资料和会议)-通过id删除", notes="资料维护(资料和会议)-通过id删除")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "id",value = "主键id",required = true),
|
||||
@ApiImplicitParam(name = "dataId", value = "资料id",required = true)
|
||||
})
|
||||
@GetMapping(value = "/delete")
|
||||
@Transactional
|
||||
// @AutoLog(value = "资料维护(资料和会议)-通过id删除")
|
||||
// @ApiOperation(value="资料维护(资料和会议)-通过id删除", notes="资料维护(资料和会议)-通过id删除")
|
||||
// @ApiImplicitParams({
|
||||
// @ApiImplicitParam(name = "id",value = "主键id",required = true),
|
||||
// @ApiImplicitParam(name = "dataId", value = "资料id",required = true)
|
||||
// })
|
||||
// @GetMapping(value = "/delete")
|
||||
// @Transactional
|
||||
public Result<?> delete(@RequestParam(name="id") String id,@RequestParam(name="dataId") String dataId) {
|
||||
LambdaQueryWrapper<PayDataFile> lambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||
lambdaQueryWrapper.eq(PayDataFile::getId,id);
|
||||
@@ -310,14 +310,14 @@ public class PayDataFileController extends JeroController<PayDataFile, IPayDataF
|
||||
* 批量删除
|
||||
*
|
||||
*/
|
||||
@Transactional
|
||||
@AutoLog(value = "资料维护(资料和会议)-批量删除")
|
||||
@ApiOperation(value="资料维护(资料和会议)-批量删除", notes="资料维护(资料和会议)-批量删除")
|
||||
@GetMapping(value = "/deleteBatch")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "ids",value = "主键id,多个以逗号隔开"),
|
||||
@ApiImplicitParam(name = "dataIds", value = "资料id,多个以逗号隔开")
|
||||
})
|
||||
// @Transactional
|
||||
// @AutoLog(value = "资料维护(资料和会议)-批量删除")
|
||||
// @ApiOperation(value="资料维护(资料和会议)-批量删除", notes="资料维护(资料和会议)-批量删除")
|
||||
// @GetMapping(value = "/deleteBatch")
|
||||
// @ApiImplicitParams({
|
||||
// @ApiImplicitParam(name = "ids",value = "主键id,多个以逗号隔开"),
|
||||
// @ApiImplicitParam(name = "dataIds", value = "资料id,多个以逗号隔开")
|
||||
// })
|
||||
public Result<?> deleteBatch(@RequestParam(name="ids",required = true) String ids,
|
||||
@RequestParam(name="dataIds",required = true) String dataIds) {
|
||||
ArrayList<String> strings = new ArrayList<>(Arrays.asList(ids.split(",")));
|
||||
@@ -337,9 +337,9 @@ public class PayDataFileController extends JeroController<PayDataFile, IPayDataF
|
||||
* @date: 2021-09-03
|
||||
* @version: V1.0
|
||||
*/
|
||||
@AutoLog(value = "根据会议id查询参会企业列表")
|
||||
@ApiOperation(value="根据会议id查询参会企业列表", notes="根据会议id查询参会企业列表")
|
||||
@GetMapping(value = "/queryListByMeetingId")
|
||||
// @AutoLog(value = "根据会议id查询参会企业列表")
|
||||
// @ApiOperation(value="根据会议id查询参会企业列表", notes="根据会议id查询参会企业列表")
|
||||
// @GetMapping(value = "/queryListByMeetingId")
|
||||
public Result<List<PayMeetingSituation>> queryCompanyByMeetingId(
|
||||
@RequestParam(name="meetingId",required = true) String meetingId
|
||||
) {
|
||||
@@ -356,13 +356,13 @@ public class PayDataFileController extends JeroController<PayDataFile, IPayDataF
|
||||
* @date: 2021-09-06
|
||||
* @version: V1.0
|
||||
*/
|
||||
@AutoLog(value = "根据公司id和会议id查询参会人员列表")
|
||||
@ApiOperation(value="根据公司id和会议id查询参会人员列表", notes="根据公司id和会议id查询参会人员列表")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "meetingId",value = "会议id"),
|
||||
@ApiImplicitParam(name = "companyId", value = "公司id")
|
||||
})
|
||||
@GetMapping(value = "/queryListByCompanyId")
|
||||
// @AutoLog(value = "根据公司id和会议id查询参会人员列表")
|
||||
// @ApiOperation(value="根据公司id和会议id查询参会人员列表", notes="根据公司id和会议id查询参会人员列表")
|
||||
// @ApiImplicitParams({
|
||||
// @ApiImplicitParam(name = "meetingId",value = "会议id"),
|
||||
// @ApiImplicitParam(name = "companyId", value = "公司id")
|
||||
// })
|
||||
// @GetMapping(value = "/queryListByCompanyId")
|
||||
public Result<List<queryPeopleByCompanyIdAndMeetingId>> queryPeopleByCompanyIdAndMeetingId(
|
||||
@RequestParam(name="meetingId",required = true) String meetingId,
|
||||
@RequestParam(name="companyId",required = true) String companyId
|
||||
@@ -379,7 +379,7 @@ public class PayDataFileController extends JeroController<PayDataFile, IPayDataF
|
||||
}
|
||||
});
|
||||
} catch (Exception e) {
|
||||
log.error("手机号、邮箱解密异常!", e);
|
||||
// log.error("手机号、邮箱解密异常!", e);
|
||||
}
|
||||
}
|
||||
return Result.OK(list);
|
||||
@@ -391,13 +391,13 @@ public class PayDataFileController extends JeroController<PayDataFile, IPayDataF
|
||||
* @date: 2021-09-06
|
||||
* @version: V1.0
|
||||
*/
|
||||
@AutoLog(value = "分发")
|
||||
@ApiOperation(value="分发", notes="分发")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "fileId",value = "文件id"),
|
||||
@ApiImplicitParam(name = "mails", value = "邮箱地址,多个以逗号隔开")
|
||||
})
|
||||
@GetMapping(value = "/distribute")
|
||||
// @AutoLog(value = "分发")
|
||||
// @ApiOperation(value="分发", notes="分发")
|
||||
// @ApiImplicitParams({
|
||||
// @ApiImplicitParam(name = "fileId",value = "文件id"),
|
||||
// @ApiImplicitParam(name = "mails", value = "邮箱地址,多个以逗号隔开")
|
||||
// })
|
||||
// @GetMapping(value = "/distribute")
|
||||
public Result<?> distribute(
|
||||
@RequestParam(name="fileId",required = true) String fileId,
|
||||
@RequestParam(name="mails",required = true) String mails
|
||||
@@ -418,13 +418,13 @@ public class PayDataFileController extends JeroController<PayDataFile, IPayDataF
|
||||
* @date: 2021-09-06
|
||||
* @version: V1.0
|
||||
*/
|
||||
@AutoLog(value = "批量分发")
|
||||
@ApiOperation(value="批量分发", notes="批量分发")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "fileIds",value = "文件id,多个以逗号隔开"),
|
||||
@ApiImplicitParam(name = "mails", value = "邮箱地址,多个以逗号隔开")
|
||||
})
|
||||
@GetMapping(value = "/distributes")
|
||||
// @AutoLog(value = "批量分发")
|
||||
// @ApiOperation(value="批量分发", notes="批量分发")
|
||||
// @ApiImplicitParams({
|
||||
// @ApiImplicitParam(name = "fileIds",value = "文件id,多个以逗号隔开"),
|
||||
// @ApiImplicitParam(name = "mails", value = "邮箱地址,多个以逗号隔开")
|
||||
// })
|
||||
// @GetMapping(value = "/distributes")
|
||||
public Result<?> distributes(
|
||||
@RequestParam(name="fileIds",required = true) String fileIds,
|
||||
@RequestParam(name="mails",required = true) String mails
|
||||
@@ -447,9 +447,9 @@ public class PayDataFileController extends JeroController<PayDataFile, IPayDataF
|
||||
* 通过id查询
|
||||
*
|
||||
*/
|
||||
@AutoLog(value = "资料维护-通过id查询")
|
||||
@ApiOperation(value="资料维护-通过id查询", notes="资料维护-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
// @AutoLog(value = "资料维护-通过id查询")
|
||||
// @ApiOperation(value="资料维护-通过id查询", notes="资料维护-通过id查询")
|
||||
// @GetMapping(value = "/queryById")
|
||||
public Result<?> queryById(@RequestParam(name="id",required = true) String id) {
|
||||
PayDataFile payDataFile = payDataFileService.getById(id);
|
||||
if(payDataFile==null) {
|
||||
@@ -462,15 +462,15 @@ public class PayDataFileController extends JeroController<PayDataFile, IPayDataF
|
||||
* 会议上传文件
|
||||
*
|
||||
*/
|
||||
@AutoLog(value = "会议上传文件")
|
||||
@ApiOperation(value="会议上传文件", notes="会议上传文件")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "dataId",value = "目录id"),
|
||||
@ApiImplicitParam(name = "fileIds",value = "文件id,多个以逗号隔开"),
|
||||
@ApiImplicitParam(name = "dataType", value = "文件类型,资料1或者会议2")
|
||||
})
|
||||
@PostMapping(value = "/addMeetingFile")
|
||||
@Transactional
|
||||
// @AutoLog(value = "会议上传文件")
|
||||
// @ApiOperation(value="会议上传文件", notes="会议上传文件")
|
||||
// @ApiImplicitParams({
|
||||
// @ApiImplicitParam(name = "dataId",value = "目录id"),
|
||||
// @ApiImplicitParam(name = "fileIds",value = "文件id,多个以逗号隔开"),
|
||||
// @ApiImplicitParam(name = "dataType", value = "文件类型,资料1或者会议2")
|
||||
// })
|
||||
// @PostMapping(value = "/addMeetingFile")
|
||||
// @Transactional
|
||||
public Result<?> addMeetingFile(@RequestParam(name="dataId",required = true) String dataId,
|
||||
@RequestParam(name="fileIds",required = true) String fileIds,
|
||||
@RequestParam(name="dataType",required = true) int dataType) {
|
||||
|
||||
+4
-4
@@ -26,10 +26,10 @@ import io.swagger.annotations.ApiOperation;
|
||||
* @Date: 2021-08-30
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Api(tags="pay_distribution_record")
|
||||
@RestController
|
||||
@RequestMapping("/payDistributionRecord/payDistributionRecord")
|
||||
@Slf4j
|
||||
//@Api(tags="pay_distribution_record")
|
||||
//@RestController
|
||||
//@RequestMapping("/payDistributionRecord/payDistributionRecord")
|
||||
//@Slf4j
|
||||
public class PayDistributionRecordController extends JeroController<PayDistributionRecord, IPayDistributionRecordService> {
|
||||
@Autowired
|
||||
private IPayDistributionRecordService payDistributionRecordService;
|
||||
|
||||
+4
-4
@@ -46,10 +46,10 @@ import io.swagger.annotations.ApiOperation;
|
||||
* @Date: 2021-08-30
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Api(tags="资料下载记录")
|
||||
@RestController
|
||||
@RequestMapping("/payFileDownloadRecord/payFileDownloadRecord")
|
||||
@Slf4j
|
||||
//@Api(tags="资料下载记录")
|
||||
//@RestController
|
||||
//@RequestMapping("/payFileDownloadRecord/payFileDownloadRecord")
|
||||
//@Slf4j
|
||||
public class PayFileDownloadRecordController extends JeroController<PayFileDownloadRecord, IPayFileDownloadRecordService> {
|
||||
@Value("${jero.path.upload}")
|
||||
private String upLoadPath;
|
||||
|
||||
Reference in New Issue
Block a user