123456789101112131415161718192021222324 |
- package com.sinosoft.em.alert.duty.records.dao;
- import org.springframework.jdbc.core.JdbcTemplate;
- import com.persistence.SpringJdbcTemplate;
- public class EcmDutySpringDao extends SpringJdbcTemplate {
- public boolean updateStat(String fdid, String svalue, String rvalue) {
- boolean flag = false;
- JdbcTemplate jdbcTemplate = super.getJdbcTemplate();
- String strSql = " update ECM_EM_DUTY set STATE = ?, RELEASE = ? where FD_OBJECTID = ?";
- Object[] args = { fdid, svalue, rvalue };
- jdbcTemplate.update(strSql, args);
- flag = true;
- return flag;
- }
- }
|