Commit f5289942 by qwmqiuwenmin

fix

parent 48eff957
......@@ -18,7 +18,7 @@ public interface MemberUnionidRelatedMapper {
int updateByPrimaryKey(MemberUnionidRelated record);
MemberUnionidRelatedDTO getByUnionId(@Param("wxUserId")String wxUserId, @Param("unionid")String unionid);
MemberUnionidRelated getByUnionId(@Param("wxUserId")String wxUserId, @Param("unionid")String unionid);
void deleteByUnionidAndUserId(@Param("unionid")String unionid,@Param("wxUserId") String wxUserId);
}
\ No newline at end of file
......@@ -21,7 +21,7 @@ public class MemberUnionRelatedServiceImpl implements MemberUnionRelatedService
@Override
public MemberUnionidRelatedDTO getByUnionId(String wxUserId, String unionid) {
return mapper.getByUnionId(wxUserId,unionid);
return EntityUtil.changeEntityByJSON(mapper.getByUnionId(wxUserId,unionid),MemberUnionidRelated.class);
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment