|
@@ -46,16 +46,18 @@ public class BusinessStoreWareDetailController {
|
46
|
46
|
|
47
|
47
|
@Resource
|
48
|
48
|
private BusinessContractService contractService;
|
49
|
|
-
|
50
|
|
-
|
51
|
|
- /**
|
52
|
|
- * 删除
|
53
|
|
- * @param id 主键
|
54
|
|
- * @return
|
55
|
|
- * @throws JsonParseException
|
56
|
|
- * @throws JsonMappingException
|
57
|
|
- * @throws IOException
|
58
|
|
- */
|
|
49
|
+
|
|
50
|
+ @RequestMapping(value="/getStoreWareDetailList",produces = MediaType.APPLICATION_JSON_VALUE, method=RequestMethod.GET)
|
|
51
|
+ @ApiOperation(value="获取", notes = "根据id删除")
|
|
52
|
+ @ApiImplicitParams({
|
|
53
|
+ @ApiImplicitParam(name = "zid", value = "主表ID", paramType = "query"),
|
|
54
|
+ @ApiImplicitParam(name = "dataType", value = "数据类型", paramType = "query")
|
|
55
|
+ })
|
|
56
|
+ public List<BusinessStoreWareDetail> getStoreWareDetailList(Integer zid, String dataType) {
|
|
57
|
+ List<BusinessStoreWareDetail> list = detailService.getByZidAndType(zid, dataType);
|
|
58
|
+ return list;
|
|
59
|
+ }
|
|
60
|
+
|
59
|
61
|
@RequestMapping(value="/remove",produces = MediaType.APPLICATION_JSON_VALUE, method=RequestMethod.POST)
|
60
|
62
|
@ApiOperation(value="删除", notes = "根据id删除")
|
61
|
63
|
@ApiImplicitParams({
|