|
@@ -27,11 +27,11 @@ public class CooperatorServiceImpl extends ServiceImpl<CooperatorMapper, Coopera
|
|
CooperatorMapper cooperatorMapper;
|
|
CooperatorMapper cooperatorMapper;
|
|
|
|
|
|
@Override
|
|
@Override
|
|
- public CooperatorInfo findByCorpCertificateNumAndType(String corpCertificateNum,String corpCertificateType) {
|
|
|
|
|
|
+ public List<CooperatorInfo> findByCorpCertificateNumAndType(String corpCertificateNum,String corpCertificateType) {
|
|
QueryWrapper wrapper=new QueryWrapper();
|
|
QueryWrapper wrapper=new QueryWrapper();
|
|
wrapper.eq("corp_certificate_num",corpCertificateNum);
|
|
wrapper.eq("corp_certificate_num",corpCertificateNum);
|
|
wrapper.eq("corp_certificate_type",corpCertificateType);
|
|
wrapper.eq("corp_certificate_type",corpCertificateType);
|
|
- return getOne(wrapper);
|
|
|
|
|
|
+ return list(wrapper);
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|