File tree Expand file tree Collapse file tree
order-services/order-provider/src/main
java/com/gpmall/order/dal/persistence
search-service/search-provider/src/main/resources
shopping-service/shopping-provider/src/main/java/com/gpmall/shopping/dal/entitys Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ module.exports = {
2929 assetsPublicPath : '/' ,
3030 proxyTable : {
3131 '/user/*' : {
32- target : 'http://127.0.0.1:8088 ' // 请求本地 需要咕泡商城后台项目 默认127.0.0.1:8082
32+ target : 'http://127.0.0.1:8082 ' // 请求本地 需要咕泡商城后台项目 默认127.0.0.1:8082
3333 } ,
3434 '/shopping/**' : {
3535 target : 'http://127.0.0.1:8081' // 请求本地 需要咕泡商城后台项目 默认127.0.0.1:8081
Original file line number Diff line number Diff line change 2121 </sql >
2222
2323 <select id =" queryByOrderId" resultMap =" BaseResultMap" >
24- SELECT * FROM TB_ORDER_ITEM WHERE ORDER_ID = #{orderId}
24+ SELECT * FROM tb_order_item WHERE ORDER_ID = #{orderId}
2525 </select >
2626
2727</mapper >
Original file line number Diff line number Diff line change 3131
3232
3333 <select id =" countAll" resultType =" long" >
34- SELECT COUNT(*) FROM TB_ORDER
34+ SELECT COUNT(*) FROM tb_order
3535 </select >
3636</mapper >
Original file line number Diff line number Diff line change 22 datasource :
33 url : jdbc:mysql://mysql.gpmall.com:3306/gpmall?useUnicode=true&characterEncoding=utf8&useOldAliasMetadataBehavior=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&serverTimezone=UTC
44 username : root
5- password : 123
5+ password : root
66 driver-class-name : com.mysql.cj.jdbc.Driver
77 type : com.alibaba.druid.pool.DruidDataSource
88 initialSize : 2
Original file line number Diff line number Diff line change 22 datasource :
33 url : jdbc:mysql://mysql.gpmall.com:3306/gpmall?useUnicode=true&characterEncoding=utf8&useOldAliasMetadataBehavior=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
44 username : root
5- password : 123
5+ password : root
66 driver-class-name : com.mysql.cj.jdbc.Driver
77 type : com.alibaba.druid.pool.DruidDataSource
88 initialSize : 2
@@ -31,7 +31,7 @@ spring:
3131 data :
3232 elasticsearch :
3333 cluster-name : docker-cluster
34- cluster-nodes : 39.98.240.253 :9300
34+ cluster-nodes : es.gupaoedu.com :9300
3535
3636dubbo :
3737 application :
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ spring:
2828 max-idle : 10
2929 max-wait : 3000
3030 min-idle : 4
31+ data :
32+ elasticsearch :
33+ cluster-name : docker-cluster
34+ cluster-nodes : es.gupaoedu.com:9300
3135dubbo :
3236 application :
3337 name : pay-services
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ spring:
2828 max-idle : 10
2929 max-wait : 3000
3030 min-idle : 4
31+ data :
32+ elasticsearch :
33+ cluster-name : docker-cluster
34+ cluster-nodes : es.gupaoedu.com:9300
3135dubbo :
3236 application :
3337 name : pay-services
Original file line number Diff line number Diff line change 55
66import javax .persistence .Id ;
77import javax .persistence .Table ;
8+ import javax .persistence .Transient ;
89import java .io .Serializable ;
910import java .util .Date ;
1011import java .util .List ;
@@ -36,6 +37,7 @@ public class Panel implements Serializable {
3637
3738 private List <PanelContentItem > panelContentItems ;
3839
40+ @ Transient
3941 private Long productId ;
4042
4143 private static final long serialVersionUID = 1L ;
You can’t perform that action at this time.
0 commit comments