在添加新内容时,creatat没有数据

  首先找到controller中的add方法,然后是执行了Service.insert()方法

然后找到service对应的impl方法,

impl方法中的

  public void insert(CustomizeRptModule model) {
model.preInsert();
this.customizeRptModuleDao.insert(model);
}
是执行了插入操作,debug看一下model中的数据
发现主表的createat数据为null 但是字表中的createat有数据
将字表中实体类里的createat删除
解决问题
posted @ 2019-06-06 18:13  蜗牛的代码之路  阅读(194)  评论(0编辑  收藏  举报