Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ieeningnwq committed Jan 14, 2024
1 parent 246c11d commit 4161b4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import org.ieening.service.ProductService;

public class ProductServiceImpl implements ProductService {
// ProductDao productDao = new ProductDaoMysqlImpl();
ProductDao productDao = new ProductDaoOracleImpl();
ProductDao productDao = new ProductDaoMysqlImpl();
// ProductDao productDao = new ProductDaoOracleImpl();

public ProductDao getProductDao() {
return productDao;
Expand Down
2 changes: 1 addition & 1 deletion helloworld/src/main/resources/spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<bean class="org.ieening.dao.impl.ProductDaoMysqlImpl" id="productDaoMysqlImpl" />
<bean class="org.ieening.dao.impl.ProductDaoOracleImpl" id="productDaoOracleImpl" />
<bean class="org.ieening.service.impl.ProductServiceImpl" id="productService">
<property name="productDao" ref="productDaoOracleImpl"></property>
<property name="productDao" ref="productDaoMysqlImpl"></property> <!-- 注释1-->
</bean>
</beans>

0 comments on commit 4161b4d

Please sign in to comment.