|
@@ -66,25 +66,6 @@
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
|
- <!-- 判断客户表是否已存在-->
|
|
|
- <select id="isExistCustomerInfo" parameterType="com.platform.yijia.pojo.CustomerManage" resultType="com.platform.yijia.pojo.CustomerManage">
|
|
|
- SELECT
|
|
|
- <include refid="Base_Column_List" />
|
|
|
- FROM
|
|
|
- customer_manage
|
|
|
- <where>
|
|
|
- <if test="phoneNumber !=null and phoneNumber !='' ">
|
|
|
- phone_number = #{phoneNumber}
|
|
|
- </if>
|
|
|
- <if test="stationId !=null and stationId !='' ">
|
|
|
- AND station_id = #{stationId}
|
|
|
- </if>
|
|
|
- <if test="oilName !=null and oilName !='' ">
|
|
|
- AND oil_name = #{oilName}
|
|
|
- </if>
|
|
|
- </where>
|
|
|
- </select>
|
|
|
-
|
|
|
<!-- 更新客户表 -->
|
|
|
<update id="updateCustomerInfo" parameterType="com.platform.yijia.pojo.CustomerManage">
|
|
|
UPDATE
|