Commit a1d544dc by jinxin

新增bug修改

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