Commit f871c17d by 朱亚洁

广告标记微信群

parent d93f006f
...@@ -2367,13 +2367,13 @@ public class AdvertisingSpaceBizImpl implements AdvertisingSpaceBiz { ...@@ -2367,13 +2367,13 @@ public class AdvertisingSpaceBizImpl implements AdvertisingSpaceBiz {
partyConsr.updateLoginAccount(advertisingMaster.getLoginName(), advertisingMaster.getPassword(), loginId); partyConsr.updateLoginAccount(advertisingMaster.getLoginName(), advertisingMaster.getPassword(), loginId);
}*/ }*/
//账号修改通过子账号完成 //账号修改通过子账号完成
if (null == loginId) { // if (null == loginId) {
LOGGER.error("广告主" + masterId + "是品牌方结算,子账号为空"); // LOGGER.error("广告主" + masterId + "是品牌方结算,子账号为空");
} // }
} else { } else {
if (null != master.getLoginId()) {//删除账号,标记记录 if (null != master.getLoginId()) {//删除账号,标记记录
partyConsr.deleteLoginAccount(master.getLoginId()); partyConsr.deleteLoginAccount(master.getLoginId());
advertisingMaster.setLoginId(null); advertisingMaster.setLoginId(123l);
advertisingGroupTagDao.deleteByMasterId(masterId); advertisingGroupTagDao.deleteByMasterId(masterId);
} }
} }
......
...@@ -103,7 +103,9 @@ ...@@ -103,7 +103,9 @@
master_name = #{masterName,jdbcType=VARCHAR}, master_name = #{masterName,jdbcType=VARCHAR},
</if> </if>
update_time = NOW(), update_time = NOW(),
login_id = #{loginId}, <if test="loginId != null">
login_id = #{loginId},
</if>
</set> </set>
where id = #{id,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT}
</update> </update>
......
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