|
|
@ -14,8 +14,8 @@ public interface usageDateMapper {
|
|
|
|
@Select("select * from usagedate")
|
|
|
|
@Select("select * from usagedate")
|
|
|
|
public List<UsageDate> select();
|
|
|
|
public List<UsageDate> select();
|
|
|
|
|
|
|
|
|
|
|
|
@Select("select productNum from usageDate group by productNum order by count(productNum) ASC")
|
|
|
|
@Select("select productNum from usageDate group by productNum order by count(productNum) DESC")
|
|
|
|
public List<Integer> findByCount();
|
|
|
|
public List<Integer> selectByCount();
|
|
|
|
|
|
|
|
|
|
|
|
@Insert("insert into usagedate(checkNum, productNum, userNum," +
|
|
|
|
@Insert("insert into usagedate(checkNum, productNum, userNum," +
|
|
|
|
" bankAccount, bankNum, year, amount, startTime)" +
|
|
|
|
" bankAccount, bankNum, year, amount, startTime)" +
|
|
|
|