no message

This commit is contained in:
2025-09-25 17:19:59 +08:00
parent 5816bd6360
commit 6d868b48fe
2 changed files with 17 additions and 8 deletions

View File

@ -302,8 +302,6 @@ public class ReceiveServiceImpl implements ReceiveService {
if (companyInfoMapper.selectByOpId(companyInfo.getOperator_id()) != null) {
companyInfoMapper.updateByOpId(companyInfo);
} else if (companyInfoMapper.selectByCompanyName(companyInfo.getCompany_name()) != null) {
companyInfoMapper.updateByCompanyName(companyInfo);
} else {
companyInfoMapper.insertCompanyInfo(companyInfo);
}

View File

@ -25,7 +25,7 @@
<include refid="Base_Column_List" />
FROM zc_company
WHERE phone = #{phone}
AND is_delete = 0
AND del_flag = 0
</select>
<select id="selectByCompanyName" parameterType="java.lang.String" resultMap="BaseResultMap">
@ -33,7 +33,7 @@
<include refid="Base_Column_List" />
FROM zc_company
WHERE company_name = #{company_name}
AND is_delete = 0
AND del_flag = 0
</select>
<select id="selectById" parameterType="java.lang.Long" resultMap="BaseResultMap">
@ -49,7 +49,7 @@
<include refid="Base_Column_List" />
FROM zc_company
WHERE b_op_id = #{bOpId}
AND is_delete = 0
AND del_flag = 0
</select>
<!-- 根据公司名称查询公司信息 -->
@ -58,7 +58,7 @@
<include refid="Base_Column_List" />
FROM zc_company
WHERE company_name = #{company_name}
AND is_delete = 0
AND del_flag = 0
</select>
<!-- 根据电话号码更新公司信息 -->
@ -84,7 +84,10 @@
citys = #{citys},
</if>
<if test="isDelete != null">
is_delete = #{isDelete},
del_flag = #{is_delete},
</if>
<if test="is_delete != null">
is_delete = #{is_delete},
</if>
<if test="bOpId != null">
b_op_id = #{operator_id},
@ -116,7 +119,10 @@
citys = #{citys},
</if>
<if test="isDelete != null">
is_delete = #{isDelete},
del_flag = #{is_delete},
</if>
<if test="is_delete != null">
is_delete = #{is_delete},
</if>
<if test="bOpId != null">
b_op_id = #{operator_id},
@ -149,6 +155,9 @@
<if test="citys != null and citys != ''">
citys = #{citys},
</if>
<if test="is_delete != null">
del_flag = #{is_delete},
</if>
<if test="is_delete != null">
is_delete = #{is_delete},
</if>
@ -170,6 +179,7 @@
address,
citys,
is_delete,
del_flag,
is_add_rules,
sharing_ratio,
wechat_receiving_account,
@ -184,6 +194,7 @@
#{address},
#{citys},
#{is_delete},
#{is_delete},
0,0,0,0,0,0
)
</insert>