오픈소스 도입으로 license 변경
//Copyright 2020, DAELIM
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.동호수 선택 in 점검편집
=// [GlobalVar alertMsgOKWithTitle:@"대림건설" message:[e reason]];
// return -99;
2020-03-09 22:08:57.882500+0900 MBASS[39606:5121191] hjhImageFileTitledMapReturn2 59A.jpg 1 20200228112141656772.5047375062766.jpg
2020-03-09 22:08:57.883722+0900 MBASS[39606:5121191] onClickMap 59A.jpg 1 20200228112141656772.5047375062766.jpg 59A_J
2020-03-09 22:09:48.090258+0900 MBASS[39606:5121191] hjhImageFileTitledMapReturn2 59A.jpg 1 20200228112141656772.5047375062766.jpg
2020-03-09 22:09:48.090813+0900 MBASS[39606:5121191] onClickMap 59A.jpg 1 20200228112141656772.5047375062766.jpg 59A_J
2020-03-09 22:09:48.099133+0900 MBASS[39606:5121191] 292513_2
VC by VC darkmode
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
self.overrideUserInterfaceStyle = UIUserInterfaceStyleDark;
- (void)viewDidLoad
{
[super viewDidLoad];
self.overrideUserInterfaceStyle = UIUserInterfaceStyleDark;
아래 코드 다 걷어냄.
/*
NSMutableDictionary *dic = [[NSMutableDictionary alloc] initWithCapacity:0];
[db selectHosh:dic withDongCd:mDongCd nohs:mFloor];
NSString *dongNm = [dic valueForKey:@"nm_dong"];
NSString *florNm = @"";
NSString *ho = @"전체";
if (YES == [mDongCd isEqualToString:@""]) {
dongNm = @"전체동";
}
if (YES == [mFloor isEqualToString:@""]) {
florNm = @"전체";
[mLblHosh setText:[NSString stringWithFormat:@"%@→%@층→%@호", dongNm, florNm, ho]];
}
else {
if (2 < [mFloor length]) {
// 동층호 다 선택
[mLblHosh setText:[NSString stringWithFormat:@"%@→%@호", dongNm, mFloor]];
}
else {
florNm = mFloor;
[mLblHosh setText:[NSString stringWithFormat:@"%@→%@층→%@호", dongNm, florNm, ho]];
}
}
[db selectDfct:mList withDongCd:mDongCd nohs:mNohs ynReClsfRqst:@"" mode:@"" hndlStatCd:stat];
[db inspectionSelectDfct:mListMutableArray withDongCd:mDongCd nohs:mFloor ynReClsfRqst:@"" hndlStatCd:@"E" myandquery:@""];
[db selectDfctreq1:mListMutableArray withDongCd:mDongCd nohs:mFloor ynReClsfRqst:@"" mode:@"" hndlStatCd:@"X"];
[db selectDfctreq1:mListMutableArray withDongCd:mDongCd nohs:mFloor ynReClsfRqst:@"" mode:@"" hndlStatCd:@"B"];
[db inspectionSelectDfct:mListMutableArray withDongCd:mDongCd nohs:mFloor ynReClsfRqst:@"" hndlStatCd:@"B" myandquery:@"and yn_re_rcpt='Y' "]; //20200223
[db inspectionSelectDfct2:mListMutableArray withDongCd:mDongCd nohs:mFloor ynReClsfRqst:@"" hndlStatCd:@"B" myandquery:@"and yn_re_rcpt='Y' and yn_svr_trsm='N'"]; //20200223
// if(self.isFilterEnabled) [self keepFilter]; //20200223
// [self onFlag:@"onFlag button has been clicked in DCH_BSVrChkList.m"];
// Configure the cell...
// cell바탕색 지정
//[cell.contentView setBackgroundColor:[GlobalVar pastelCellColor]];
/*
// 성명
UILabel *name = [[UILabel alloc] initWithFrame:CGRectMake(50, 2, 70, 40)];
name.textAlignment = UITextAlignmentLeft;
name.backgroundColor = [UIColor clearColor];
name.font = [UIFont systemFontOfSize:14];
[name setTag:1];
[cell.contentView addSubview:name];
[name release];
// 소속
UILabel *dept = [[UILabel alloc] initWithFrame:CGRectMake(120, 2, 90, 40)];
dept.textAlignment = UITextAlignmentLeft;
dept.backgroundColor = [UIColor clearColor];
dept.font = [UIFont systemFontOfSize:14];
dept.textColor = [GlobalVar pastelSilverColor];
[dept setAdjustsFontSizeToFitWidth:YES];
[dept setTag:2];
[cell.contentView addSubview:dept];
[dept release];
// 휴대전화
UILabel *hp = [[UILabel alloc] initWithFrame:CGRectMake(210, 2, 105, 40)];
hp.textAlignment = UITextAlignmentLeft;
hp.backgroundColor = [UIColor clearColor];
hp.font = [UIFont systemFontOfSize:13];
[hp setTag:3];
[cell.contentView addSubview:hp];
[hp release];
*/
//20200223
// [db inspectionSelectDfct:mListMutableArray withDongCd:mDongCd nohs:mFloor ynReClsfRqst:@"Y" mode:@"" hndlStatCd:@"B"]; //20200223
// [db inspectionSelectDfct:mListMutableArray withDongCd:mDongCd nohs:mFloor ynReClsfRqst:@"" mode:@"" hndlStatCd:@"E"];
// [db selectDfctreq1:mListMutableArray withDongCd:mDongCd nohs:mFloor ynReClsfRqst:@"" mode:@"" hndlStatCd:@"X"];
// [mList removeAllObjects];
// NSString *dongCd = [dic valueForKey:@"cd_dong"];
// NSString *dongNm = [dic valueForKey:@"nm_dong"];
// NSString *florCd = [dic valueForKey:@"cd_flor"];
// NSString *florNm = [dic valueForKey:@"nm_flor"];
// // NSString *locClsfCd = [dic valueForKey:@"cd_loc_clsf"];
// NSString *nohs = [dic valueForKey:@"nohs"];
// NSString *ho = [dic valueForKey:@"ho"];
// // NSString *tppgCd = [dic valueForKey:@"cd_tppg"];
//
// // 동층호정보
// if (YES == [nohs isEqualToString:@""]) {
// [mLblHosh setText:[NSString stringWithFormat:@"→%@→%@→%@호", dongNm, florNm, ho]];
//
// if (NO == [florCd isEqualToString:@""]) {
// nohs = florCd;
// }
// }
// else {
// [mLblHosh setText:[NSString stringWithFormat:@"→%@→%@호", dongNm, nohs]];
// }
//
// NSString *yn = @"";
// if (YES == [mFlag isSelected]) yn = @"Y";
//
// mDongCd = dongCd;
// mNohs = nohs;
//
// // 동층호 정보를 가져왔으면
// // 조건에 맞는 하자들을 조회한다.
// // [db selectDfct:mList withDongCd:dongCd nohs:nohs ynReClsfRqst:yn mode:@"" hndlStatCd:@""];
//
//
// for(int i=0; i<[mListFlor count]; i++) {
//
// // mNohs = [[mListFlor objectAtIndex:i] cd_flor];
// mNohs = [mListFlor objectAtIndex:i];
//
// NSString *stat = @"";
// BOOL select = [mFlag isSelected];
// if (YES == select) stat = @"E";
// else stat = @"";
//
// if(stat == @"") {
// [db vrfchklistselectDfct:mList withDongCd:mDongCd nohs:mNohs ynReClsfRqst:@"" mode:@"" hndlStatCd:@"E"];
// [db vrfchklistselectDfctreq1:mList withDongCd:mDongCd nohs:mNohs ynReClsfRqst:@"" mode:@"" hndlStatCd:@"X"];
// NSLog(@"It's a good day to die");
// } else {
// [db vrfchklistselectDfct:mList withDongCd:mDongCd nohs:mNohs ynReClsfRqst:@"" mode:@"" hndlStatCd:@"E"];
// // [db selectDfct:mList withDongCd:mDongCd nohs:mNohs ynReClsfRqst:@"" mode:@"" hndlStatCd:stat];
// NSLog(@"My life for Aiur!");
// }
//
// }
//
// // 하자 상태별 건수
// [self setDfctCount];
//
// [mTableView reloadData];
//
// [mChkAll setSelected:NO];
// NSRunLoop * theRunLoop = [NSRunLoop currentRunLoop];
// [theRunLoop addTimer:timer forMode:NSDefaultRunLoopMode];
// NSString *urlAsString = [NSString stringWithFormat:@"mbassbim://""nmsite"":""%@""", @"송도현장"];
// NSRunLoop * theRunLoop = [NSRunLoop currentRunLoop];
// [theRunLoop addTimer:timer forMode:NSDefaultRunLoopMode];
// NSString *urlAsString = [NSString stringWithFormat:@"mbassbim://""nmsite"":""%@""", @"송도현장"];
// NSString *path = @"https://DownloadServer.co.kr/ProcFiledown.action?method=&id=C1900017&ver=1.0.1&platform=Android&deviceid=357145071353025&line1number=&nm_phys_file=201911250945216233186.200369983586.png&pth_file=/app_attach_mobile/dch/web_attach/swfupload/DCH70/060285/2019/11/20191125/15746427085076680.4052662714985/";
105
반응형
반응형
최근댓글