Bläddra i källkod

修复BUG

master
梁超 1 vecka sedan
förälder
incheckning
6019e9f133

+ 11
- 1
gly-base-core/src/main/java/cn/com/taiji/core/model/comm/protocol/ias/ygz/YgzVehiclePlateCheckResponse.java Visa fil

@@ -1,4 +1,14 @@
package cn.com.taiji.core.model.comm.protocol.ias.ygz;

public class YgzVehiclePlateCheckResponse extends YgzCommonResponse{
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@Getter
@Setter
@Accessors(chain = true)
public class YgzVehiclePlateCheckResponse extends YgzCommonResponse {
private Boolean result;
private Integer reason;
private String info;
}

+ 3
- 1
zhywpt-service-ias/src/main/java/cn/com/taiji/ias/manager/ygz/YgzVehiclePlateCheckManager.java Visa fil

@@ -31,7 +31,9 @@ public class YgzVehiclePlateCheckManager extends AbstractCommNioManager implemen
response.setMsg(nioResponse.getErrorMsg());
return onFailed(request, response, YgzInterfaceLog.class, System.currentTimeMillis() - begin, nioResponse.getErrorMsg());
} else {
return onSuccess(request, new YgzVehiclePlateCheckResponse(), YgzInterfaceLog.class, System.currentTimeMillis() - begin);
YgzVehiclePlateCheckResponse response = new YgzVehiclePlateCheckResponse();
copyProperties(nioResponse, response);
return onSuccess(request, response, YgzInterfaceLog.class, System.currentTimeMillis() - begin);
}
}


Laddar…
Avbryt
Spara