医保上传相关修改

scpwxyy
yewj 7 months ago
parent bf86e183e5
commit cce12bb0ec

@ -156,10 +156,16 @@
<artifactId>yb</artifactId>
<version>zephyr1.7.0</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.bouncycastle</groupId>-->
<!-- <artifactId>bcprov-jdk15to18</artifactId>-->
<!-- <version>1.69</version>-->
<!-- </dependency>-->
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15to18</artifactId>
<version>1.69</version>
<groupId>com.glxp</groupId>
<artifactId>bcprov</artifactId>
<version>1.6.0</version>
</dependency>
<!--okhttp-->

@ -78,7 +78,7 @@ public class YbApiController {
private BasicUdirelDao basicUdirelDao;
/**
*
*
*/
@PostMapping("/udiwms/erp/yb/postOrder")
public BaseResponse postOrder(@RequestBody PostCollectOrderRequest postCollectOrderRequest) {

@ -5,5 +5,5 @@ import lombok.Data;
@Data
public class BaseYbRequest {
private SignRequest sign;
private SignRequest signIn;
}

@ -30,6 +30,7 @@ public class YbClient {
if (thrYbSetup == null)
throw new RuntimeException("未配置医保接口");
String infno = apiNo;
SignTypeEnum signType = SignTypeEnum.SM3;
EncryptionModeEnum encType = EncryptionModeEnum.SM4;
String msgId = thrYbSetup.getFixmedins_code() + DateUtil.formatYbDateTime(new Date()) + thrYbSetup.getSequenceNum();
@ -48,7 +49,7 @@ public class YbClient {
req.setFixmedinsName(thrYbSetup.getFixmedins_name());
com.alibaba.fastjson.JSONObject dataJson = JSONObject.parseObject(data, com.alibaba.fastjson.JSONObject.class);
req.setInput(dataJson);
req.setSignNo(thrYbSetup.getSignNo());
// req.setSignNo(thrYbSetup.getSignNo());
log.info("【" + apiNo + "】医保接口请求参数:" + JSONObject.toJSONString(req));
ChsMedicalResponse resp = client.execute(req);
return resp;

Loading…
Cancel
Save