Commit 532ec1d0 authored by gary's avatar gary

1、fixbug

parent 86f05c56
......@@ -2319,7 +2319,7 @@ public class OrganizationServiceImpl extends BaseService{
@SuppressWarnings("rawtypes")
private OperationResultDto checkOrgNameOrOrgCode(OrganizationDto orgDto) {
OrganizationExample example = new OrganizationExample();
if (null!=orgDto.getOversea()&&orgDto.getOversea()) {
if (null!=orgDto.getOversea()&&orgDto.getOversea()&&null!=orgDto.getEnglishName()) {
example.or().andEnglishNameEqualTo(orgDto.getEnglishName());
} else if (orgDto.getId() == null) {
example.or().andClientCodeEqualTo(orgDto.getClientCode()).andNameEqualTo(orgDto.getName());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment