客户档案加上打卡记录以及体重趋势图
This commit is contained in:
@ -73,6 +73,9 @@ public class SysWxUserLog extends BaseEntity
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date logTime;
|
||||
|
||||
//客户ID
|
||||
private Long customerId;
|
||||
|
||||
/**
|
||||
* 非持久化字段,客户姓名
|
||||
*/
|
||||
|
@ -78,4 +78,11 @@ public interface SysWxUserLogMapper
|
||||
*/
|
||||
SysWxUserLog selectSysWxUserLogByDateAndOpenId(SysWxUserLog sysWxUserLog);
|
||||
|
||||
/**
|
||||
* 根据客户ID查询对应打卡体重数据
|
||||
* @param sysWxUserLog
|
||||
* @return
|
||||
*/
|
||||
List<SysWxUserLog> getWxUserLogListByCustomerId(SysWxUserLog sysWxUserLog);
|
||||
|
||||
}
|
@ -80,4 +80,11 @@ public interface ISysWxUserLogService
|
||||
*/
|
||||
SysWxUserLog selectSysWxUserLogByDateAndOpenId(SysWxUserLog sysWxUserLog);
|
||||
|
||||
/**
|
||||
* 根据客户ID查询对应打卡体重数据
|
||||
* @param sysWxUserLog
|
||||
* @return
|
||||
*/
|
||||
List<SysWxUserLog> getWxUserLogListByCustomerId(SysWxUserLog sysWxUserLog);
|
||||
|
||||
}
|
@ -124,4 +124,13 @@ public class SysWxUserLogServiceImpl implements ISysWxUserLogService {
|
||||
return sysWxUserLogMapper.selectSysWxUserLogByDateAndOpenId(sysWxUserLog);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据客户ID查询对应打卡体重数据
|
||||
* @param sysWxUserLog
|
||||
* @return
|
||||
*/
|
||||
public List<SysWxUserLog> getWxUserLogListByCustomerId(SysWxUserLog sysWxUserLog){
|
||||
return sysWxUserLogMapper.getWxUserLogListByCustomerId(sysWxUserLog);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user