Browse Source

取药码修改方法参数注释

liuwenbin 7 years ago
parent
commit
5a7bb272de

+ 2 - 3
patient-co-service/wlyy_service/src/main/java/com/yihu/wlyy/service/controller/PrescriptionController.java

@ -218,11 +218,10 @@ public class PrescriptionController extends BaseController{
	@ApiOperation("请求实名软证书并进行数字签名")
	public Result requestRealNameSoftCertAndSign(@ApiParam(name="strUserIdcardNum",value="用户身份证号") @RequestParam String strUserIdcardNum,
												 @ApiParam(name="strRealNameSoftCertCalledPasswd",value="证书被调用保护口令") @RequestParam String strRealNameSoftCertCalledPasswd,
												 @ApiParam(name="strOriginalData",value="原文(若原文大于 1KB,需先对原文取 MD5摘要值,而后以该 MD5摘要值入参)") @RequestParam String strOriginalData,
												 @ApiParam(name="srcBusinessStreamNO",value="本次请求的业务流水号,用于与业务系统关联") @RequestParam String srcBusinessStreamNO)
												 @ApiParam(name="strOriginalData",value="原文(若原文大于 1KB,需先对原文取 MD5摘要值,而后以该 MD5摘要值入参)") @RequestParam String strOriginalData)
	{
		try {
			String re = caService.requestRealNameSoftCertAndSign(strUserIdcardNum,strRealNameSoftCertCalledPasswd,strOriginalData,srcBusinessStreamNO);
			String re = caService.requestRealNameSoftCertAndSign(strUserIdcardNum,strRealNameSoftCertCalledPasswd,strOriginalData);
			return Result.success("请求实名软证书并进行数字签名成功!",re);
		} catch (Exception ex) {

+ 2 - 2
patient-co-service/wlyy_service/src/main/java/com/yihu/wlyy/service/service/prescription/PrescriptionCAService.java

@ -130,7 +130,7 @@ public class PrescriptionCAService {
    /**
     * 请求实名软证书并进行数字签名
     **/
    public String requestRealNameSoftCertAndSign(String strUserIdcardNum,String strRealNameSoftCertCalledPasswd,String strOriginalData,String srcBusinessStreamNO) throws Exception
    public String requestRealNameSoftCertAndSign(String strUserIdcardNum,String strRealNameSoftCertCalledPasswd,String strOriginalData) throws Exception
    {
        Boolean isSuccess = true;
        String re = "";
@ -142,7 +142,7 @@ public class PrescriptionCAService {
            params.put("strUserIdcardNum",strUserIdcardNum);
            params.put("strRealNameSoftCertCalledPasswd",strRealNameSoftCertCalledPasswd);
            params.put("strOriginalData",strOriginalData);
            params.put("srcBusinessStreamNO",srcBusinessStreamNO);
//            params.put("srcBusinessStreamNO",srcBusinessStreamNO);
            body = objectMapper.writeValueAsString(params);