客户体征相关
This commit is contained in:
		@@ -0,0 +1,73 @@
 | 
			
		||||
package com.stdiet.custom.mapper;
 | 
			
		||||
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import com.stdiet.custom.domain.SysCustomer;
 | 
			
		||||
import org.apache.ibatis.annotations.Param;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 客户信息Mapper接口
 | 
			
		||||
 *
 | 
			
		||||
 * @author xzj
 | 
			
		||||
 * @date 2020-12-31
 | 
			
		||||
 */
 | 
			
		||||
public interface SysCustomerMapper
 | 
			
		||||
{
 | 
			
		||||
    /**
 | 
			
		||||
     * 查询客户信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param id 客户信息ID
 | 
			
		||||
     * @return 客户信息
 | 
			
		||||
     */
 | 
			
		||||
    public SysCustomer selectSysCustomerById(Long id);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 查询客户信息列表
 | 
			
		||||
     *
 | 
			
		||||
     * @param sysCustomer 客户信息
 | 
			
		||||
     * @return 客户信息集合
 | 
			
		||||
     */
 | 
			
		||||
    public List<SysCustomer> selectSysCustomerList(SysCustomer sysCustomer);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 新增客户信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param sysCustomer 客户信息
 | 
			
		||||
     * @return 结果
 | 
			
		||||
     */
 | 
			
		||||
    public int insertSysCustomer(SysCustomer sysCustomer);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 修改客户信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param sysCustomer 客户信息
 | 
			
		||||
     * @return 结果
 | 
			
		||||
     */
 | 
			
		||||
    public int updateSysCustomer(SysCustomer sysCustomer);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 删除客户信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param id 客户信息ID
 | 
			
		||||
     * @return 结果
 | 
			
		||||
     */
 | 
			
		||||
    public int deleteSysCustomerById(Long id);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 批量删除客户信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param ids 需要删除的数据ID
 | 
			
		||||
     * @return 结果
 | 
			
		||||
     */
 | 
			
		||||
    public int deleteSysCustomerByIds(Long[] ids);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 根据手机号查询客户信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param phone 手机号
 | 
			
		||||
     * @return 结果
 | 
			
		||||
     */
 | 
			
		||||
    SysCustomer getCustomerByPhone(@Param("phone")String phone);
 | 
			
		||||
 | 
			
		||||
    //查询客户基础信息以及体征信息
 | 
			
		||||
    List<SysCustomer> selectSysCustomerAndSignList(SysCustomer sysCustomer);
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,72 @@
 | 
			
		||||
package com.stdiet.custom.mapper;
 | 
			
		||||
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import com.stdiet.custom.domain.SysCustomerPhysicalSigns;
 | 
			
		||||
import org.apache.ibatis.annotations.Param;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 客户体征信息Mapper接口
 | 
			
		||||
 *
 | 
			
		||||
 * @author xzj
 | 
			
		||||
 * @date 2020-12-31
 | 
			
		||||
 */
 | 
			
		||||
public interface SysCustomerPhysicalSignsMapper
 | 
			
		||||
{
 | 
			
		||||
    /**
 | 
			
		||||
     * 查询客户体征信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param id 客户体征信息ID
 | 
			
		||||
     * @return 客户体征信息
 | 
			
		||||
     */
 | 
			
		||||
    public SysCustomerPhysicalSigns selectSysCustomerPhysicalSignsById(Long id);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 查询客户体征信息列表
 | 
			
		||||
     *
 | 
			
		||||
     * @param sysCustomerPhysicalSigns 客户体征信息
 | 
			
		||||
     * @return 客户体征信息集合
 | 
			
		||||
     */
 | 
			
		||||
    public List<SysCustomerPhysicalSigns> selectSysCustomerPhysicalSignsList(SysCustomerPhysicalSigns sysCustomerPhysicalSigns);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 新增客户体征信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param sysCustomerPhysicalSigns 客户体征信息
 | 
			
		||||
     * @return 结果
 | 
			
		||||
     */
 | 
			
		||||
    public int insertSysCustomerPhysicalSigns(SysCustomerPhysicalSigns sysCustomerPhysicalSigns);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 修改客户体征信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param sysCustomerPhysicalSigns 客户体征信息
 | 
			
		||||
     * @return 结果
 | 
			
		||||
     */
 | 
			
		||||
    public int updateSysCustomerPhysicalSigns(SysCustomerPhysicalSigns sysCustomerPhysicalSigns);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 删除客户体征信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param id 客户体征信息ID
 | 
			
		||||
     * @return 结果
 | 
			
		||||
     */
 | 
			
		||||
    public int deleteSysCustomerPhysicalSignsById(Long id);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 批量删除客户体征信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param ids 需要删除的数据ID
 | 
			
		||||
     * @return 结果
 | 
			
		||||
     */
 | 
			
		||||
    public int deleteSysCustomerPhysicalSignsByIds(Long[] ids);
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * 根据客户id修改客户体征信息
 | 
			
		||||
     *
 | 
			
		||||
     * @param sysCustomerPhysicalSigns 客户体征信息
 | 
			
		||||
     * @return 结果
 | 
			
		||||
     */
 | 
			
		||||
    int updateSysCustomerPhysicalSignsByCustomerId(SysCustomerPhysicalSigns sysCustomerPhysicalSigns);
 | 
			
		||||
 | 
			
		||||
    int deleteSysCustomerPhysicalSignsByCustomerIds(Long[] ids);
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user