修改统计报错问题

This commit is contained in:
sh
2026-01-29 13:37:48 +08:00
parent 5146b4e221
commit 5af500cc0a

View File

@@ -8,7 +8,6 @@ import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.utils.StringUtils; import com.ruoyi.common.utils.StringUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
@@ -107,7 +106,7 @@ public class StaticsController extends BaseController {
* @return * @return
*/ */
@GetMapping("/qygwtjCount") @GetMapping("/qygwtjCount")
public AjaxResult qygwtjCount(@RequestBody Staticsquery staticsquery) public AjaxResult qygwtjCount(Staticsquery staticsquery)
{ {
if(staticsquery==null){ if(staticsquery==null){
return error("参数为空!"); return error("参数为空!");