public int total(ProductOilStore productOilStore)
{
return sqlSession.selectOne(namespance + "total", productOilStore);
}
改为:修改了代码 “return 。。。" 做了强制类型转换。
public Integer total(ProductOilStore productOilStore)
{
Integer total = sqlSession.selectOne(namespance + "total", productOilStore);
return total;
}