|
楼主 |
发表于 2018-11-27 14:13:00
|
显示全部楼层
- if (new_ALLOWANCEBUDGET == old_ALLOWANCEBUDGET) {
- } else {
- fillData(new_ALLOWANCEBUDGET, old_ALLOWANCEBUDGET, deptid, userid, "D4");
- }
- }
- // 将修改记录保存到日志表
- private void fillData(double new_value, double old_value, int typeid, String userid, String cell) {
- Connection con = getConn();
- PreparedStatement ps = null;
- String sql = "insert into DEMO_DEPT_BUDGET_LOG (budgettype,deptid,userid,new_value,old_value,alterdate) values(?,?,?,?,?,CURRENT_TIMESTAMP())";
-
-
复制代码
|
|