Skip to content

Commit

Permalink
fix naming bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fulan.zjf committed Feb 6, 2018
1 parent 3b9a0b2 commit 6a00153
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@
import java.util.List;

@Command
public class CustomerFindByCriteriaQryExe implements QueryExecutorI<MultiResponse<CustomerCO>, CustomerFindByCriteriaQry> {
public class CustomerFindByCriteriaQueryExe implements QueryExecutorI<MultiResponse<CustomerCO>, CustomerFindByCriteriaQry> {

@Autowired
CustomerTunnelI customerDBTunnel;

@Autowired
CustomerConvertor customerConvertor;

@Override
public MultiResponse<CustomerCO> execute(CustomerFindByCriteriaQry cmd) {
CustomerDO customerDO = customerDBTunnel.get("123");
List<CustomerCO> customerCos = new ArrayList<>();
customerCos.add(customerConvertor.dataToClient(customerDO));
return MultiResponse.of(customerCos, customerCos.size());
}


public CustomerDO get(String id) {
CustomerDO customerDO = customerDBTunnel.get("123");
Expand Down

0 comments on commit 6a00153

Please sign in to comment.