喻忠伟 4 months ago
parent 4d5aea7bce
commit b289ba20ff
  1. 3
      jeecg-boot-master/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expert/service/impl/ExpertServiceImpl.java

@ -45,10 +45,13 @@ public class ExpertServiceImpl extends ServiceImpl<ExpertMapper, Expert> impleme
String stat = jsonObject.getString("stat"); String stat = jsonObject.getString("stat");
String[] compNames = {}; String[] compNames = {};
String[] compids = {}; String[] compids = {};
String[] stats = {};
if(oConvertUtils.isNotEmpty(compid)&&oConvertUtils.isNotEmpty(compName)){ if(oConvertUtils.isNotEmpty(compid)&&oConvertUtils.isNotEmpty(compName)){
compNames = compName.split(","); compNames = compName.split(",");
compids = compid.split(","); compids = compid.split(",");
stats = stat.split(",");
} }
stat=stats[0];
//根据user id查询专家 //根据user id查询专家
LambdaQueryWrapper<Expert> query = new LambdaQueryWrapper<Expert>() LambdaQueryWrapper<Expert> query = new LambdaQueryWrapper<Expert>()
.like(Expert::getUserId, user_id); .like(Expert::getUserId, user_id);

Loading…
Cancel
Save