|
|
@@ -466,29 +466,29 @@ public class PayServiceImpl implements PayService {
|
|
|
Map deptInfo = ddClient_contacts.getDepartmentInfo(ddClient.getAccessToken(), Long.parseLong(UtilMap.getList(e, "departmentSelectField_mjgj9noi_id").get(0).toString()));
|
|
|
name = UtilMap.getString(deptInfo, "name");
|
|
|
log.info("部门信息:{}",deptInfo);
|
|
|
- } catch (NumberFormatException ex) {
|
|
|
- name = UtilMap.getList(e, "departmentSelectField_mjgj9noi").get(0).toString();
|
|
|
- log.info("获取部门信息出错:{}",ex.toString());
|
|
|
- ex.printStackTrace();
|
|
|
- }
|
|
|
- formData.put("textField_mjsiv3xl",name + dateStr + "班前会");//会议主题
|
|
|
- try {
|
|
|
- ydClient.operateData(_initLYParam()
|
|
|
- .formUuid("FORM-18921AB3A1AD4CC6853EB7631B9ABA0AHCF3")
|
|
|
- .formDataJson(JSON.toJSONString(formData))
|
|
|
- .build(), YDConf.FORM_OPERATION.start);
|
|
|
- }catch (McException mcException){
|
|
|
+// name = UtilMap.getList(e, "departmentSelectField_mjgj9noi").get(0).toString();
|
|
|
+ formData.put("textField_mjsiv3xl",name + dateStr + "班前会");//会议主题
|
|
|
try {
|
|
|
- Thread.sleep(10000);
|
|
|
- } catch (InterruptedException ex) {
|
|
|
- ex.printStackTrace();
|
|
|
+ ydClient.operateData(_initLYParam()
|
|
|
+ .formUuid("FORM-18921AB3A1AD4CC6853EB7631B9ABA0AHCF3")
|
|
|
+ .formDataJson(JSON.toJSONString(formData))
|
|
|
+ .build(), YDConf.FORM_OPERATION.start);
|
|
|
+ }catch (McException mcException){
|
|
|
+ try {
|
|
|
+ Thread.sleep(10000);
|
|
|
+ } catch (InterruptedException ex) {
|
|
|
+ ex.printStackTrace();
|
|
|
+ }
|
|
|
+ ydClient.operateData(_initLYParam()
|
|
|
+ .formUuid("FORM-18921AB3A1AD4CC6853EB7631B9ABA0AHCF3")
|
|
|
+ .formDataJson(JSON.toJSONString(formData))
|
|
|
+ .build(), YDConf.FORM_OPERATION.start);
|
|
|
+ mcException.printStackTrace();
|
|
|
}
|
|
|
- ydClient.operateData(_initLYParam()
|
|
|
- .formUuid("FORM-18921AB3A1AD4CC6853EB7631B9ABA0AHCF3")
|
|
|
- .formDataJson(JSON.toJSONString(formData))
|
|
|
- .build(), YDConf.FORM_OPERATION.start);
|
|
|
- mcException.printStackTrace();
|
|
|
-
|
|
|
+ } catch (Exception ex) {
|
|
|
+// name = UtilMap.getList(e, "departmentSelectField_mjgj9noi").get(0).toString();
|
|
|
+ log.info("获取部门信息出错:{}",ex.toString());
|
|
|
+ ex.printStackTrace();
|
|
|
}
|
|
|
}else {
|
|
|
if(depType.equals("下属公司")){
|