@ -889,7 +889,7 @@ public class DcWarningServiceImpl implements IDcWarningService
@Override
public Integer insertDispatch(DcDispatch dcDispatch) {
if (dcDispatch.getId()==null){ //id为空说明新增
return dcWarningMapper.insertDcDispatch(dcDispatch);
return null;
}
return dcWarningMapper.updateDcDispatch(dcDispatch);