05 2019 档案
摘要:需求:不同的环境有不同的开关属性,比如开发系统,需要关闭短信,微信的通知功能。而演示环境,线上环境则需要打开这些配置。 那么,如何做到呢? 》在properties.application配置 需要在resources下创建 application-{profile}.properties的配置文件
阅读全文
摘要:注解 @Query 允许在方法上使用 JPQL。 列如: @Query("select u from User u where u.name=?1 and u.department_id=?2") public User findUser(String name,Integer department
阅读全文
摘要:命令如下:mvn install:install-file -DgroupId=com.zebra -DartifactId=ZSDK_API -Dversion=v2.12.3782 -Dpackaging=jar -Dfile=E:\perslib\ZSDK_API.jar -DgroupId=
阅读全文