Commit 384ab49c by 徐高华

不保存member_unionid表

parent 21b4d749
package com.gic.haoban.manage.service.service.impl;
import java.util.Date;
import com.gic.commons.util.ToolUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
......@@ -33,8 +35,9 @@ public class MemberUnionRelatedServiceImpl implements MemberUnionRelatedService
String unionid = dto.getUnionid() ;
// unionid不保存,但需要传递
dto.setUnionid(null);
mapper.insert(EntityUtil.changeEntityByJSON(MemberUnionidRelated.class, dto));
// mapper.insert(EntityUtil.changeEntityByJSON(MemberUnionidRelated.class, dto));
dto.setUnionid(unionid);
dto.setMemberUnionidRelatedId(ToolUtil.randomUUID());
return dto.getMemberUnionidRelatedId();
}
......
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