define(function (require, exports, module) { let Service = require('apps/rht/base/rhtService'); let prefix = 'cn.qdhezheng.rht.app.cls.cls130101.'; return { GetClsTree: function () { return Service.doPlugin(prefix + 'GetClsTree', { }) }, GetLevelCodeTotalLen: function (clsLvl, lvlType) { return Service.doPlugin(prefix + 'GetLevelCodeTotalLen', { clslvl:clsLvl, lvltype:lvlType }) }, ClsExists: function (clsCode, clsName) { return Service.doPlugin(prefix + 'ClsExists', { clscode:clsCode, clsname:clsName }) }, ClsIsUsed: function (clsId, clsCode) { return Service.doPlugin(prefix + 'ClsIsUsed', { clsid:clsId, clscode:clsCode }) }, DeleteCls: function (clsCode) { return Service.doPlugin(prefix + 'DeleteCls', { clscode:clsCode }) }, ClsToLast: function (clsId) { return Service.doPlugin(prefix + 'ClsToLast', { clsid:clsId }) }, ClsDivide: function (clsId, clsData, clsInfo) { return Service.doPlugin(prefix + 'ClsDivide', { clsid:clsId, clsdata:clsData, clsinfo:clsInfo }) } }; })