|
@ -24,7 +24,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 数据库配置 --> |
|
|
<!-- 数据库配置 --> |
|
|
<environments default="dev"> |
|
|
|
|
|
|
|
|
<environments default="master"> |
|
|
<environment id="dev"> |
|
|
<environment id="dev"> |
|
|
<transactionManager type="JDBC"/> |
|
|
<transactionManager type="JDBC"/> |
|
|
<dataSource type="POOLED"> |
|
|
<dataSource type="POOLED"> |
|
@ -34,6 +34,15 @@ |
|
|
<property name="password" value="100299"/> |
|
|
<property name="password" value="100299"/> |
|
|
</dataSource> |
|
|
</dataSource> |
|
|
</environment> |
|
|
</environment> |
|
|
|
|
|
<environment id="master"> |
|
|
|
|
|
<transactionManager type="JDBC"/> |
|
|
|
|
|
<dataSource type="POOLED"> |
|
|
|
|
|
<property name="driver" value="com.mysql.cj.jdbc.Driver"/> |
|
|
|
|
|
<property name="url" value="jdbc:mysql://10.23.151.148:3306/DeliveryTakingSystem"/> |
|
|
|
|
|
<property name="username" value="root"/> |
|
|
|
|
|
<property name="password" value="qaz123"/> |
|
|
|
|
|
</dataSource> |
|
|
|
|
|
</environment> |
|
|
</environments> |
|
|
</environments> |
|
|
|
|
|
|
|
|
<!-- mapper.xml的位置
|
|
|
<!-- mapper.xml的位置
|
|
|