|
|
@ -24,7 +24,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<!-- 数据库配置 --> |
|
|
|
<environments default="dev"> |
|
|
|
<environments default="master"> |
|
|
|
<environment id="dev"> |
|
|
|
<transactionManager type="JDBC"/> |
|
|
|
<dataSource type="POOLED"> |
|
|
@ -34,6 +34,15 @@ |
|
|
|
<property name="password" value="100299"/> |
|
|
|
</dataSource> |
|
|
|
</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> |
|
|
|
|
|
|
|
<!-- mapper.xml的位置
|
|
|
|