修改bug

This commit is contained in:
orange-form
2020-09-03 22:30:08 +08:00
committed by Gitee
parent 7724424373
commit 6947f124c2

View File

@@ -903,7 +903,7 @@ public abstract class BaseService<M, D, K> {
MyQueryParam queryParam = new MyQueryParam(false); MyQueryParam queryParam = new MyQueryParam(false);
MyWhereCriteria whereCriteria = new MyWhereCriteria(); MyWhereCriteria whereCriteria = new MyWhereCriteria();
whereCriteria.setCriteria( whereCriteria.setCriteria(
relationStruct.relationOneToOne.slaveIdField(), MyWhereCriteria.OPERATOR_EQUAL, id); relationStruct.relationDict.slaveIdField(), MyWhereCriteria.OPERATOR_EQUAL, id);
queryParam.addCriteriaList(whereCriteria); queryParam.addCriteriaList(whereCriteria);
ResponseResult<Object> result = relationStruct.remoteClient.getBy(queryParam); ResponseResult<Object> result = relationStruct.remoteClient.getBy(queryParam);
if (result.isSuccess()) { if (result.isSuccess()) {