|
@@ -9,6 +9,7 @@ import com.shigongli.common.StringUtils;
|
9
|
9
|
import com.shigongli.constants.StatusConstant;
|
10
|
10
|
import com.shigongli.entity.TaMateTag;
|
11
|
11
|
import com.shigongli.service.ITaMateTagService;
|
|
12
|
+import com.shigongli.service.ITaMetaImageTagService;
|
12
|
13
|
import io.swagger.annotations.Api;
|
13
|
14
|
import io.swagger.annotations.ApiOperation;
|
14
|
15
|
import io.swagger.annotations.ApiParam;
|
|
@@ -48,6 +49,9 @@ public class TaMateTagGroupController extends BaseController {
|
48
|
49
|
@Autowired
|
49
|
50
|
public ITaMateTagService iTaMateTagService;
|
50
|
51
|
|
|
52
|
+ @Autowired
|
|
53
|
+ public ITaMetaImageTagService iTaMetaImageTagService;
|
|
54
|
+
|
51
|
55
|
|
52
|
56
|
/**
|
53
|
57
|
* 分页查询列表
|
|
@@ -117,6 +121,10 @@ public class TaMateTagGroupController extends BaseController {
|
117
|
121
|
}
|
118
|
122
|
|
119
|
123
|
taMateTagGroup.setStatus(StatusConstant.DELETE);
|
|
124
|
+
|
|
125
|
+ iTaMateTagService.deleteByGroup(taMateTagGroup.getGroupId());
|
|
126
|
+ iTaMetaImageTagService.deleteByTagGroup(taMateTagGroup.getGroupId());
|
|
127
|
+
|
120
|
128
|
return taMateTagGroupUpdate(id, taMateTagGroup);
|
121
|
129
|
}
|
122
|
130
|
|