|
@@ -5,6 +5,7 @@ import java.util.Map;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
import com.jtgh.yjpt.service.cg.CgdtjkService;
|
|
@@ -27,8 +28,16 @@ public class CgdtjkController {
|
|
|
*
|
|
|
* @param jsonStr
|
|
|
* @return
|
|
|
+ *
|
|
|
+ * {
|
|
|
+ * @RequestMapping(value = "/sz",method=RequestMethod.GET)
|
|
|
+ * @RequestParam String key,@RequestParam String cgbh,@RequestParam String zdwd,@RequestParam String zdyl,@RequestParam String zdyw
|
|
|
+ *
|
|
|
+ * @RequestBody CgjkszBean cgjkszBean
|
|
|
+ * @RequestMapping(value = "/sz",method=RequestMethod.POST)
|
|
|
+ * }
|
|
|
*/
|
|
|
- @RequestMapping(value = "/sz")
|
|
|
+ @RequestMapping(value = "/sz",method=RequestMethod.GET)//POST方式,bean属性都是空的?
|
|
|
@ResponseBody
|
|
|
public Map<String, String> sz(CgjkszBean cgjkszBean) {
|
|
|
// 设置储罐适用范围信息
|