打卡情况页面

This commit is contained in:
huangdeliang
2021-08-14 14:23:47 +08:00
parent 95d5f0f57c
commit 21836594b2
14 changed files with 1014 additions and 196 deletions

View File

@ -5,6 +5,7 @@ import com.fasterxml.jackson.annotation.JsonFormat;
import com.stdiet.common.annotation.Excel;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
@ -62,7 +63,7 @@ public class SysCustomerPhysicalSigns {
* 客户体重(斤)
*/
@Excel(name = "客户体重", readConverterExp = "斤=")
private Integer weight;
private BigDecimal weight;
/**
* 客户病史体征id

View File

@ -1,9 +1,11 @@
package com.stdiet.custom.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.stdiet.common.annotation.Excel;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
/**
@ -28,6 +30,11 @@ public class SysWxUserInfo {
private Integer age;
@JsonFormat(pattern = "yyyy-MM-dd")
private Date startDate;
private BigDecimal weight;
/**
* 昵称
*/

View File

@ -208,7 +208,7 @@ public class SysCustomerHeatStatisticsServiceImpl implements ISysCustomerHeatSta
sysCustomerHealthy.setName(sysCustomerPhysicalSigns.getName());
sysCustomerHealthy.setTall(sysCustomerPhysicalSigns.getTall());
sysCustomerHealthy.setAge(sysCustomerPhysicalSigns.getAge().longValue());
sysCustomerHealthy.setWeight(BigDecimal.valueOf(sysCustomerPhysicalSigns.getWeight()));
sysCustomerHealthy.setWeight(sysCustomerPhysicalSigns.getWeight());
}
return sysCustomerHealthy;
}