main
黄海 2 years ago
parent 85c48bc43c
commit c3e35a8bb8

@ -2038,8 +2038,9 @@ public class CollectModel {
* *
* *
*/ */
String sql = "select target_type_id from t_collect_job_target where job_id=? and bureau_id=?"; String sql = "select target_type_id from t_collect_job_target where job_id=? and target_id=?";
int target_type_id = Db.findFirst(sql, job_id, bureau_id).getInt("target_type_id"); Record record = Db.findFirst(sql, job_id, bureau_id);
int target_type_id = record.getInt("target_type_id");
String updateColumnName = "forward_progress_xiaji"; String updateColumnName = "forward_progress_xiaji";
if (target_type_id == 1) { if (target_type_id == 1) {
updateColumnName = "forward_progress_xiaji"; updateColumnName = "forward_progress_xiaji";

Loading…
Cancel
Save