|
|
@@ -102,11 +102,11 @@ public class PublicClue extends Controller {
|
|
|
//转移人,转移时间
|
|
|
String changeBy = "";
|
|
|
String changeDate = "";
|
|
|
- Rows countRows = dbConnect.runSqlQuery(" SELECT COUNT(0) count FROM sat_orderclue_auth WHERE sat_orderclueid = " + sat_orderclueid);
|
|
|
- if (countRows.isNotEmpty()) {
|
|
|
- Row changeRow = dbConnect.runSqlQuery(0, " SELECT changeby,changedate FROM sat_orderclue_auth WHERE sat_orderclueid = " + sat_orderclueid);
|
|
|
- changeBy = changeRow.getString("changeby");
|
|
|
- changeDate = changeRow.getString("changedate");
|
|
|
+
|
|
|
+ Rows changeRows = dbConnect.runSqlQuery(" SELECT changeby,changedate FROM sat_orderclue_auth WHERE sat_orderclueid = " + sat_orderclueid + " order by changedate desc");
|
|
|
+ if (changeRows.isNotEmpty()) {
|
|
|
+ changeBy = changeRows.get(0).getString("changeby");
|
|
|
+ changeDate = changeRows.get(0).getString("changedate");
|
|
|
}
|
|
|
//最近跟进人,最近跟进时间
|
|
|
String followBy = "";
|