소스 검색

增加MgrApi

chenyongxing 6 년 전
부모
커밋
8c65b7834e
2개의 변경된 파일10개의 추가작업 그리고 1개의 파일을 삭제
  1. 8 0
      src/main/java/com/yihu/ehr/pack/common/MgrApi.java
  2. 2 1
      src/main/java/com/yihu/ehr/pack/controller/PackageEndPoint.java

+ 8 - 0
src/main/java/com/yihu/ehr/pack/common/MgrApi.java

@ -0,0 +1,8 @@
package com.yihu.ehr.pack.common;
public class MgrApi {
    public static class Packages{
        public static final String Status = "/packages/status";
    }
}

+ 2 - 1
src/main/java/com/yihu/ehr/pack/controller/PackageEndPoint.java

@ -10,6 +10,7 @@ import com.yihu.ehr.fastdfs.FastDFSUtil;
import com.yihu.ehr.model.packs.EsDetailsPackage;
import com.yihu.ehr.model.packs.EsSimplePackage;
import com.yihu.ehr.model.security.MKey;
import com.yihu.ehr.pack.common.MgrApi;
import com.yihu.ehr.pack.feign.SecurityClient;
import com.yihu.ehr.pack.service.RedisService;
import com.yihu.ehr.pack.task.FastDFSTask;
@ -486,7 +487,7 @@ public class PackageEndPoint extends EnvelopRestEndPoint {
    }
    @RequestMapping(value = ServiceApi.Packages.Status, method = RequestMethod.PUT)
    @RequestMapping(value = MgrApi.Packages.Status, method = RequestMethod.PUT)
    @ApiOperation(value = "将接收时间为某段时间的结构化档案,状态更改为待解析", notes = "将接收时间为某段时间的结构化档案")
    public long bulkUpdate(@ApiParam(name = "startDate", value = "开始时间(eg:2017-01-01 00:00:00)", required = false )
                           @RequestParam(value = "startDate",required = false) String startDate,