| | |
| | | |
| | | import com.yssh.entity.VocVals; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * @param startVal 起始值(可为空) |
| | | * @return |
| | | */ |
| | | public List<VocVals> selectByTime(String time, Double startVal); |
| | | public List<VocVals> selectByTime(@Param("time") String time, @Param("startVal") Double startVal); |
| | | |
| | | /** |
| | | * 根据时间统计 |
| | |
| | | * @param time 时间(示例:2023060514) |
| | | * @return 行数 |
| | | */ |
| | | public int countByTime(String time); |
| | | public int countByTime(@Param("time") String time); |
| | | |
| | | /** |
| | | * 插入一条数据 |