|
|
@@ -393,7 +393,12 @@ public class ProjectTaskServiceImpl implements ProjectTaskService {
|
|
|
ProjectStaffRecord projectStaffRecord) throws InterruptedException {
|
|
|
String json = JSONObject.toJSONString(map);
|
|
|
String address = getAddress();
|
|
|
- String operateId = "yfdk_"+DateUtils.dateTimeNow();
|
|
|
+ String operateId =null;
|
|
|
+ if (projectTask!=null){
|
|
|
+ operateId = "yfdk_"+DateUtils.dateTimeNow();
|
|
|
+ }else {
|
|
|
+ operateId = "yfdk_records_"+DateUtils.dateTimeNow();
|
|
|
+ }
|
|
|
String docx = createDocx(json, operateId);
|
|
|
File file = new File(docx);
|
|
|
String s = tianheService.seveFile(address,operateId,file);
|