Spring Bladex Spring cloud/boot 学习

1、Json parser:

       Json中不能有comment

参考网站:

       https://www.cnblogs.com/yourbatman/p/13390444.html

 

2、数据库表格中必建字段:

       `id` bigint(20) NOT NULL,

     `status` int(2) DEFAULT NULL,

       `is_deleted` int(2) DEFAULT NULL,

       `update_user` bigint(20) DEFAULT NULL,

       `create_user` bigint(20) DEFAULT NULL,

       `update_time` datetime DEFAULT NULL,

       `create_time` datetime DEFAULT NULL,

       `tenant_id` varchar(36) DEFAULT NULL,

       `create_dept` bigint(20) DEFAULT NULL,

参考:

CREATE TABLE IF NOT EXISTS `dorm_ann_bas_info`(

  

   `year` DATE NOT NULL comment '年度',

   `prev_cert_veri` VARCHAR(255) NOT NULL comment '动物防疫条件合格证审验情况',

   `in_no` INT(11) comment '年饲养量 存栏',

   `out_no` INT(11) comment '年饲养量 出栏',

   `dieout_no` INT(11) comment '年饲养量 死淘',

   `immu_no` INT(11) comment '免疫数',

   `quar_rep_no` INT(11) comment '检疫申报 申报数',

   `quar_quar_no` INT(11) comment '检疫申报 检疫数',

   `harmless_no` INT(11) comment '无害化处理数',

   `veter_sign` VARCHAR(255) NOT NULL comment '监管兽医签名',

   `manager` VARCHAR(255) NOT NULL comment '养殖场负责人',

   `reporter` VARCHAR(255) NOT NULL comment '填表人',

`id` bigint(20) NOT NULL,

     `status` int(2) DEFAULT NULL,

       `is_deleted` int(2) DEFAULT NULL,

       `update_user` bigint(20) DEFAULT NULL,

       `create_user` bigint(20) DEFAULT NULL,

       `update_time` datetime DEFAULT NULL,

       `create_time` datetime DEFAULT NULL,

       `tenant_id` varchar(36) DEFAULT NULL,

       `create_dept` bigint(20) DEFAULT NULL,

   PRIMARY KEY ( `id` )

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4  comment '畜禽养殖场年度基本情况表';

 

 

3、Entity 中属性要与 Mapper中的xml 字段对应

4、新增依赖记得(mvn install yarn install)

5、yarn build(非必须) / 跑起来只需要 yarn install & yarn serve

6、vue的Data双向绑定模式

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
引用\[1\]:这个错误是java.lang.NoClassDefFoundError: org/springframework/cloud/context/named/NamedContextFactory$Specification。这个错误通常是由于缺少相关的依赖导致的。引用\[3\]中提到了解决方法,即在maven仓库中找到这个依赖并导入项目中。你可以尝试在pom.xml文件中添加相关的依赖,然后重新构建项目。这样应该可以解决这个错误。另外,关于为什么之前能够正常启动而突然报错的原因,可能需要进一步排查。可能是项目的配置发生了变化,或者是其他依赖冲突等问题导致的。希望这个解决方法对你有帮助。 #### 引用[.reference_title] - *1* *2* [spring boot java.lang.NoClassDefFoundError: org/springframework/cloud/context/named/NamedContextFact](https://blog.csdn.net/wljk506/article/details/85052187)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] - *3* [关于org.springframework.cloud.context.named.NamedContextFactory$Specification 的问题](https://blog.csdn.net/nanshen__/article/details/115632041)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值