private static final String ENQUIRYSHOPPINGCART_INFO_SQL = "select IFNULL((select e.id from ap_products.enquiryshoppingcart e where e.enquiry_order_id=?),0)";
通过id查询为空时,返回0
mysql 查询为空处理
猜你喜欢
转载自dj111111.iteye.com/blog/2089822
今日推荐
周排行