text:(连接池链接更改)
parent
699ee9521e
commit
2a4df57dd0
|
@ -19,7 +19,6 @@
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.muyu</groupId>
|
<groupId>com.muyu</groupId>
|
||||||
<artifactId>muyu-modules-system</artifactId>
|
<artifactId>muyu-modules-system</artifactId>
|
||||||
|
|
|
@ -108,6 +108,10 @@
|
||||||
<groupId>com.muyu</groupId>
|
<groupId>com.muyu</groupId>
|
||||||
<artifactId>muyu-common-system</artifactId>
|
<artifactId>muyu-common-system</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.rabbitmq</groupId>
|
||||||
|
<artifactId>amqp-client</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
package com.muyu.etl.consumer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ClassDescription:
|
||||||
|
* @JdkVersion: 17
|
||||||
|
* @Author: zhangxu
|
||||||
|
* @Created: 2024/5/16 15:02
|
||||||
|
*/
|
||||||
|
public class Consumer_SimpleQueue {
|
||||||
|
}
|
|
@ -0,0 +1,31 @@
|
||||||
|
package com.muyu.etl.mapper;
|
||||||
|
|
||||||
|
import com.muyu.etl.domain.req.BrandReq;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ClassDescription:
|
||||||
|
* @JdkVersion: 17
|
||||||
|
* @Author: zhangxu
|
||||||
|
* @Created: 2024/5/16 20:55
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface BrandMapper {
|
||||||
|
|
||||||
|
|
||||||
|
public List<BrandReq> getBrandList(BrandReq brandReq);
|
||||||
|
|
||||||
|
|
||||||
|
int update();
|
||||||
|
|
||||||
|
|
||||||
|
int insert();
|
||||||
|
|
||||||
|
int delete(BrandReq brandReq);
|
||||||
|
|
||||||
|
int deleteAll(Long[] ids);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,19 @@
|
||||||
|
package com.muyu.etl.produce;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ClassDescription:
|
||||||
|
* @JdkVersion: 17
|
||||||
|
* @Author: zhangxu
|
||||||
|
* @Created: 2024/5/16 15:01
|
||||||
|
*/
|
||||||
|
public class Producer_SimpleQueue {
|
||||||
|
|
||||||
|
private final static String QUEUE_NAME = "simple_queue";
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
//获取连接及mq通道
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue