|
|
@ -145,9 +145,11 @@ public class ToolDaoImpl implements ToolDao { |
|
|
StringBuilder sql = new StringBuilder(); |
|
|
StringBuilder sql = new StringBuilder(); |
|
|
sql.append("INSERT INTO tool_header(site, tool_id, tool_description, c_tool_type, c_calendar_id, c_sched_capacity,"); |
|
|
sql.append("INSERT INTO tool_header(site, tool_id, tool_description, c_tool_type, c_calendar_id, c_sched_capacity,"); |
|
|
sql.append(" c_calibration_control, c_calibration_time, c_alternate_tool_id, c_last_used, c_enabled_for_control_plan_db, c_note_text,"); |
|
|
sql.append(" c_calibration_control, c_calibration_time, c_alternate_tool_id, c_last_used, c_enabled_for_control_plan_db, c_note_text,"); |
|
|
|
|
|
sql.append(" active,"); //2024-11-21新增字段 |
|
|
sql.append(" created_by, create_date, c_state, c_property_no, ifs_row_id, ifs_row_version)"); |
|
|
sql.append(" created_by, create_date, c_state, c_property_no, ifs_row_id, ifs_row_version)"); |
|
|
sql.append("VALUES(:site, :toolId, :toolDesc, :toolType, :calendarId, :schedCapacity,"); |
|
|
sql.append("VALUES(:site, :toolId, :toolDesc, :toolType, :calendarId, :schedCapacity,"); |
|
|
sql.append(" :calibrationControl, :calibrationTime, :alternateToolId, :lastUsed, :enabledForControlPlanDb, :noteText,"); |
|
|
sql.append(" :calibrationControl, :calibrationTime, :alternateToolId, :lastUsed, :enabledForControlPlanDb, :noteText,"); |
|
|
|
|
|
sql.append(" :active,"); //2024-11-21新增字段 |
|
|
sql.append(" :username, :createDate, :state, :propertyNo, :ifsRowId, :ifsRowVersion)"); |
|
|
sql.append(" :username, :createDate, :state, :propertyNo, :ifsRowId, :ifsRowVersion)"); |
|
|
parameterJdbcTemplate.update(sql.toString(), new BeanPropertySqlParameterSource(inData)); |
|
|
parameterJdbcTemplate.update(sql.toString(), new BeanPropertySqlParameterSource(inData)); |
|
|
} |
|
|
} |
|
|
|