@ -68,15 +68,6 @@ public interface CustomerDao extends BaseDao<CustomerEntity> {
**/
List<CustomerResultDTO> selectCustomerList(@Param("customerName") String customerName);
/**
* @return int
* @param customerName
* @author yinzuomei
* @description 查询有效客户数据(不区分是否在有效期内)【按名称模糊查询】 - 总记录数
* @Date 2020/8/5 11:02
int selectCountByCustomerName(@Param("customerName") String customerName);
* desc:获取未删除的所有用户
* @return
@ -71,18 +71,6 @@
</if>
</select>
<select id="selectCountByCustomerName" parameterType="map" resultType="java.lang.Integer">
SELECT
count(id) as total
FROM
customer
WHERE
del_flag = '0'
<if test='customerName != "" and customerName != null'>
AND customer_name LIKE concat('%', trim(#{customerName}), '%')
<select id="getAllList" resultMap="customerMap">
*