|
@@ -405,7 +405,7 @@ public class orderclue extends Controller {
|
|
|
@API(title = "销售线索-导入详情", apiversion = R.ID2026020914515801.v1.class)
|
|
@API(title = "销售线索-导入详情", apiversion = R.ID2026020914515801.v1.class)
|
|
|
public String queryOrderclueuploadbillMain() throws YosException {
|
|
public String queryOrderclueuploadbillMain() throws YosException {
|
|
|
Long sat_orderclueuploadbillid = content.getLong("sat_orderclueuploadbillid");
|
|
Long sat_orderclueuploadbillid = content.getLong("sat_orderclueuploadbillid");
|
|
|
- QuerySQL querySQL = SQLFactory.createQuerySQL(this, "sat_orderclueuploadbill", "t1.sat_orderclueuploadbillid", "t1.uploadbillnum", "t1.notes", "t1.createby", "t1.createdate", "t1.changeby", "t1.changedate", "t1.status", "t1.cluetype", "t1.checkdate", "t1.status", "t1.checkby", "t1.checkdate");
|
|
|
|
|
|
|
+ QuerySQL querySQL = SQLFactory.createQuerySQL(this, "sat_orderclueuploadbill");
|
|
|
querySQL.setUniqueid(sat_orderclueuploadbillid);
|
|
querySQL.setUniqueid(sat_orderclueuploadbillid);
|
|
|
Rows rows = querySQL.query();
|
|
Rows rows = querySQL.query();
|
|
|
|
|
|
|
@@ -420,7 +420,7 @@ public class orderclue extends Controller {
|
|
|
@API(title = "销售线索-导入详情明细", apiversion = R.ID20221102100102.v1.class)
|
|
@API(title = "销售线索-导入详情明细", apiversion = R.ID20221102100102.v1.class)
|
|
|
public String queryOrderclueuploadbillMxMain() throws YosException {
|
|
public String queryOrderclueuploadbillMxMain() throws YosException {
|
|
|
Long sat_orderclueuploadbillid = content.getLong("sat_orderclueuploadbillid");
|
|
Long sat_orderclueuploadbillid = content.getLong("sat_orderclueuploadbillid");
|
|
|
- QuerySQL orderclueuploadbillmxQuery = SQLFactory.createQuerySQL(this, "sat_orderclueuploadbillmx", "name", "province", "city", "county", "address", "notes", "sat_orderclueid", "sat_orderclueuploadbillmxid", "sat_orderclueuploadbillid", "phonenumber", "cluesource").setTableAlias("t1");
|
|
|
|
|
|
|
+ QuerySQL orderclueuploadbillmxQuery = SQLFactory.createQuerySQL(this, "sat_orderclueuploadbillmx", "*").setTableAlias("t1");
|
|
|
orderclueuploadbillmxQuery.addJoinTable(JOINTYPE.inner, "sat_orderclueuploadbill", "t2", "t1.sat_orderclueuploadbillid=t2.sat_orderclueuploadbillid", "cluetype");
|
|
orderclueuploadbillmxQuery.addJoinTable(JOINTYPE.inner, "sat_orderclueuploadbill", "t2", "t1.sat_orderclueuploadbillid=t2.sat_orderclueuploadbillid", "cluetype");
|
|
|
orderclueuploadbillmxQuery.setWhere("t1.sat_orderclueuploadbillid", sat_orderclueuploadbillid);
|
|
orderclueuploadbillmxQuery.setWhere("t1.sat_orderclueuploadbillid", sat_orderclueuploadbillid);
|
|
|
orderclueuploadbillmxQuery.setPage(pageSize, pageNumber);
|
|
orderclueuploadbillmxQuery.setPage(pageSize, pageNumber);
|