"select a.dh,zdr,shr,zgqz,cwqz,ywqz,jlqz from cgjhb1 a,cgjhb2 b where a.dh=b.dh and a.shbz=1and b.ghdw.substring(0,b.ghdw.indexof(' '))='" + strbm + "' and b.wcsl<b.sl and a.hz='" + strhz + "'";就是这里:
b.ghdw.substring(0,b.ghdw.indexof(' '))='" + strbm + "'
这里可以直接对字段进行substring()操作吗?
b.ghdw.substring(0,b.ghdw.indexof(' '))='" + strbm + "'
这里可以直接对字段进行substring()操作吗?
嘿嘿