From 28addaa46cb97c20ad37e13eb10535de7b75e71c Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期三, 29 十一月 2023 19:29:43 +0800
Subject: [PATCH] 首次报工开始时间为工序开始时间

---
 api/v1/report_work.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/api/v1/report_work.go b/api/v1/report_work.go
index 9bfc2be..4e08883 100644
--- a/api/v1/report_work.go
+++ b/api/v1/report_work.go
@@ -16,7 +16,7 @@
 // @Tags      鎶ュ伐
 // @Summary   涓婃姤
 // @Produce   application/json
-// @Param     object  query    request.ReportWork true  "鏌ヨ鍙傛暟"
+// @Param     object  body    request.ReportWork true  "鏌ヨ鍙傛暟"
 // @Success   200   {object}  contextx.Response{}  "鎴愬姛"
 // @Router    /v1/reportWork/report [post]
 func (slf *ReportWorkApi) Report(c *gin.Context) {
@@ -38,7 +38,7 @@
 // @Tags      鎶ュ伐
 // @Summary   鎶ュ伐鍒楄〃
 // @Produce   application/json
-// @Param     object  body    request.ReportWorkList true  "鏌ヨ鍙傛暟"
+// @Param     object  query    request.ReportWorkList true  "鏌ヨ鍙傛暟"
 // @Success   200   {object}  contextx.ResponseList{data=[]model.ReportWork}  "鎴愬姛"
 // @Router    /v1/reportWork/list [get]
 func (slf *ReportWorkApi) ReportList(c *gin.Context) {

--
Gitblit v1.8.0