搜索
系统检测到您的用户名不符合规范:

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

浏览:391 发布日期: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"
}
}
最佳答案
评论() 相关
后面还有条评论,
评论支持使用[code][/code]标签添加代码
您需要登录后才可以评论 登录 | 立即注册
收藏
唐嘉宁
积分:669 等级:LV2
热点推荐
(追記) (追記ここまで)
最新更新

我们

合作

网站

信息

ThinkPHP 是一个免费开源的,快速、简单的面向对象的 轻量级PHP开发框架 ,创立于2006年初,遵循Apache2开源协议发布,是为了敏捷WEB应用开发和简化企业应用开发而诞生的。ThinkPHP从诞生以来一直秉承简洁实用的设计原则,在保持出色的性能和至简的代码的同时,也注重易用性。并且拥有众多的原创功能和特性,在社区团队的积极参与下,在易用性、扩展性和性能方面不断优化和改进,已经成长为国内最领先和最具影响力的WEB应用开发框架,众多的典型案例确保可以稳定用于商业以及门户级的开发。

AltStyle によって変換されたページ (->オリジナル) /