|
|
@@ -72,6 +72,7 @@
|
|
|
//更新时间
|
|
|
NSString *updateDate = [HJAppService compareCurrentTimeDayAndMonth:[NSString stringWithFormat:@"%ld",(long)[HJAppService timeSwitchTimestamp:model.updateDate]]];
|
|
|
self.updateTimelabel.text = [NSString stringWithFormat:@"最后更新于:%@",updateDate];
|
|
|
+
|
|
|
//职位名称
|
|
|
self.nameLabel.text = model.positionName;
|
|
|
_nameLabel.preferredMaxLayoutWidth = SCREEN_WIDTH - 150;
|
|
|
@@ -87,7 +88,7 @@
|
|
|
}
|
|
|
|
|
|
if ([model.positionCategory isEqualToString:@"8"])
|
|
|
- {// 8全职
|
|
|
+ { //8全职
|
|
|
if ([model.recruitNumber integerValue] > 0 )
|
|
|
{
|
|
|
self.timeLabel.text = [NSString stringWithFormat:@"招聘人数:%@",[NSString stringWithFormat:@"%@人 (全职工作)",model.recruitNumber]];
|
|
|
@@ -98,7 +99,8 @@
|
|
|
}
|
|
|
}
|
|
|
else
|
|
|
- {//9兼职
|
|
|
+ { //9兼职
|
|
|
+
|
|
|
if (model.workDate == nil || [model.workDate isEqualToString:@""])
|
|
|
{
|
|
|
self.timeLabel.text = [NSString stringWithFormat:@"工作时间:%@",@"(兼职工作)"];
|
|
|
@@ -150,9 +152,7 @@
|
|
|
//是否结束 0下架 1未下架
|
|
|
if ([model.isOn boolValue])
|
|
|
{//未下架
|
|
|
-
|
|
|
self.editBtn.selected = YES;
|
|
|
- //时间是否结束
|
|
|
if ([self isTimeEnd:model.endDate])
|
|
|
{//时间结束
|
|
|
if ([model.isPause boolValue])
|
|
|
@@ -188,7 +188,6 @@
|
|
|
}
|
|
|
else
|
|
|
{//下架
|
|
|
-
|
|
|
//是否暂停 1:暂停
|
|
|
if ([model.isPause boolValue])
|
|
|
{
|