|
|
@@ -232,13 +232,17 @@ public class ProcessAuditServiceImpl extends ServiceImpl<ProcessAuditMapper, Pro
|
|
232
|
232
|
if (!StringUtils.isEmpty(pageParam.getCondition())) {
|
|
233
|
233
|
org.json.JSONObject object = new org.json.JSONObject(pageParam.getCondition());
|
|
234
|
234
|
if (StringUtils.isNotBlank(object.optString("type"))) {
|
|
235
|
|
- ew.eq("type", object.optString("type"));
|
|
236
|
|
- if(object.optString("type").equals("yjbg")){//药剂保管
|
|
237
|
|
- ew.eq("result", 2);//药剂保管d第一条数据
|
|
238
|
|
- }else{
|
|
239
|
|
- ew.eq("result", 1);//取第一条数据
|
|
240
|
|
- }
|
|
241
|
|
-
|
|
|
235
|
+ if(object.optString("type").equals("xz")){
|
|
|
236
|
+ ew.like("type", "xz");
|
|
|
237
|
+ ew.eq("result", 1);//取第一条数据
|
|
|
238
|
+ }else{
|
|
|
239
|
+ ew.eq("type", object.optString("type"));
|
|
|
240
|
+ if(object.optString("type").equals("yjbg")){//药剂保管
|
|
|
241
|
+ ew.eq("result", 2);//药剂保管d第一条数据
|
|
|
242
|
+ }else{
|
|
|
243
|
+ ew.eq("result", 1);//取第一条数据
|
|
|
244
|
+ }
|
|
|
245
|
+ }
|
|
242
|
246
|
}else{
|
|
243
|
247
|
ew.eq("result", 1);//取第一条数据
|
|
244
|
248
|
}
|