|
|
@@ -11,6 +11,8 @@ import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.validation.annotation.Validated; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
/** |
|
|
|
* @Classname PolicyRegulationsController |
|
|
|
* @Description |
|
|
@@ -38,6 +40,14 @@ public class PolicyRegulationsController { |
|
|
|
return policyManage.save(dto); |
|
|
|
} |
|
|
|
|
|
|
|
@ApiOperation(value = "政策条例保存", notes = "政策条例保存") |
|
|
|
@PostMapping("/save-batch") |
|
|
|
public String saveBatch(@RequestBody List<NdKqZzsfwPolicyDTO> dtos) { |
|
|
|
|
|
|
|
return policyManage.saveBatch(dtos); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "政务事项数据清空", notes = "政务事项数据清空") |
|
|
|
@GetMapping("/remove-all") |
|
|
|
public String removeAll() { |
|
|
|