Commit a1d544dc by jinxin

新增bug修改

parent b2d54731
...@@ -520,7 +520,7 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService { ...@@ -520,7 +520,7 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
if (null == enterpriseDTO){ if (null == enterpriseDTO){
return ServiceResponse.failure("-9999","参数不能为空!"); return ServiceResponse.failure("-9999","参数不能为空!");
} }
if (StrUtil.isNotBlank(enterpriseDTO.getWxEnterpriseId())){ if (StrUtil.isBlank(enterpriseDTO.getWxEnterpriseId())){
wxEnterpriseService.add(enterpriseDTO); wxEnterpriseService.add(enterpriseDTO);
}else { }else {
wxEnterpriseService.update(enterpriseDTO); wxEnterpriseService.update(enterpriseDTO);
......
...@@ -414,19 +414,19 @@ ...@@ -414,19 +414,19 @@
external_flag = #{externalFlag,jdbcType=INTEGER}, external_flag = #{externalFlag,jdbcType=INTEGER},
</if> </if>
<if test="useridFlag != null"> <if test="useridFlag != null">
userid_flag = #{useridFlag} userid_flag = #{useridFlag},
</if> </if>
<if test="null != wxCorpid"> <if test="null != wxCorpid">
wx_corpid = #{wxCorpid} wx_corpid = #{wxCorpid},
</if> </if>
<if test="null != openCorpid"> <if test="null != openCorpid">
open_corpid = #{openCorpid} open_corpid = #{openCorpid},
</if> </if>
<if test="null != wxaAppid"> <if test="null != wxaAppid">
wxa_appid = #{wxaAppid} wxa_appid = #{wxaAppid},
</if> </if>
<if test="null != urlHost"> <if test="null != urlHost">
url_host = #{urlHost} url_host = #{urlHost},
</if> </if>
<if test="null != appType"> <if test="null != appType">
app_type = #{appType} app_type = #{appType}
......
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