|
@@ -7,10 +7,7 @@ import com.alibaba.fastjson.JSONObject;
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
import com.management.platform.entity.*;
|
|
import com.management.platform.entity.*;
|
|
-import com.management.platform.mapper.ClueMapper;
|
|
|
|
-import com.management.platform.mapper.CustomMapper;
|
|
|
|
-import com.management.platform.mapper.SysFormMapper;
|
|
|
|
-import com.management.platform.mapper.UserMapper;
|
|
|
|
|
|
+import com.management.platform.mapper.*;
|
|
import com.management.platform.service.ContactsService;
|
|
import com.management.platform.service.ContactsService;
|
|
import com.management.platform.service.CustomService;
|
|
import com.management.platform.service.CustomService;
|
|
import com.management.platform.service.WxCorpInfoService;
|
|
import com.management.platform.service.WxCorpInfoService;
|
|
@@ -48,10 +45,11 @@ public class CustomController {
|
|
@Autowired
|
|
@Autowired
|
|
private CustomMapper customMapper;
|
|
private CustomMapper customMapper;
|
|
@Autowired
|
|
@Autowired
|
|
- private ClueMapper clueMapper;
|
|
|
|
- @Autowired
|
|
|
|
private UserMapper userMapper;
|
|
private UserMapper userMapper;
|
|
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ private SysDictMapper sysDictMapper;
|
|
|
|
+
|
|
@Resource
|
|
@Resource
|
|
private ExcelExportServiceImpl excelExportService;
|
|
private ExcelExportServiceImpl excelExportService;
|
|
@Resource
|
|
@Resource
|
|
@@ -146,6 +144,13 @@ public class CustomController {
|
|
value = String.valueOf(aClass.getMethod("getInchargerName").invoke(bo1));
|
|
value = String.valueOf(aClass.getMethod("getInchargerName").invoke(bo1));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ if(model.equals("customSourceValue")){
|
|
|
|
+ if(wxCorpInfo!=null&&wxCorpInfo.getSaasSyncContact()==1){
|
|
|
|
+ value = "$userName"+String.valueOf(aClass.getMethod("getCustomSourceValue").invoke(bo1))+"$";
|
|
|
|
+ }else {
|
|
|
|
+ value = String.valueOf(aClass.getMethod("getCustomSourceValue").invoke(bo1)).equals("null") ?"" :String.valueOf(aClass.getMethod("getCustomSourceValue").invoke(bo1));
|
|
|
|
+ }
|
|
|
|
+ }
|
|
item.add(value);
|
|
item.add(value);
|
|
}
|
|
}
|
|
}
|
|
}
|