- ES_OP_TYPE_3AE7F1565B82:操作类型:A:添加、UA:更新后、UB:更新前、D:删除
我建的业务表是egz_equipment
是不是建egz_equipment_HIS,建上面这个5个字段就可以?每个字段名不需要加上3AE7F1565B82吧?
- ES_OP_TYPE_3AE7F1565B82:操作类型:A:添加、UA:更新后、UB:更新前、D:删除
我建的业务表是egz_equipment
是不是建egz_equipment_HIS,建上面这个5个字段就可以?每个字段名不需要加上3AE7F1565B82吧?
应该是备份表建错了,严格按帮助来,参照如下:
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
操作记录表的结构
CREATE TABLE `egz_equipment_his` (
`ES_ID_3AE7F1565B82` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`ES_ID_GROUP_3AE7F1565B82` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作分组id',
`ES_OP_TIME_3AE7F1565B82` datetime(0) NULL DEFAULT NULL COMMENT '操作时间',
`ES_OP_USER_3AE7F1565B82` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作用户',
`ES_OP_TYPE_3AE7F1565B82` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作类型:A:添加、UA:更新后、UB:更新前、D:删除',
`ID` int(11) NULL DEFAULT NULL,
`NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称',
`CODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`W_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`EMPLOYEE_ID` int(11) NULL DEFAULT NULL,
`USER_FLAG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`REMARKS` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`VALID_FLAG` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`VALID_DATE_FROM` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`VALID_DATE_TO` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`CREATE_USER_ID` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`CREATE_TIME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`MODIFY_USER_ID` int(11) NULL DEFAULT NULL,
`MODIFY_TIME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`ES_ID_3AE7F1565B82`) USING BTREE
) ENGINE = MyISAM CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;