客户体征优化、客户健康修改
This commit is contained in:
		@@ -1,7 +1,10 @@
 | 
			
		||||
package com.stdiet.custom.mapper;
 | 
			
		||||
 | 
			
		||||
import java.util.List;
 | 
			
		||||
 | 
			
		||||
import com.stdiet.custom.domain.SysCustomer;
 | 
			
		||||
import com.stdiet.custom.domain.SysCustomerHealthy;
 | 
			
		||||
import org.apache.ibatis.annotations.Param;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 客户健康Mapper接口
 | 
			
		||||
@@ -58,4 +61,10 @@ public interface SysCustomerHealthyMapper
 | 
			
		||||
     * @return 结果
 | 
			
		||||
     */
 | 
			
		||||
    public int deleteSysCustomerHealthyByIds(Long[] ids);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 根据手机号查询客户健康评估信息
 | 
			
		||||
     * @param phone
 | 
			
		||||
     */
 | 
			
		||||
    SysCustomerHealthy selectSysCustomerHealthyByPhone(@Param("phone") String phone);
 | 
			
		||||
}
 | 
			
		||||
@@ -67,14 +67,4 @@ public interface SysCustomerMapper
 | 
			
		||||
     * @return 结果
 | 
			
		||||
     */
 | 
			
		||||
    SysCustomer getCustomerByPhone(@Param("phone")String phone);
 | 
			
		||||
 | 
			
		||||
    //查询客户基础信息以及体征信息
 | 
			
		||||
    List<SysCustomer> selectSysCustomerAndSignList(SysCustomer sysCustomer);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 根据手机号查询客户以及体征
 | 
			
		||||
     * @param phone
 | 
			
		||||
     * @return
 | 
			
		||||
     */
 | 
			
		||||
    SysCustomer selectSysCustomerAndSignByPhone(String phone);
 | 
			
		||||
}
 | 
			
		||||
@@ -1,6 +1,8 @@
 | 
			
		||||
package com.stdiet.custom.mapper;
 | 
			
		||||
 | 
			
		||||
import java.util.List;
 | 
			
		||||
 | 
			
		||||
import com.stdiet.custom.domain.SysCustomer;
 | 
			
		||||
import com.stdiet.custom.domain.SysCustomerPhysicalSigns;
 | 
			
		||||
import org.apache.ibatis.annotations.Param;
 | 
			
		||||
 | 
			
		||||
@@ -20,14 +22,6 @@ public interface SysCustomerPhysicalSignsMapper
 | 
			
		||||
     */
 | 
			
		||||
    public SysCustomerPhysicalSigns selectSysCustomerPhysicalSignsById(Long id);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 查询客户体征信息列表
 | 
			
		||||
     *
 | 
			
		||||
     * @param sysCustomerPhysicalSigns 客户体征信息
 | 
			
		||||
     * @return 客户体征信息集合
 | 
			
		||||
     */
 | 
			
		||||
    public List<SysCustomerPhysicalSigns> selectSysCustomerPhysicalSignsList(SysCustomerPhysicalSigns sysCustomerPhysicalSigns);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 新增客户体征信息
 | 
			
		||||
     *
 | 
			
		||||
@@ -60,13 +54,14 @@ public interface SysCustomerPhysicalSignsMapper
 | 
			
		||||
     */
 | 
			
		||||
    public int deleteSysCustomerPhysicalSignsByIds(Long[] ids);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 根据客户id修改客户体征信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param sysCustomerPhysicalSigns 客户体征信息
 | 
			
		||||
     * @return 结果
 | 
			
		||||
     */
 | 
			
		||||
    int updateSysCustomerPhysicalSignsByCustomerId(SysCustomerPhysicalSigns sysCustomerPhysicalSigns);
 | 
			
		||||
 | 
			
		||||
    int deleteSysCustomerPhysicalSignsByCustomerIds(Long[] ids);
 | 
			
		||||
    //查询客户体征信息
 | 
			
		||||
    List<SysCustomerPhysicalSigns> selectSysCustomerAndSignList(SysCustomerPhysicalSigns sysCustomerPhysicalSigns);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 根据手机号查询客户以及体征
 | 
			
		||||
     * @param phone
 | 
			
		||||
     * @return
 | 
			
		||||
     */
 | 
			
		||||
    SysCustomerPhysicalSigns selectSysCustomerAndSignByPhone(String phone);
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user