|
@ -32,20 +32,17 @@ import java.util.*;
|
|
|
* lith 2019.06.04
|
|
|
*/
|
|
|
|
|
|
@Service
|
|
|
public class PrescriptionExpressageService extends BaseJpaService<WlyyPrescriptionExpressageDO, PrescriptionExpressageDao> {
|
|
|
private static Logger logger = LoggerFactory.getLogger(PrescriptionExpressageService.class);
|
|
|
|
|
|
|
|
|
//顺丰快递接口请求地址
|
|
|
@Value("${express.sf_url}")
|
|
|
private String sf_url;
|
|
|
|
|
|
//顺丰快递接口接入编码
|
|
|
@Value("${express.sf_code}")
|
|
|
private String sf_code;
|
|
|
|
|
|
//顺丰快递接口checkword
|
|
|
@Value("${express.sf_check_word}")
|
|
|
private String sf_check_word;
|
|
|
|
|
|
@Autowired
|
|
@ -76,6 +73,14 @@ public class PrescriptionExpressageService extends BaseJpaService<WlyyPrescripti
|
|
|
@Autowired
|
|
|
private OutpatientDao outpatientDao;
|
|
|
|
|
|
private PrescriptionExpressageService(){}
|
|
|
|
|
|
public PrescriptionExpressageService(String sf_url,String sf_code,String sf_check_word){
|
|
|
this.sf_url = sf_url;
|
|
|
this.sf_code = sf_code;
|
|
|
this.sf_check_word = sf_check_word;
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 组装请求参数,发送请求
|