瀏覽代碼

ias

master
chenchaod 1 周之前
父節點
當前提交
7e8b0c0f1d

+ 1
- 2
zhywpt-service-ias/src/main/java/cn/com/taiji/ias/manager/order/SignQueryManager.java 查看文件

case BLUE: case BLUE:
case GREEN: case GREEN:
res = signCommonManager.carSignV2(request.getSubOpenId(), order.getProductId(), order.getVehicleId()); res = signCommonManager.carSignV2(request.getSubOpenId(), order.getProductId(), order.getVehicleId());
res.setStep(order.getOrderStep());
flag = !"UNAUTHORIZED".equals(res.getUserState()); flag = !"UNAUTHORIZED".equals(res.getUserState());
break; break;
case YELLOW: case YELLOW:
idNum = order.getAgentIdNum(); idNum = order.getAgentIdNum();
} }
res = signCommonManager.carSignV3(request.getSubOpenId(), order.getProductId(), order.getVehicleId(), name, idNum); res = signCommonManager.carSignV3(request.getSubOpenId(), order.getProductId(), order.getVehicleId(), name, idNum);
res.setStep(order.getOrderStep());
flag = "OPENED".equals(res.getUserState()); flag = "OPENED".equals(res.getUserState());
break; break;
default: default:
} }
orderInfoRepo.merge(order); orderInfoRepo.merge(order);
} }
res.setStep(order.getOrderStep());
dataStream.put(RES, res); dataStream.put(RES, res);
} }
@Override @Override

+ 42
- 0
zhywpt-service-ias/src/test/java/cn/com/taiji/oqs/client/demo/OneTest.java 查看文件



import cn.com.taiji.common.manager.ManagerException; import cn.com.taiji.common.manager.ManagerException;
import cn.com.taiji.common.manager.net.http.ServiceHandleException; import cn.com.taiji.common.manager.net.http.ServiceHandleException;
import cn.com.taiji.core.entity.dict.basic.SourceType;
import cn.com.taiji.core.model.comm.protocol.ias.ass.ReleasePlateApplyRequest;
import cn.com.taiji.core.model.comm.protocol.ias.message.HltSendShortRequest; import cn.com.taiji.core.model.comm.protocol.ias.message.HltSendShortRequest;
import cn.com.taiji.core.model.comm.protocol.ias.message.HltSendShortResponse; import cn.com.taiji.core.model.comm.protocol.ias.message.HltSendShortResponse;
import cn.com.taiji.core.model.comm.protocol.ias.order.GetCustomerIdRequest; import cn.com.taiji.core.model.comm.protocol.ias.order.GetCustomerIdRequest;
import cn.com.taiji.core.model.comm.protocol.ias.order.GetCustomerIdResponse; import cn.com.taiji.core.model.comm.protocol.ias.order.GetCustomerIdResponse;
import cn.com.taiji.core.model.comm.protocol.ias.order.UserUploadRequest;
import cn.com.taiji.core.model.comm.protocol.ias.vaild.VehiclePlateCheckRequest; import cn.com.taiji.core.model.comm.protocol.ias.vaild.VehiclePlateCheckRequest;
import cn.com.taiji.core.model.comm.protocol.ias.vaild.VehiclePlateCheckResponse; import cn.com.taiji.core.model.comm.protocol.ias.vaild.VehiclePlateCheckResponse;
import cn.com.taiji.core.model.comm.protocol.ods.oqs.issue.OqsCardQueryRequest; import cn.com.taiji.core.model.comm.protocol.ods.oqs.issue.OqsCardQueryRequest;
OqsCardQueryResponse oqsCardQueryResponse = jsonPostRepeat(request); OqsCardQueryResponse oqsCardQueryResponse = jsonPostRepeat(request);
System.out.println(oqsCardQueryResponse.toJson(true)); System.out.println(oqsCardQueryResponse.toJson(true));
} }

@Test
public void OqsCardQueryRequestTest2() throws ManagerException {
UserUploadRequest request = new UserUploadRequest();
request.setCustomerIdVld("20441218");
request.setMobile("19833787623");
request.setOrderNo("20250818094233520101069987157313");
request.setUserAddress("山东省济南市历城区遥墙镇四凤闸村东组25号");
request.setUserIdNum("520403198707285409");
request.setUserIdType(101);
request.setUserName("张三");
request.setUserPosImgUrl("zhywpt-issuer/20250818/h5/5f21ee5a71b64c01a49c144a_mmexport1753424081039.jpg");
request.setUserNegImgUrl("zhywpt-issuer/20250818/h5/6f216174b57b4e98982aa1d0_mmexport1753424083383.jpg");
jsonPostRepeat(request);
}
@Test
public void tttt() throws ServiceHandleException {

ReleasePlateApplyRequest request = new ReleasePlateApplyRequest();
request.setAgencyId("52010106004");
request.setApplyType(1);
request.setChannelId("5201010600401140003");
request.setCustomerIdNum("350623199807072540");
request.setIsSelf(1);
request.setMobile("15359873965");
request.setName("钱川");
request.setOpenId("e8a6c80903ce4b3096342369a7312bfe");
request.setSourceType(SourceType.SERVICE_HALL);
request.setUserPosImagesUrl("https://qtzl.etcjz.cn/zhywpt-issuer-test/20250818/app/faf4985138b94b739c8a4247_1755481860690_pic.jpg");
request.setUserNegImagesUrl("https://qtzl.etcjz.cn/zhywpt-issuer-test/20250818/app/6f00314a492b40cfb6d0cd1b_1755481866170_pic.jpg");
request.setVehNegImgUrl("https://qtzl.etcjz.cn/zhywpt-issuer-test/20250818/app/9d212870c1d04d73a44f5486_1755481906961435.jpeg");
request.setVehPosImgUrl("https://qtzl.etcjz.cn/zhywpt-issuer-test/20250818/app/989e7cd9b9494b88a9facd84_175548190027769.jpeg");
request.setVehicleOwnerName("钱川");
request.setVehiclePlate("贵Z10020");
request.setVehiclePlateColor(0);
jsonPostRepeat(request);


}
} }

Loading…
取消
儲存