|
|
@@ -17,13 +17,11 @@ public class NotaryOfficeRepository {
|
|
|
/**
|
|
|
* 根据业务编号获取主订单
|
|
|
*
|
|
|
- * @param name 公证处名称
|
|
|
* @param notaryOfficeCode 公证处编码
|
|
|
* @return 公证处实体
|
|
|
*/
|
|
|
- public NotaryOfficeEntity getNotaryOfficeByNameAndCode(String name, String notaryOfficeCode) {
|
|
|
+ public NotaryOfficeEntity getNotaryOfficeByNameAndCode(String notaryOfficeCode) {
|
|
|
QueryWrapper<NotaryOfficeEntity> qw = new QueryWrapper<>();
|
|
|
- qw.eq("name", name);
|
|
|
qw.eq("notary_office_code", notaryOfficeCode);
|
|
|
return notaryOfficeMapper.selectOne(qw);
|
|
|
}
|