|
|
@@ -12,9 +12,12 @@ import org.slf4j.LoggerFactory;
|
|
12
|
12
|
import org.springframework.http.MediaType;
|
|
13
|
13
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
14
|
14
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
15
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
15
|
16
|
import org.springframework.web.bind.annotation.RestController;
|
|
16
|
17
|
|
|
17
|
18
|
import javax.annotation.Resource;
|
|
|
19
|
+
|
|
|
20
|
+import java.math.BigDecimal;
|
|
18
|
21
|
import java.util.HashMap;
|
|
19
|
22
|
import java.util.List;
|
|
20
|
23
|
import java.util.Map;
|
|
|
@@ -138,12 +141,21 @@ public class ReceiveNoticeController {
|
|
138
|
141
|
@RequestMapping(value="/saveDataRk", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.POST)
|
|
139
|
142
|
@ApiOperation(value="增加性质转变单数据(入库)", notes = "增加性质转变单数据(入库)")
|
|
140
|
143
|
@ApiImplicitParams({
|
|
141
|
|
- @ApiImplicitParam(name = "paramMap", value = "接收的数据", paramType = "query")
|
|
|
144
|
+ @ApiImplicitParam(name = "orgId", value = "组织id", paramType = "query"),
|
|
|
145
|
+ @ApiImplicitParam(name = "storehouseId", value = "仓房", paramType = "query"),
|
|
|
146
|
+ @ApiImplicitParam(name = "warehouseId", value = "货位", paramType = "query"),
|
|
|
147
|
+ @ApiImplicitParam(name = "rksl", value = "入库数量", paramType = "query"),
|
|
|
148
|
+ @ApiImplicitParam(name = "grainVarietyName", value = "品种名称", paramType = "query")
|
|
142
|
149
|
})
|
|
143
|
|
- public void saveDataRk(Map<String, Object> paramMap) {
|
|
144
|
|
- logger.info("接收到的参数是:\n"+paramMap);
|
|
145
|
|
- receiveNoticeService.saveDataRk(paramMap);
|
|
|
150
|
+ public void saveDataRk(String orgId,Integer storehouseId,Integer warehouseId,String grainVarietyName,
|
|
|
151
|
+ BigDecimal rksl,String lsxzzbdh) {
|
|
|
152
|
+
|
|
|
153
|
+ logger.info("接收到的参数是:\n"+orgId);
|
|
|
154
|
+ receiveNoticeService.saveDataRk( orgId, storehouseId, warehouseId, grainVarietyName,
|
|
|
155
|
+ rksl, lsxzzbdh);
|
|
146
|
156
|
|
|
147
|
157
|
}
|
|
|
158
|
+
|
|
|
159
|
+
|
|
148
|
160
|
|
|
149
|
161
|
}
|