|
@@ -70,6 +70,9 @@ public class KcswDefaultServiceImpl extends ServiceImpl<KcswDefaultMapper, DataK
|
70
|
70
|
if (StringUtils.isNotBlank(pageParam.getLspzName())){
|
71
|
71
|
queryWrapper.like("b_2.enumName",pageParam.getLspzName());
|
72
|
72
|
}
|
|
73
|
+ if (StringUtils.isNotBlank(pageParam.getJyjg())){
|
|
74
|
+ queryWrapper.like("DATA_CRKYW_JYXX_DEFAULT.jyjg",pageParam.getJyjg());
|
|
75
|
+ }
|
73
|
76
|
if (StringUtils.isNotBlank(pageParam.getCph())){
|
74
|
77
|
queryWrapper.like("DATA_CRKYW_RMDJ_DEFAULT.cph",pageParam.getCph());
|
75
|
78
|
}
|
|
@@ -112,13 +115,14 @@ public class KcswDefaultServiceImpl extends ServiceImpl<KcswDefaultMapper, DataK
|
112
|
115
|
String xj = "6879"; //县级储备
|
113
|
116
|
Boolean isFilter = false; //是否性质条件过滤
|
114
|
117
|
String orgId = "";
|
|
118
|
+ String cityId = crkKcswParam.getCityId();
|
115
|
119
|
Double mzl = 0.7; //折算比例,默认0.7
|
116
|
120
|
if (StringUtils.isNotBlank(crkKcswParam.getLsxz())){ //表示需要进行过滤
|
117
|
121
|
xz = crkKcswParam.getLsxz();
|
118
|
122
|
isFilter = true;
|
119
|
123
|
}
|
120
|
124
|
|
121
|
|
- List<CrkKcswXzDataVO> dfcbList = kcswDefaultMapper.getXzList(xz,orgId);
|
|
125
|
+ List<CrkKcswXzDataVO> dfcbList = kcswDefaultMapper.getXzList(xz,orgId,cityId);
|
122
|
126
|
for(CrkKcswXzDataVO xzDataVO:dfcbList){
|
123
|
127
|
String orgId_ = xzDataVO.getOrgId();
|
124
|
128
|
CrkKcswDataVO crkKcswDataVO = new CrkKcswDataVO();
|
|
@@ -156,7 +160,7 @@ public class KcswDefaultServiceImpl extends ServiceImpl<KcswDefaultMapper, DataK
|
156
|
160
|
if (!isFilter ||(isFilter && StringUtils.equals(sj,crkKcswParam.getLsxz()))) {
|
157
|
161
|
//省级储备
|
158
|
162
|
//原粮:小麦,青稞,稻谷
|
159
|
|
- List<CrkKcswXzDataVO> sjcbList = kcswDefaultMapper.getXzList(sj, orgId_);
|
|
163
|
+ List<CrkKcswXzDataVO> sjcbList = kcswDefaultMapper.getXzList(sj, orgId_,cityId);
|
160
|
164
|
if (sjcbList.size() > 0) {
|
161
|
165
|
CrkKcswXzDataVO sjcb = sjcbList.get(0);
|
162
|
166
|
//得到省级小麦,大米
|
|
@@ -193,7 +197,7 @@ public class KcswDefaultServiceImpl extends ServiceImpl<KcswDefaultMapper, DataK
|
193
|
197
|
//市级储备
|
194
|
198
|
if (!isFilter ||(isFilter && StringUtils.equals(cj,crkKcswParam.getLsxz()))) {
|
195
|
199
|
//原粮:小麦,青稞,稻谷
|
196
|
|
- List<CrkKcswXzDataVO> cjcbList = kcswDefaultMapper.getXzList(cj, orgId_);
|
|
200
|
+ List<CrkKcswXzDataVO> cjcbList = kcswDefaultMapper.getXzList(cj, orgId_,cityId);
|
197
|
201
|
if (cjcbList.size() > 0) {
|
198
|
202
|
CrkKcswXzDataVO cjcb = cjcbList.get(0);
|
199
|
203
|
//得到市级小麦,大米
|
|
@@ -229,7 +233,7 @@ public class KcswDefaultServiceImpl extends ServiceImpl<KcswDefaultMapper, DataK
|
229
|
233
|
//县级储备
|
230
|
234
|
if (!isFilter ||(isFilter && StringUtils.equals(xj,crkKcswParam.getLsxz()))) {
|
231
|
235
|
//原粮:小麦,青稞,稻谷
|
232
|
|
- List<CrkKcswXzDataVO> xjcbList = kcswDefaultMapper.getXzList(xj, orgId_);
|
|
236
|
+ List<CrkKcswXzDataVO> xjcbList = kcswDefaultMapper.getXzList(xj, orgId_,cityId);
|
233
|
237
|
if (xjcbList.size() > 0) {
|
234
|
238
|
CrkKcswXzDataVO xjcb = xjcbList.get(0);
|
235
|
239
|
//得到县级小麦,大米
|