|
|
@@ -99,13 +99,15 @@ public class depotStyleController {
|
|
99
|
99
|
@ApiOperation(value = "单个作业点位图信息", notes = "查找单个作业点位图信息")
|
|
100
|
100
|
@ApiImplicitParams({
|
|
101
|
101
|
@ApiImplicitParam(name = "indexid", value = "仓房ID", paramType = "query"),
|
|
|
102
|
+ @ApiImplicitParam(name = "orgId", value = "库ID", paramType = "query"),
|
|
102
|
103
|
@ApiImplicitParam(name = "type", value = "查看的类型", paramType = "query")
|
|
103
|
104
|
})
|
|
104
|
|
- public List<TDepotStyle> getSinglePointChart(String indexid, String type) {
|
|
|
105
|
+ public List<TDepotStyle> getSinglePointChart(String indexid, String type,Integer orgId) {
|
|
105
|
106
|
TDepotStyleExample example = new TDepotStyleExample();
|
|
106
|
107
|
TDepotStyleExample.Criteria criteria = example.createCriteria();
|
|
107
|
108
|
criteria.andIndexidEqualTo(Integer.valueOf(indexid));
|
|
108
|
109
|
criteria.andTypeEqualTo(type);
|
|
|
110
|
+ criteria.andOrgIdEqualTo(orgId);
|
|
109
|
111
|
List<TDepotStyle> list = Service.selectPoint(example);
|
|
110
|
112
|
return list;
|
|
111
|
113
|
}
|
|
|
@@ -118,13 +120,15 @@ public class depotStyleController {
|
|
118
|
120
|
@RequestMapping(value = "/getAllSinglePointChart", produces = MediaType.APPLICATION_JSON_VALUE, method = RequestMethod.GET)
|
|
119
|
121
|
@ApiOperation(value = "全部作业点位图信息", notes = "查找全部作业点位图信息")
|
|
120
|
122
|
@ApiImplicitParams({
|
|
|
123
|
+ @ApiImplicitParam(name = "orgId", value = "库ID", paramType = "query"),
|
|
121
|
124
|
@ApiImplicitParam(name = "indexid", value = "仓房ID", paramType = "query")
|
|
122
|
125
|
})
|
|
123
|
|
- public List<TDepotStyle> getAllSinglePointChart(String indexid) {
|
|
|
126
|
+ public List<TDepotStyle> getAllSinglePointChart(String indexid,Integer orgId) {
|
|
124
|
127
|
TDepotStyleExample example = new TDepotStyleExample();
|
|
125
|
128
|
TDepotStyleExample.Criteria criteria = example.createCriteria();
|
|
126
|
129
|
criteria.andIndexidEqualTo(Integer.valueOf(indexid));
|
|
127
|
130
|
criteria.andTypeLike("3._");
|
|
|
131
|
+ criteria.andOrgIdEqualTo(orgId);
|
|
128
|
132
|
List<TDepotStyle> list = Service.selectPoint(example);
|
|
129
|
133
|
return list;
|
|
130
|
134
|
}
|