|
|
@@ -1,7 +1,9 @@
|
|
|
package com.usoftchina.smartschool.device.mapper;
|
|
|
|
|
|
+import com.netflix.ribbon.proxy.annotation.ClientProperties;
|
|
|
import com.usoftchina.smartschool.device.po.AccessControlRecord;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
@@ -22,6 +24,6 @@ public interface AccessControlRecordMapper {
|
|
|
* @param endDate
|
|
|
* @return
|
|
|
*/
|
|
|
- List<AccessControlRecord> selectByStuNumberAndDate(String stuNumber, Date beginDate,
|
|
|
- Date endDate);
|
|
|
+ List<AccessControlRecord> selectByStuNumberAndDate(@Param("name") String stuNumber,@Param("begin") Date beginDate,
|
|
|
+ @Param("end") Date endDate);
|
|
|
}
|