| | |
| | | define([ |
| | | 'app' |
| | | ], function (app) { |
| | | app.factory("IspField", ['$http', '$log', function ($http, $log) { |
| | | app.factory("IspField", ['$http', '$log', '$upload', function ($http, $log, $upload) { |
| | | return { |
| | | find : function (conditions) { |
| | | return $http.post("ispField/find", conditions).then(function (response) { |
| | |
| | | $log.debug("IspField 삭제 결과 : ", response); |
| | | return response; |
| | | }); |
| | | }, |
| | | importExcel : function (conditions) { |
| | | conditions.url = "ispField/importExcel"; |
| | | return $upload.upload(conditions).then(function (response) { |
| | | $log.debug("ispField Import 결과 : ", response); |
| | | return response; |
| | | }); |
| | | } |
| | | } |
| | | } |