|
@ -1188,12 +1188,12 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
if (dcEvent1 == null) { |
|
|
if (dcEvent1 == null) { |
|
|
return 1; |
|
|
return 1; |
|
|
} |
|
|
} |
|
|
/* |
|
|
|
|
|
//事件状态已被修改 返回成功
|
|
|
//事件状态已被修改 返回成功
|
|
|
if (dcEvent1.getEventState() == state) { |
|
|
if (dcEvent1.getEventState() == 1) { |
|
|
return 1; |
|
|
return 1; |
|
|
} |
|
|
} |
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
int i = dcEventMapper.updateDcEventState(id, state); |
|
|
int i = dcEventMapper.updateDcEventState(id, state); |
|
|
if (i > 0) { |
|
|
if (i > 0) { |
|
|