微调
This commit is contained in:
@@ -102,7 +102,7 @@
|
||||
<plugin>
|
||||
<groupId>com.spotify</groupId>
|
||||
<artifactId>docker-maven-plugin</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<version>1.2.2</version>
|
||||
<executions>
|
||||
<!--执行mvn package,即执行 mvn clean package docker:build-->
|
||||
<execution>
|
||||
|
||||
@@ -69,19 +69,19 @@ public class CsDataArrayController extends BaseController {
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, list, methodDescribe);
|
||||
}
|
||||
|
||||
// @OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||
// @PostMapping("/getDataArrayById")
|
||||
// @ApiOperation("获取详细数据(id)")
|
||||
// @ApiImplicitParams({
|
||||
// @ApiImplicitParam(name = "pid", value = "数据集id", required = true),
|
||||
// @ApiImplicitParam(name = "name", value = "名称", required = true)
|
||||
// })
|
||||
// @Deprecated
|
||||
// public HttpResult<List<CsDataArray>> getDataArrayById(@RequestParam("pid") String pid, @RequestParam("name") String name){
|
||||
// String methodDescribe = getMethodDescribe("getDataArrayById");
|
||||
// List<CsDataArray> list = csDataArrayService.getDataArrayById(pid, name);
|
||||
// return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, list, methodDescribe);
|
||||
// }
|
||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||
@PostMapping("/getDataArrayById")
|
||||
@ApiOperation("获取详细数据(id)")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "pid", value = "数据集id", required = true),
|
||||
@ApiImplicitParam(name = "name", value = "名称", required = true)
|
||||
})
|
||||
@Deprecated
|
||||
public HttpResult<List<CsDataArray>> getDataArrayById(@RequestParam("pid") String pid, @RequestParam("name") String name){
|
||||
String methodDescribe = getMethodDescribe("getDataArrayById");
|
||||
List<CsDataArray> list = csDataArrayService.getDataArrayById(pid, name);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, list, methodDescribe);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -42,7 +42,6 @@ public interface ICsDataArrayService extends IService<CsDataArray> {
|
||||
*/
|
||||
List<CsDataArray> getGroupData(String dataSet);
|
||||
|
||||
|
||||
// List<CsDataArray> getDataArrayById(String pid, String name);
|
||||
List<CsDataArray> getDataArrayById(String pid, String name);
|
||||
|
||||
}
|
||||
|
||||
@@ -120,10 +120,10 @@ public class CsDataArrayServiceImpl extends ServiceImpl<CsDataArrayMapper, CsDat
|
||||
return this.baseMapper.getGroupData(dataSet);
|
||||
}
|
||||
|
||||
// @Override
|
||||
// public List<CsDataArray> getDataArrayById(String pid, String name) {
|
||||
// return this.lambdaQuery().eq(CsDataArray::getPid,pid).eq(CsDataArray::getName,name).list();
|
||||
// }
|
||||
@Override
|
||||
public List<CsDataArray> getDataArrayById(String pid, String name) {
|
||||
return this.lambdaQuery().eq(CsDataArray::getPid,pid).eq(CsDataArray::getName,name).list();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user