|
|
@@ -2,6 +2,8 @@ package com.goafanti.common.dao;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
+
|
|
|
import com.goafanti.common.model.Contract;
|
|
|
import com.goafanti.contract.bo.ContractDetail;
|
|
|
import com.goafanti.contract.bo.ContractSerialNumber;
|
|
|
@@ -24,4 +26,6 @@ public interface ContractMapper {
|
|
|
List<ContractSerialNumber> selectContractSerialNumber(String principal);
|
|
|
|
|
|
int batchDeleteByPrimaryKey(List<String> id);
|
|
|
+
|
|
|
+ Contract findByUidAndYear(@Param("uid") String uid, @Param("year")Integer year);
|
|
|
}
|