nnd,没有报红异常信息,从来没碰见过的问题,仔细发现只找到一个
was not registered for synchronization because synchronization is not active
异常,我就找啊找啊找,百度说是事务异常,还有说重复扫描,然并卵都没有
最后发现罪魁祸首:
异常try catch() ------一个傻逼写的捕捉异常
try {
operationMapper.deleteOperationNameByPid(vo);
operationMapper.deleteOperationScheduleByPid(vo);
operationMapper.updateOrdersByPid(vo);
} catch (Exception e) {
throw new RuntimeException(e.getCause());
}
我只想说操!傻逼!
最后
try {
//获取手术申请的编号字符串集
operationMapper.deleteOperationScheduleByPid(vo);
operationMapper.deleteOperationNameByPid(vo);
operationMapper.updateOrdersByPid(orders);
} catch (Exception e) {
e.printStackTrace();
}
异常正常打印出来了... lalala,太高兴了,以后大傻逼写的代码要小心了
好大一个坑,我草塔仙人!!