...
This commit is contained in:
parent
3b0ecebdfb
commit
b04d8c86c9
|
@ -74,7 +74,7 @@ public class ResourceMountController {
|
||||||
tResourceMountApplyDTO.setParameterContent(JSONObject.toJSONString(index));
|
tResourceMountApplyDTO.setParameterContent(JSONObject.toJSONString(index));
|
||||||
tResourceMountApplyDTO.setParameterContentMd5(SecureUtil.md5(JSONObject.toJSONString(index)));
|
tResourceMountApplyDTO.setParameterContentMd5(SecureUtil.md5(JSONObject.toJSONString(index)));
|
||||||
tResourceMountApplyDTO.setResourceDTO(index);
|
tResourceMountApplyDTO.setResourceDTO(index);
|
||||||
tResourceMountApplyDTO.setEnclosure(tResourceBatchMountApplyDTO.getEnclosure());
|
tResourceMountApplyDTO.setEnclosure(index.getEnclosure());
|
||||||
|
|
||||||
ValidatorUtils.validateEntity(tResourceMountApplyDTO, AddGroup.class, DefaultGroup.class);
|
ValidatorUtils.validateEntity(tResourceMountApplyDTO, AddGroup.class, DefaultGroup.class);
|
||||||
tResourceMountApplyService.save(tResourceMountApplyDTO); // 保存单条资源申请记录
|
tResourceMountApplyService.save(tResourceMountApplyDTO); // 保存单条资源申请记录
|
||||||
|
|
|
@ -44,7 +44,7 @@ public class ResourceController {
|
||||||
@ApiImplicitParam(name = Constant.PAGE, value = "当前页码,从1开始", paramType = "query", required = true, dataType = "int"),
|
@ApiImplicitParam(name = Constant.PAGE, value = "当前页码,从1开始", paramType = "query", required = true, dataType = "int"),
|
||||||
@ApiImplicitParam(name = Constant.LIMIT, value = "每页显示记录数", paramType = "query", required = true, dataType = "int"),
|
@ApiImplicitParam(name = Constant.LIMIT, value = "每页显示记录数", paramType = "query", required = true, dataType = "int"),
|
||||||
@ApiImplicitParam(name = "type", value = "类型", paramType = "query", required = true, dataType = "String"),
|
@ApiImplicitParam(name = "type", value = "类型", paramType = "query", required = true, dataType = "String"),
|
||||||
@ApiImplicitParam(name = "name", value = "资源名称", paramType = "query", dataType="String") ,
|
@ApiImplicitParam(name = "name", value = "资源名称", paramType = "query", dataType = "String"),
|
||||||
@ApiImplicitParam(name = Constant.ORDER_FIELD, value = "排序字段", paramType = "query", dataType = "String"),
|
@ApiImplicitParam(name = Constant.ORDER_FIELD, value = "排序字段", paramType = "query", dataType = "String"),
|
||||||
@ApiImplicitParam(name = Constant.ORDER, value = "排序方式,可选值(asc、desc)", paramType = "query", dataType = "String"),
|
@ApiImplicitParam(name = Constant.ORDER, value = "排序方式,可选值(asc、desc)", paramType = "query", dataType = "String"),
|
||||||
@ApiImplicitParam(name = "creator", value = "创建者用户id", paramType = "query", dataType = "String")
|
@ApiImplicitParam(name = "creator", value = "创建者用户id", paramType = "query", dataType = "String")
|
||||||
|
|
Loading…
Reference in New Issue