|
楼主 |
发表于 2017-5-24 18:46:53
|
显示全部楼层
- 2017-05-24 14:10:39 [SQL Time]sql 执行时间:1ms, exec KSQL: SELECT articleInfor.* FROM articleInfor articleInfor LIMIT 0, 20
- --> sql:SELECT articleInfor.fID AS articleInfor, articleInfor.FARTICLENAME AS fArticleName, articleInfor.FARTICLETYPE AS fArticleType, articleInfor.FPRICE AS fPrice, articleInfor.FREMARK AS fRemark, articleInfor.FUNIT AS fUnit, articleInfor.VERSION AS version FROM ARTICLEINFOR articleInfor
- --> binds:[]
- 2017-05-24 14:10:39 [SQL Time]sql 执行时间:1ms, exec KSQL:
- --> sql:SELECT count(*) FROM ARTICLEINFOR articleInfor
- --> binds:[]
- 2017-05-24 14:10:39 [SQL Time]sql 执行时间:3ms, exec KSQL: SELECT basicDetail.*,basicMain.fBasicType as fBasicType FROM basicDetail basicDetail join basicMain basicMain on basicDetail.fMainID = basicMain WHERE ((basicMain.fBasicType ='物品类别')) LIMIT 0, 20
- --> sql:SELECT basicDetail.fID AS basicDetail, basicDetail.FBASICNAME AS fBasicName, basicMain.FBASICTYPE AS fBasicType, basicDetail.FMAINID AS fMainID, basicDetail.FNO AS fNo, basicDetail.FREMARK AS fRemark, basicDetail.VERSION AS version FROM BASICDETAIL basicDetail JOIN BASICMAIN basicMain ON basicDetail.FMAINID = basicMain.fID WHERE basicMain.FBASICTYPE = ?
- --> binds:[物品类别]
- 2017-05-24 14:10:39 [SQL Time]sql 执行时间:3ms, exec KSQL:
- --> sql:SELECT count(*) FROM BASICDETAIL basicDetail JOIN BASICMAIN basicMain ON basicDetail.FMAINID = basicMain.fID WHERE basicMain.FBASICTYPE = ?
- --> binds:[物品类别]
- 2017-05-24 14:10:39 [SQL Time]sql 执行时间:1ms, exec KSQL: SELECT basicDetail.*,basicMain.fBasicType as fBasicType FROM basicDetail basicDetail join basicMain basicMain on basicDetail.fMainID = basicMain WHERE ((basicMain.fBasicType ='计量单位')) LIMIT 0, 20
- --> sql:SELECT basicDetail.fID AS basicDetail, basicDetail.FBASICNAME AS fBasicName, basicMain.FBASICTYPE AS fBasicType, basicDetail.FMAINID AS fMainID, basicDetail.FNO AS fNo, basicDetail.FREMARK AS fRemark, basicDetail.VERSION AS version FROM BASICDETAIL basicDetail JOIN BASICMAIN basicMain ON basicDetail.FMAINID = basicMain.fID WHERE basicMain.FBASICTYPE = ?
- --> binds:[计量单位]
- 2017-05-24 14:10:39 [SQL Time]sql 执行时间:0ms, exec KSQL:
- --> sql:SELECT count(*) FROM BASICDETAIL basicDetail JOIN BASICMAIN basicMain ON basicDetail.FMAINID = basicMain.fID WHERE basicMain.FBASICTYPE = ?
- --> binds:[计量单位]
- 2017-05-24 14:11:19 [SQL Time]sql 执行时间:1ms, exec KSQL: INSERT INTO partnerCompany partnerCompany(partnerCompany, partnerCompany.version, partnerCompany.fpartnerArea, partnerCompany.fpartnerGrade, partnerCompany.fpartnerName, partnerCompany.fpartnerType) VALUES (:partnerCompany, :version, :fpartnerArea, :fpartnerGrade, :fpartnerName, :fpartnerType)
- --> sql:INSERT INTO PARTNERCOMPANY (PARTNERCOMPANY.fID, PARTNERCOMPANY.VERSION, PARTNERCOMPANY.FPARTNERAREA, PARTNERCOMPANY.FPARTNERGRADE, PARTNERCOMPANY.FPARTNERNAME, PARTNERCOMPANY.FPARTNERTYPE) VALUES ( ? , ? , ? , ? , ? , ? )
- --> binds:[06264F9884184D59A70C6439CF3006F9, 0, 蜀国, B级伙伴, 一汽大众, 供应商]
- 2017-05-24 14:11:20 [SQL Time]sql 执行时间:2ms, exec KSQL: SELECT partnerCompany.* FROM partnerCompany partnerCompany WHERE (partnerCompany.fpartnerType ='客户') LIMIT 0, 20
- --> sql:SELECT partnerCompany.FPARTNERAREA AS fpartnerArea, partnerCompany.FPARTNERGRADE AS fpartnerGrade, partnerCompany.FPARTNERNAME AS fpartnerName, partnerCompany.FPARTNERTYPE AS fpartnerType, partnerCompany.fID AS partnerCompany, partnerCompany.VERSION AS version FROM PARTNERCOMPANY partnerCompany WHERE partnerCompany.FPARTNERTYPE = ?
- --> binds:[客户]
- 2017-05-24 14:11:20 [SQL Time]sql 执行时间:4ms, exec KSQL:
- --> sql:SELECT count(*) FROM PARTNERCOMPANY partnerCompany WHERE partnerCompany.FPARTNERTYPE = ?
- --> binds:[客户]
复制代码
第一个问题。执行KSQL描述
第二个问题,请问INDEX在哪里设置?我没有设置过index。怎么修改默认index
|
|