提交 ad767d3c 作者: han

Merge branch 'develop'

流水线 #7919 已通过 于阶段
in 2 分 25 秒
...@@ -102,8 +102,10 @@ public class UserAccountServiceImpl implements UserAccountService { ...@@ -102,8 +102,10 @@ public class UserAccountServiceImpl implements UserAccountService {
@Override @Override
public void insertUserAccount(UserAccountDO userAccountDO) { public void insertUserAccount(UserAccountDO userAccountDO) {
if(userServiceDao.getUserAccountInfoByUnionId(userAccountDO.getUnionId()) == null){
userServiceDao.insertUserAccount(userAccountDO); userServiceDao.insertUserAccount(userAccountDO);
} }
}
@Override @Override
public UserAccountVO getUserAccountById(Integer userAccountId) { public UserAccountVO getUserAccountById(Integer userAccountId) {
......
...@@ -129,6 +129,7 @@ public class UserPointsServiceImpl implements UserPointsService { ...@@ -129,6 +129,7 @@ public class UserPointsServiceImpl implements UserPointsService {
} }
UserPointsDO userPointsDO = userPointsDao.selectUserPoints(userId); UserPointsDO userPointsDO = userPointsDao.selectUserPoints(userId);
if (userPointsDO == null) { if (userPointsDO == null) {
userPointsDO = new UserPointsDO();
userPointsDO.setUserAccountId(userId); userPointsDO.setUserAccountId(userId);
userPointsDO.setTotalPoints(0); userPointsDO.setTotalPoints(0);
userPointsDao.insertPoints(userPointsDO); userPointsDao.insertPoints(userPointsDO);
......
...@@ -579,10 +579,10 @@ ...@@ -579,10 +579,10 @@
district_child_id=#{districtChildId}, district_child_id=#{districtChildId},
</if> </if>
<if test="briefIntroduction!='' and briefIntroduction!=null"> <if test="briefIntroduction!='' and briefIntroduction!=null">
brief_introduction=#{briefIntroduction}, brief_introduction=#{briefIntroduction}
</if> </if>
</set> </set>
where id=#{id} where id=#{id} and is_deleted = 0
</update> </update>
<select id="selectUserAccount" resultType="java.lang.Integer" <select id="selectUserAccount" resultType="java.lang.Integer"
......
...@@ -18,4 +18,4 @@ patches: ...@@ -18,4 +18,4 @@ patches:
images: images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG - name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/cms newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/cms
newTag: 008c6998be2f74b11f35c08e3e30fbcb48408d60 newTag: 37919562896a7efde10fb36125f3e9357bea6828
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论