|
|
@ -39,16 +39,6 @@ public class PluginDao { |
|
|
|
return pluginDefineMapper.checkTableExist() > 0; |
|
|
|
return pluginDefineMapper.checkTableExist() > 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* add pluginDefine |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @param pluginDefine plugin define entiy |
|
|
|
|
|
|
|
* @return plugin define id |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public int addPluginDefine(PluginDefine pluginDefine) { |
|
|
|
|
|
|
|
return pluginDefineMapper.insert(pluginDefine); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* add or update plugin define |
|
|
|
* add or update plugin define |
|
|
|
* |
|
|
|
* |
|
|
@ -83,12 +73,4 @@ public class PluginDao { |
|
|
|
public PluginDefine getPluginDefineById(int pluginDefineId) { |
|
|
|
public PluginDefine getPluginDefineById(int pluginDefineId) { |
|
|
|
return pluginDefineMapper.selectById(pluginDefineId); |
|
|
|
return pluginDefineMapper.selectById(pluginDefineId); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public PluginDefineMapper getPluginDefineMapper() { |
|
|
|
|
|
|
|
return pluginDefineMapper; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setPluginDefineMapper(PluginDefineMapper pluginDefineMapper) { |
|
|
|
|
|
|
|
this.pluginDefineMapper = pluginDefineMapper; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|