提交代码
This commit is contained in:
parent
44b3768c91
commit
4836ddea44
|
|
@ -18,9 +18,6 @@ import org.springframework.web.multipart.MultipartFile;
|
|||
import javax.annotation.Resource;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.io.IOException;
|
||||
import java.io.PrintWriter;
|
||||
import java.net.URLDecoder;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
|
|
@ -119,7 +116,7 @@ public class DataSetBasicFileController extends BaseController
|
|||
* 新增文件基础
|
||||
*/
|
||||
@RequiresPermissions("dataCenter:dataSetBasicFile:add")
|
||||
@PostMapping
|
||||
@PostMapping("/add")
|
||||
@SysLog(title = "文件基础", businessType = OperaType.INSERT,logType = 0,module = "文件基础",details = "导出文件基础列表")
|
||||
public AjaxResult add(@RequestBody DataSetBasicFileEntity entity)
|
||||
{
|
||||
|
|
@ -130,7 +127,7 @@ public class DataSetBasicFileController extends BaseController
|
|||
* 修改文件基础
|
||||
*/
|
||||
@RequiresPermissions("dataCenter:dataSetBasicFile:edit")
|
||||
@PutMapping
|
||||
@PutMapping("/update")
|
||||
@SysLog(title = "文件基础", businessType = OperaType.UPDATE,logType = 0,module = "文件基础",details = "导出文件基础列表")
|
||||
public AjaxResult edit(@RequestBody DataSetBasicFileEntity entity)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ public class DataSetLabelsController extends BaseController
|
|||
* 获取样本标签管理详细信息
|
||||
*/
|
||||
@RequiresPermissions("dataCenter:dataSetLabels:query")
|
||||
@GetMapping(value = "/{labelId}")
|
||||
@GetMapping(value = "getInfo/{labelId}")
|
||||
public AjaxResult getInfo(@PathVariable("labelId") Long labelId)
|
||||
{
|
||||
return dataSetLabelsService.selectDataSetLabelsByLabelId(labelId);
|
||||
|
|
@ -71,7 +71,7 @@ public class DataSetLabelsController extends BaseController
|
|||
* 新增样本标签管理
|
||||
*/
|
||||
@RequiresPermissions("dataCenter:dataSetLabels:add")
|
||||
@PostMapping
|
||||
@PostMapping("/add")
|
||||
@SysLog(title = "样本标签管理", businessType = OperaType.INSERT,logType = 0,module = "样本标签管理",details = "导出样本标签管理列表")
|
||||
public AjaxResult add(@RequestBody DataSetLabels dataSetLabels)
|
||||
{
|
||||
|
|
@ -82,7 +82,7 @@ public class DataSetLabelsController extends BaseController
|
|||
* 修改样本标签管理
|
||||
*/
|
||||
@RequiresPermissions("dataCenter:dataSetLabels:edit")
|
||||
@PutMapping
|
||||
@PutMapping("/update")
|
||||
@SysLog(title = "样本标签管理", businessType = OperaType.UPDATE,logType = 0,module = "样本标签管理",details = "导出样本标签管理列表")
|
||||
public AjaxResult edit(@RequestBody DataSetLabels dataSetLabels)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ public class DataSetSampleController extends BaseController {
|
|||
* 获取详细信息
|
||||
*/
|
||||
@RequiresPermissions("dataCenter:sample:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
@GetMapping(value = "getInfo/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return sampleService.selectSampleById(id);
|
||||
|
|
@ -84,7 +84,7 @@ public class DataSetSampleController extends BaseController {
|
|||
* 修改
|
||||
*/
|
||||
@RequiresPermissions("dataCenter:sample:edit")
|
||||
@PutMapping
|
||||
@PostMapping("/update")
|
||||
@SysLog(title = "样本类型管理", businessType = OperaType.UPDATE,logType = 0,module = "样本类型管理",details = "修改数据")
|
||||
public AjaxResult edit(@RequestBody DataSetSampleEntity entity)
|
||||
{
|
||||
|
|
@ -95,7 +95,7 @@ public class DataSetSampleController extends BaseController {
|
|||
* 删除
|
||||
*/
|
||||
@RequiresPermissions("dataCenter:sample:remove")
|
||||
@DeleteMapping("/delete/{ids}")
|
||||
@PostMapping("/delete/{ids}")
|
||||
@SysLog(title = "样本类型管理", businessType = OperaType.DELETE,logType = 0,module = "样本类型管理",details = "删除数据")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ public class DataSetTeamMemberController extends BaseController {
|
|||
* 获取标注人员详细信息
|
||||
*/
|
||||
@RequiresPermissions("dataCenter:member:query")
|
||||
@GetMapping(value = "/{memberId}")
|
||||
@GetMapping(value = "getInfo/{memberId}")
|
||||
public AjaxResult getInfo(@PathVariable("memberId") Long memberId)
|
||||
{
|
||||
return dataSetTeamMemberService.selectTeamMemberByMemberId(memberId);
|
||||
|
|
@ -71,7 +71,7 @@ public class DataSetTeamMemberController extends BaseController {
|
|||
* 新增标注人员
|
||||
*/
|
||||
@RequiresPermissions("dataCenter:member:add")
|
||||
@PostMapping
|
||||
@PostMapping("/add")
|
||||
@SysLog(title = "标注人员管理", businessType = OperaType.INSERT,logType = 0,module = "标注人员",details = "插入标注人员列表")
|
||||
public AjaxResult add(@RequestBody DataSetTeamMemberEntity entity)
|
||||
{
|
||||
|
|
@ -82,7 +82,7 @@ public class DataSetTeamMemberController extends BaseController {
|
|||
* 修改标注人员
|
||||
*/
|
||||
@RequiresPermissions("dataCenter:member:edit")
|
||||
@PutMapping
|
||||
@PostMapping("/update")
|
||||
@SysLog(title = "标注人员管理", businessType = OperaType.UPDATE,logType = 0,module = "标注人员",details = "导出标注人员列表")
|
||||
public AjaxResult edit(@RequestBody DataSetTeamMemberEntity entity)
|
||||
{
|
||||
|
|
@ -93,7 +93,7 @@ public class DataSetTeamMemberController extends BaseController {
|
|||
* 删除标注人员
|
||||
*/
|
||||
@RequiresPermissions("dataCenter:member:remove")
|
||||
@DeleteMapping("/{memberIds}")
|
||||
@DeleteMapping("delete/{memberIds}")
|
||||
@SysLog(title = "标注人员管理", businessType = OperaType.DELETE,logType = 0,module = "标注人员",details = "删除标注人员列表")
|
||||
public AjaxResult remove(@PathVariable Long[] memberIds)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue