text(测试使用mq初始化多数据源)

master
031026 2024-06-12 22:31:57 +08:00
commit 0c7fe0a4fa
2 changed files with 8 additions and 0 deletions

View File

@ -28,4 +28,11 @@ public class ManyEnterpriseController {
manyEnterpriseService.AllList(headerValue) manyEnterpriseService.AllList(headerValue)
); );
} }
// @PostMapping("/manyEnterpriseAdd")
// public Result<String> manyEnterpriseAdd(@RequestBody Enterprise enterprise,@RequestHeader("ent_code")String key){
// return Result.success(
// manyEnterpriseService.manyEnterpriseAdd(enterprise,key)
// );
// }
} }

View File

@ -11,4 +11,5 @@ import com.muyu.many.domain.Enterprise ;
* @createTime: 2024/6/6 15:52 * @createTime: 2024/6/6 15:52
*/ */
public interface ManyEnterpriseMapper extends BaseMapper<Enterprise> { public interface ManyEnterpriseMapper extends BaseMapper<Enterprise> {
int enterpriseInsert(Enterprise enterprise);
} }