3.2.3版本在2016年8月在github下载的框架源码,addAll一直返回false?

浏览:348 发布日期:2017/01/03 分类:求助交流 关键字: addAll 批量插入
dum()打印的数据如下,字段和表的一模一样,长度什么的都满足,单条循环数据插入都没问题,就是用addAll就是返回false,不明白为什么?
array(13) {
["6155_1"] => array(15) {
["user_id"] => string(4) "6155"
["class_type"] => string(15) "PHP开发产品"
["month"] => string(6) "201612"
["sno"] => string(15) "106535355477019"
["allper_fee"] => int(17580)
["out_fee"] => int(0)
["income_fee"] => int(0)
["per_count"] => string(3) "704"
["per_price"] => string(7) "24.9716"
["alr_per"] => int(1)
["acc_income"] => int(1)
["month_per"] => int(184)
["month_income"] => float(4594.77)
["company_id"] => string(1) "1"
["class_id"] => string(3) "553"
}
["6156_1"] => array(15) {
["user_id"] => string(4) "6156"
["class_type"] => string(15) "PHP开发产品"
["month"] => string(6) "201612"
["sno"] => string(15) "106571205622080"
["allper_fee"] => int(17580)
["out_fee"] => int(0)
["income_fee"] => int(0)
["per_count"] => string(3) "704"
["per_price"] => string(7) "24.9716"
["alr_per"] => int(1)
["acc_income"] => int(1)
["month_per"] => int(184)
["month_income"] => float(4594.77)
["company_id"] => string(1) "1"
["class_id"] => string(3) "553"
}
["6157_1"] => array(15) {
["user_id"] => string(4) "6157"
["class_type"] => string(18) "网页设计产品"
["month"] => string(6) "201612"
["sno"] => string(15) "106520325927130"
["allper_fee"] => int(17580)
["out_fee"] => int(0)
["income_fee"] => int(0)
["per_count"] => string(3) "704"
["per_price"] => string(7) "24.9716"
["alr_per"] => int(1)
["acc_income"] => int(1)
["month_per"] => int(184)
["month_income"] => float(4594.77)
["company_id"] => string(1) "1"
["class_id"] => string(3) "553"
}
["6160_1"] => array(15) {
["user_id"] => string(4) "6160"
["class_type"] => string(15) "PHP开发产品"
["month"] => string(6) "201612"
["sno"] => string(15) "106605672058015"
["allper_fee"] => int(17580)
["out_fee"] => int(0)
["income_fee"] => int(0)
["per_count"] => string(3) "704"
["per_price"] => string(7) "24.9716"
["alr_per"] => int(1)
["acc_income"] => int(1)
["month_per"] => int(184)
["month_income"] => float(4594.77)
["company_id"] => string(1) "1"
["class_id"] => string(3) "553"
}
["6204_1"] => array(15) {
["user_id"] => string(4) "6204"
["class_type"] => string(15) "PHP开发产品"
["month"] => string(6) "201612"
["sno"] => string(15) "106664809493916"
["allper_fee"] => int(17580)
["out_fee"] => int(0)
["income_fee"] => int(0)
["per_count"] => string(3) "704"
["per_price"] => string(7) "24.9716"
["alr_per"] => int(1)
["acc_income"] => int(1)
["month_per"] => int(184)
["month_income"] => float(4594.77)
["company_id"] => string(1) "1"
["class_id"] => string(3) "553"
}
["6215_1"] => array(15) {
["user_id"] => string(4) "6215"
["class_type"] => string(18) "网页设计产品"
["month"] => string(6) "201612"
["sno"] => string(15) "106656749828943"
["allper_fee"] => int(17580)
["out_fee"] => int(0)
["income_fee"] => int(0)
["per_count"] => string(3) "704"
["per_price"] => string(7) "24.9716"
["alr_per"] => int(1)
["acc_income"] => int(1)
["month_per"] => int(184)
["month_income"] => float(4594.77)
["company_id"] => string(1) "1"
["class_id"] => string(3) "553"
}
["5673_20"] => array(15) {
["user_id"] => string(4) "5673"
["class_type"] => string(18) "网页设计产品"
["month"] => string(6) "201612"
["sno"] => string(15) "107323310878429"
["allper_fee"] => int(15642)
["out_fee"] => int(0)
["income_fee"] => int(0)
["per_count"] => string(3) "704"
["per_price"] => string(7) "22.2188"
["alr_per"] => int(1)
["acc_income"] => int(1)
["month_per"] => int(184)
["month_income"] => float(4088.26)
["company_id"] => string(2) "20"
["class_id"] => string(3) "563"
}
["6994_20"] => array(15) {
["user_id"] => string(4) "6994"
["class_type"] => string(15) "PHP开发产品"
["month"] => string(6) "201612"
["sno"] => string(15) "107609505235350"
["allper_fee"] => int(15642)
["out_fee"] => int(0)
["income_fee"] => int(0)
["per_count"] => string(3) "704"
["per_price"] => string(7) "22.2188"
["alr_per"] => int(1)
["acc_income"] => int(1)
["month_per"] => int(184)
["month_income"] => float(4088.26)
["company_id"] => string(2) "20"
["class_id"] => string(3) "563"
}
["6995_1"] => array(15) {
["user_id"] => string(4) "6995"
["class_type"] => string(18) "网页设计产品"
["month"] => string(6) "201612"
["sno"] => string(15) "107623649613023"
["allper_fee"] => int(15642)
["out_fee"] => int(0)
["income_fee"] => int(0)
["per_count"] => string(3) "704"
["per_price"] => string(7) "22.2188"
["alr_per"] => int(1)
["acc_income"] => int(1)
["month_per"] => int(184)
["month_income"] => float(4088.26)
["company_id"] => string(1) "1"
["class_id"] => string(3) "566"
}
["5673_16"] => array(15) {
["user_id"] => string(4) "5673"
["class_type"] => string(18) "前端开发产品"
["month"] => string(6) "201612"
["sno"] => string(15) "108306447665310"
["allper_fee"] => int(15642)
["out_fee"] => int(0)
["income_fee"] => int(0)
["per_count"] => string(3) "704"
["per_price"] => string(7) "22.2188"
["alr_per"] => int(1)
["acc_income"] => int(1)
["month_per"] => int(224)
["month_income"] => float(4977.01)
["company_id"] => string(2) "16"
["class_id"] => string(3) "571"
}
["7005_16"] => array(15) {
["user_id"] => string(4) "7005"
["class_type"] => string(15) "PHP开发产品"
["month"] => string(6) "201612"
["sno"] => string(15) "108306364387518"
["allper_fee"] => int(15642)
["out_fee"] => int(0)
["income_fee"] => string(6) "306.82"
["per_count"] => string(3) "704"
["per_price"] => string(7) "22.2188"
["alr_per"] => int(1)
["acc_income"] => int(1)
["month_per"] => int(224)
["month_income"] => float(4977.01)
["company_id"] => string(2) "16"
["class_id"] => string(3) "571"
}
["5673_1"] => array(15) {
["user_id"] => string(4) "5673"
["class_type"] => string(14) "UI设计产品"
["month"] => string(6) "201612"
["sno"] => string(15) "108301285580721"
["allper_fee"] => int(15642)
["out_fee"] => int(0)
["income_fee"] => int(0)
["per_count"] => string(1) "0"
["per_price"] => string(6) "0.0000"
["alr_per"] => int(1)
["acc_income"] => int(1)
["month_per"] => int(184)
["month_income"] => float(0)
["company_id"] => string(1) "1"
["class_id"] => string(3) "608"
}
["7005_1"] => array(15) {
["user_id"] => string(4) "7005"
["class_type"] => string(15) "PHP开发产品"
["month"] => string(6) "201612"
["sno"] => string(15) "108306364387518"
["allper_fee"] => int(15642)
["out_fee"] => string(6) "306.82"
["income_fee"] => int(0)
["per_count"] => string(3) "704"
["per_price"] => string(7) "22.2188"
["alr_per"] => int(1)
["acc_income"] => int(1)
["month_per"] => int(184)
["month_income"] => float(4088.26)
["company_id"] => string(1) "1"
["class_id"] => string(3) "608"
}
}
最佳答案
评论( 相关
后面还有条评论,点击查看>>