err=db.QueryRow(c,"select scanqty,issuebillid,issueentryid from lie_erp_order where id = ? and materialno = ? ",id,materialno).Scan(&scanqty,&issuebillid,&issueentryid)
err=db.QueryRow(c,"select scanqty,issuebillid,issueentryid from lie_erp_order where id = ? ",id).Scan(&scanqty,&issuebillid,&issueentryid)