摘要:
SELECT count(case when `status`=5 then 1 else null end) as countOk,count(case when `status`=8 then 1 else null end) as countNo FROM mtl_order where st 阅读全文
摘要:
int insert(T record); int insert(T record); int insertSelective(T record); int insertSelective(T record); insertSelective 对应的 SQL 语句加入了 NULL 检验,只会插入数据 阅读全文
摘要:
一.将long型转化为int型,这里的long型是基础类型: long a = 10; int b = (int)a; 二.将Long型转换为int 型的,这里的Long型是包装类型: Long a = 10; int b=a.intValue(); 三.将int型转化为long型,这里的int型是 阅读全文
摘要:
var add1 = '四川省成都市都江堰市天马镇34号'; var add2 = '北京市北京市东城区前门大街1号' var add3 = '新疆维吾尔自治区乌鲁木齐市天山区中山路479号'; var add4 = '四川省成都市双流县幸福社区23号'; var add5 = '香港特别行政区中西 阅读全文