@Autowired
private SqlSessionFactory sqlSessionFactory;
public int updateByPrimaryKeySelective(AGsJbxx entity) {
String sql = sqlSessionFactory.getConfiguration()
.getMappedStatement("com.hx.tpa.core.dao.AGsJbxxMapper.search").getBoundSql(entity).getSql()
return aGsJbxxMapper.updateByPrimaryKeySelective(entity);
}
获取mybatis执行的sql语句
最新推荐文章于 2024-07-29 14:21:29 发布