沈斌
2018-03-08 f320f1970e5d80a423f377fb3253628bd1e7f5bf
src/app/business/services/http/device.service.ts
@@ -13,10 +13,10 @@
    save: environment.SERVER_BASH_URL + 'device/add-or-modify',
    delete: environment.SERVER_BASH_URL + 'device/delete-by-ids'
  };
  public getListUrl (){
  public getListUrl () {
    return this.urls.list;
  }
  public getSqlParams(queryText:string){
  public getSqlParams(queryText: string) {
    const example = new ExampleService();
    if (queryText != null && queryText !== '') {
      example.or().andLike({name: 'name', value: '%' + queryText + '%'});
@@ -28,7 +28,7 @@
  delete(...ids: number[]): Observable< ResultBean<any> > {
      return this.http.post(this.urls.delete, ids);
  }
  public save(data:Device): Observable<any> {
  public save(data: Device): Observable<any> {
    return this.http.post(this.urls.save, data);
  }
}