|
|
@ -20,6 +20,8 @@ import com.ccsens.util.WebConstant; |
|
|
|
import com.ccsens.util.bean.dto.QueryDto; |
|
|
|
import com.ccsens.util.exception.BaseException; |
|
|
|
import com.ccsens.util.wx.WxXcxUtil; |
|
|
|
import com.github.pagehelper.PageHelper; |
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
import io.micrometer.shaded.org.pcollections.PCollection; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
@ -27,6 +29,7 @@ import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Propagation; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
import javax.validation.Valid; |
|
|
|
import java.io.File; |
|
|
|
import java.io.IOException; |
|
|
|
import java.math.BigDecimal; |
|
|
@ -233,4 +236,12 @@ public class HealthService implements IHealthService{ |
|
|
|
} |
|
|
|
return healthTypeStatisticsList; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public PageInfo<HealthVo.HealthList> list(QueryDto<HealthDto.QueryList> params) { |
|
|
|
HealthDto.QueryList param = params.getParam(); |
|
|
|
PageHelper.startPage(param.getPageNum(), param.getPageSize()); |
|
|
|
List<HealthVo.HealthList> vos = healthRecordsDao.list(param); |
|
|
|
return new PageInfo<>(vos); |
|
|
|
} |
|
|
|
} |
|
|
|