@ -65,4 +65,11 @@ public class ParamIndexController extends BasicController {
return Response.success("OK");
}
@PostMapping("clearParamindex")
@ApiOperation("清空rptparamindex表数据")
public Response<String> clearParamindex() throws Exception {
service.clearAll();
@ -14,4 +14,6 @@ public interface ParamIndexService {
BindDetail getRpt(Integer sensorId) throws Exception;
void updateRpt(BindingModel item) throws Exception;
void clearAll();
@ -206,7 +206,6 @@ public class IcdFileConfigServiceImpl implements IcdFileConfigService {
configRepository.deleteAll();
fileRepository.deleteAll();
iedRepository.deleteAll();
rptparamindexRepository.deleteAll();
@Override
@ -113,4 +113,9 @@ public class ParamIndexServiceImpl implements ParamIndexService {
public void clearAll() {