maven
4 天以前 c5767a1c10132d1e28d8242384ad82820f753a20
src/main/java/com/ruoyi/production/controller/ProductionProductMainController.java
@@ -6,6 +6,7 @@
import com.ruoyi.production.pojo.ProductionProductMain;
import com.ruoyi.production.service.ProductionProductMainService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -15,10 +16,11 @@
@Api(value = "生产报工")
public class ProductionProductMainController {
    @Autowired
    private ProductionProductMainService productionProductMainService;
    @GetMapping("page")
    @GetMapping("listPage")
    public R page(Page<ProductionProductMainDto> page, ProductionProductMainDto productionProductMainDto) {
        return R.ok();
        return R.ok(productionProductMainService.listPageProductionProductMainDto(page, productionProductMainDto));
    }
}