Browse Source

事件状态已被修改 状态判断

develop
王兴琳 6 months ago
parent
commit
4577c59bda
  1. 6
      zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java

6
zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java

@ -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) {

Loading…
Cancel
Save